JPG to GIF Converter
CV-122Open a JPG and save it as a GIF. Choose how many colors to keep and whether to dither, and check the result before you download.
Runs in your browser. Nothing is uploaded.
Original
GIF
How to use it
- Press Open image, drop a .jpg or .jpeg file, or paste a photo.
- Choose the number of colors: fewer colors give a smaller file.
- Leave dithering on for photos, or turn it off for flat graphics.
- Compare the GIF with the original and press Download.
How the 256 colors are chosen
A GIF stores a palette of up to 256 colors and one palette number per pixel. To build the palette, the converter counts the photo's colors, then repeatedly splits the busiest group of colors along its widest channel until there are as many groups as you asked for. Each group's average becomes a palette entry. This is median cut, a long-standing method that spends more entries on the colors that cover the most pixels.
Dithering, banding and file size
Skies, skin and shadows contain gentle gradients that a short palette cannot follow, so they break into bands. Dithering hides the bands by mixing neighboring palette colors in a fine pattern, which the eye blends back together. The pattern is harder to compress, so dithered GIFs are larger. With 16 or 32 colors the effect is strong and can look like a stylized print, which some people want on purpose.
Questions people ask
Why does my photo look grainy as a GIF?
GIF allows at most 256 colors, and dithering mixes them in a fine pattern to imitate the missing shades. Turn dithering off for smooth bands instead, or keep the photo as JPG.
Will the GIF be smaller than the JPG?
Often not. JPG is designed for photos, and a 256-color GIF of a photo is usually larger. Fewer colors and no dithering make the GIF smaller.
Can I make an animated GIF here?
No. This page converts one JPG into one still GIF frame. It does not combine several images into an animation, and it does not set frame delays or looping.
How many colors should I choose?
256 keeps the most detail. 64 or 32 still works for many photos with dithering on. 16 suits a poster-like look or very small files.
Does the GIF keep EXIF data?
No. Camera details, location and color profiles are not copied into the GIF. Only the pixels are converted, which also keeps GPS data out of images you share online.
About this tool
A photo has many thousands of colors and GIF allows at most 256, so the picture is reduced to a palette chosen by median cut. Dithering scatters nearby palette colors so gradients such as skies show less banding, at the cost of some grain and a larger file. Fewer colors give a smaller file. The result is a still, single-frame GIF; this tool does not make animations. Camera details and color profiles are not copied.