JPG to GIF Converter

A JPG is the everyday photo format and a GIF is a much older one limited to 256 colors. Converting a JPG to GIF gives you a GIF that some forums, chat apps and old software still require, though it is rarely the better file.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How it works
  1. The JPG is decoded in your browser
  2. A palette of up to 256 colors is chosen
  3. The .gif is ready to save

What it does

A GIF is rarely the better file

It makes sense when a site or app insists on GIF. Otherwise the JPG, or a WebP, is smaller and looks better.

Limits The GIF has one frame and no Exif notes.

Why does a photo get bigger as a GIF?

A GIF keeps 256 colors and every pixel, so the photo came out nearly twice the size of its JPG and with visible banding.

Why is the GIF bigger than the JPG?

Our test photo, a camera photo of Stanton Mountain reflected in Lake McDonald, a National Park Service photo in the public domain, was 678.2 KB as a JPG and 1.3 MB as a GIF, about 1.9 times as much. The two formats pack pictures in opposite ways. A JPG rounds off fine detail the eye is unlikely to miss. A GIF keeps every pixel but can only name 256 colors, and it can only shorten runs of identical pixels, which a photo has few of.

So the GIF costs more and looks worse: 2,440,448 of the 2,449,920 pixels moved to a different color, the biggest step being 18 levels on the 0 to 255 scale. Smooth skies and shadows turn into bands.

Making the GIF anyway

Dithering in step 3 trades a bigger file for smoother-looking color.

  1. Pick the JPG with Choose images.

  2. Open Settings: behind the gear on a phone, in the panel next to the tool on a computer.

  3. Set GIF dithering to Floyd-Steinberg to soften the color bands, or lower GIF palette to shrink the file.

  4. Press Convert 1 to GIF.

  5. Press Download to keep the .gif.

What should you use instead?

You only need the photo to open in more places or weigh less.

FluffyBench's JPG to WebP converter

A WebP of a photo is usually lighter than the JPG, and every current browser opens it.

Search FluffyBench