Converting a JPG to GIF, or a PNG to GIF, means re-saving the picture with a palette of at most 256 colors and with transparency that is either fully on or fully off for each pixel. Upload the image to GIF Creator, keep 256 colors (max), click Convert to GIF and download a still, single-frame GIF.
Flat artwork such as logos, icons and simple diagrams usually converts cleanly and often gets smaller. Photos get bigger and can turn grainy or banded, and soft shadows in a PNG disappear or turn solid. Below: what each setting really does, with measured sizes, and when another format is better. To animate several pictures instead, see how to make a GIF from pictures.
How to convert a JPG to GIF with GIF Creator
- Open GIF Creator and drop one JPG, PNG, WebP or TIFF file on the upload area, or click Choose file. The upload area shows the size limit, 30 MiB by default.
- Under Max Width, keep Keep Original or choose 640px, 480px or 320px. Proportions are kept, and smaller images are never enlarged.
- Under Max Colors, keep 256 colors (max) unless the image is flat artwork with only a few colors. The next section explains what the smaller buttons do.
- Click Convert to GIF. The image is uploaded and converted on Zutilium's server.
- Compare the Original and Result sizes, open Preview animation to look at the GIF (it has one frame), then click Download. The GIF is scheduled for deletion from the server after about ten minutes.
Before you use the file, check three things: the size (a GIF of a photo is often larger than the JPG), smooth areas such as sky or skin (look for grain or bands), and the edges of any transparent areas. Phone photos are turned upright using their orientation tag.
What Max Colors does: palettes, dithering and banding
A GIF stores up to 256 colors in a color table, and every pixel is a number that points into that table, as the GIF89a specification defines. A JPG has no such limit, so the converter has to pick the colors that best represent the picture, a step called quantization. Flat artwork with a few dozen colors fits easily. A photo with tens of thousands of shades does not.
Each Max Colors button sets the largest size of that table: 256 colors (max), 128 colors, 64 colors or 32 colors. The GIF uses at most that many colors. A colorful picture uses all or nearly all of them, and an image with fewer colors keeps just the ones it has.
GIF Creator always dithers, and there is no switch for it. Dithering mixes palette colors in fine patterns that blend, at normal viewing distance, into shades the palette lacks. With 256 colors the pattern is hard to see; with 32 colors it shows as speckle. Without dithering, a smooth gradient breaks into visible bands instead. Dithering also costs bytes, especially at 32 colors, because scattered pixels compress worse than even areas.
Worked example: one gradient picture, six settings
The source is a 1200 × 800 JPG (148 KB) of a smooth sunset-style gradient with fine grain, the kind of picture GIF handles worst. Sizes are rounded and use 1 KB = 1,024 bytes, as the result panel does.
| Max Colors | Max Width | Palette in the GIF | GIF size |
|---|---|---|---|
| 256 colors (max) | Keep Original | 256 colors | 388 KB |
| 128 colors | Keep Original | 128 colors | 298 KB |
| 64 colors | Keep Original | 64 colors | 231 KB |
| 32 colors | Keep Original | 32 colors | 160 KB |
| 256 colors (max) | 640px | 256 colors | 109 KB |
| 256 colors (max) | 320px | 256 colors | 28 KB |
Zoomed in, the 256-color GIF is hard to tell from the JPG, but it is 2.6 times the size. The 32-color version is still a little larger than the JPG and shows coarse speckle in rings around the bright area. Reducing the width saves more than reducing colors and keeps the gradient smooth. For comparison, the same picture saved as WebP at WebP Converter's default quality is 77 KB, a fifth of the 256-color GIF.
PNG to GIF: what happens to transparency
PNG stores transparency as an alpha channel with many levels per pixel, which is how soft shadows and smooth edges blend into any background. GIF can only mark one palette entry as transparent, so each pixel is either fully see-through or fully solid.
GIF Creator keeps transparent areas transparent and has no matte or background setting. Each pixel that is at least half opaque (alpha 128 or more out of 255) becomes fully solid in its own color, and anything more transparent disappears. You will notice three effects:
- Shadows and glows lighter than 50% opacity vanish. A badge with a 35% drop shadow lost every shadow pixel.
- Darker shadows turn into hard-edged solid shapes.
- Smooth edges become stair-stepped, and edge pixels that were blended with a shadow show as a thin dark rim.
Flat artwork without shadows survives well. Apart from its shadow, the 800 × 400 badge came through cleanly, with exact fill colors, clean text and a transparent background, at 256 colors (7.5 KB) and at 32 colors (5.3 KB), against 19 KB for the PNG.
Keep a shadow by flattening onto the page color first
If you know the background the GIF will sit on, flatten the PNG onto it before converting:
- Open Image Converter, set Output Format to PNG and Background Color to White or Black, and convert.
- Convert that PNG with GIF Creator at 256 colors (max).
The shadow and the smooth edges are now blended into the background color, so the GIF looks right on that color only. The example badge kept its whole shadow this way and came out at 10.6 KB. Image Converter can also save GIF directly, but its background setting applies only to JPG, PNG and WebP output, so use the two steps. For other background colors, use one of the desktop apps below.
File size, dimensions and limits
Width matters most. A phone-sized picture of 5712 × 4284 pixels (24 megapixels) is accepted, but at Keep Original a test picture of that size became a 10.1 MB GIF, almost three times its 3.5 MB JPG. At 640px, the same picture was 75 KB.
- Formats: JPG, JPEG, PNG, WebP, TIFF and TIF. HEIC, AVIF, SVG and GIF files are not accepted.
- Size: one file per conversion, 30 MiB by default; the upload area shows the current limit.
- Pixels: up to 100 million, for example 10,000 × 10,000. Larger images are refused.
- Pages and frames: only the first page of a multipage TIFF, or the first frame of an animated WebP, is used.
To shrink a GIF you already have, see how to reduce GIF file size.
When GIF is the wrong choice
GIF dates from the late 1980s. Today it makes sense when a website, form or older system accepts only GIF, or for small flat graphics. In most other cases another format does better:
| Your image | Better choice | Why |
|---|---|---|
| Photo for a web page or message | JPG or WebP | Full color at a fraction of the size |
| Logo or icon with soft edges or a shadow | PNG or WebP | Partial transparency keeps edges smooth |
| Screenshot with small text | PNG | Exact pixels, no dithering |
| Flat logo or line drawing | GIF is fine | Few colors compress well |
| Several pictures that should move | Animated GIF or video | GIF Creator makes one frame |
WebP supports both lossy and lossless compression, transparency and animation, according to Google's WebP documentation. For a website, converting images to WebP usually beats both GIF and JPG on size. For movement, use Animated GIF Maker for 2 to 20 pictures, or Video to GIF for a clip.
Other ways to convert a picture to GIF
Desktop apps work offline, and some give you controls GIF Creator lacks.
- GIMP (free): Image > Flatten Image fills transparent areas with the background color, which works as a matte. Image > Mode > Indexed then lets you set Maximum Number of Colors and choose Color dithering, including None for flat art (GIMP manual). Save with File > Export As.
- Preview (Mac): choose File > Export. GIF is not in the default Format list; Apple's guide says to hold Option while clicking the Format pop-up menu to see specialized or older formats.
ImageMagick on the command line does everything in one step. Here -background and -flatten replace transparency with a light gray, +dither turns dithering off and -colors 64 caps the palette at 64 colors (command-line options):
magick logo.png -background "#f4f4f4" -flatten +dither -colors 64 logo.gif
Troubleshooting
Gradients look grainy or banded
Grain is dithering, and bands or blotchy patches mean the palette is too small for the gradient. Both are strongest at 32 colors: choose more colors, or go back to 256 colors (max) and reduce Max Width instead.
The shadow vanished or the edges look jagged
GIF has no partial transparency. Flatten the PNG onto the page color first, as described above, or keep the image as PNG or WebP.
The upload is refused or the conversion fails
Check the format first: convert HEIC photos to JPG (Zutilium's HEIC Converter does this), and SVG or AVIF files to PNG in Image Converter. Then check the size limit shown in the upload area. An image over 100 million pixels fails with "Conversion failed: Input image exceeds pixel limit", so scale it down on your device first.
Frequently asked questions
Can you convert an image to GIF without losing quality?
Not if it is a photo. A GIF holds at most 256 colors, so the colors of a JPG photo are approximated and gradients pick up grain or bands. Flat graphics with few colors can keep them exactly: the solid fills in the badge example were unchanged even at 32 colors.
Can a GIF have a transparent background?
Yes. One palette color can be marked transparent, so a PNG's transparent background stays transparent. There is no partial transparency, though, so each pixel is either fully see-through or fully solid, which is why soft shadows and feathered edges don't survive.
Why is my GIF bigger than the original picture?
JPG compression is built for photos, while GIF's lossless compression works best on areas of repeated pixels, which photos and dithered gradients lack. In the worked example, a 148 KB JPG became a 388 KB GIF at full width. Choose 640px or smaller, or keep photos as JPG or WebP when GIF isn't required.
How do I turn several pictures into one animated GIF?
GIF Creator makes one frame from one image. Animated GIF Maker combines 2 to 20 pictures in the order and timing you choose, and the guide on making a GIF from pictures walks through it.
Does GIF Creator upload my image?
Yes, conversion happens on Zutilium's server. After a successful conversion, the upload is scheduled for deletion after about a minute and the GIF after about ten minutes. Cleanup runs periodically, so removal is not instant. The GIF itself carries no camera metadata such as location.
Should I use GIF or PNG for a logo?
PNG in most cases: it keeps smooth edges and soft shadows on any background and has no 256-color limit. Choose GIF only when a system requires it or the logo is flat with hard edges, and flatten it onto the page color first if it has a shadow.