GIF Compressor

🖼️

Upload a GIF

Drag and drop or click to select a GIF file. Everything runs in your browser — nothing is uploaded.

  1. Upload a GIF file (drag and drop works).
  2. Pick a preset, or set the width, frame rate and color count yourself.
  3. Click "Compress GIF" and wait for it to finish.
  4. Compare the size before and after, then download.

GIF, MP4 or WebM?

Large files are a limitation of the GIF format itself. If the target platform supports video, switching format usually beats compressing a GIF.

GIFChat reactions, forums, documentation

Best compatibility, previews anywhere, but large and limited to 256 colors.

MP4Social posts, video platforms, large web clips

Small, high quality, supports audio, plays almost everywhere.

WebMEmbedding in web pages

Open format, even smaller than MP4 at the same quality, supported by modern browsers.

Help

FAQ

Why are GIFs so large?Show
GIF stores at most 256 colors per frame and has no inter-frame compression. For the same clip, a GIF is often several times larger than an MP4 of similar quality.
Does compression reduce quality?Show
Yes. There are only three levers — resolution, frame rate and color count. A big size drop always costs some quality. The preview shows the compressed result, so switch to a gentler preset if it looks blurry.
Is my file uploaded?Show
No. Compression runs locally in your browser with WebAssembly. The file never leaves your device.
How many colors should I use?Show
128 is enough for most content. Cartoons and screen recordings with lots of flat color can go to 64 or lower. Photos with gradients need 192–256, otherwise banding becomes obvious.
The compressed file is not smaller. Why?Show
That GIF is probably already well optimized. Try a smaller width or fewer colors. If it still does not shrink, the content is a poor fit for GIF — MP4 or WebM would be much smaller.
Can I compress several GIFs at once?Show
One file at a time for now. GIFs are memory heavy and batch processing in a browser tends to exhaust memory, so single files are the safer default.

How to compress a GIF

  1. Upload a GIF file (drag and drop works).
  2. Pick a preset, or set the width, frame rate and color count yourself.
  3. Click "Compress GIF" and wait for it to finish.
  4. Compare the size before and after, then download.

Privacy

Full guide

What is GIF compression?

GIF compression shrinks an animated GIF while keeping it looking as close to the original as practical. GIF is an old format: at most 256 colors per frame and no inter-frame compression, so the same clip is often several times larger than an MP4.

This tool gives you three levers you can combine freely:

  • Resolution (width) — the biggest win, and the most visible.
  • Frame rate — 10–15 FPS is plenty for most motion.
  • Color count — going from 256 to 128 or 64 colors cuts size noticeably, at the cost of banding in gradients.

Choosing a preset

PresetWidthFrame rateColorsGood for
Smallest file50% of originalup to 10 FPS64Chat reactions, forum posts
Balanced75% of originalup to 15 FPS128Most situations
Best qualityOriginalOriginal256Demos, fine detail

Presets are just a starting point — keep adjusting after you see the result.

Reference settings

  • Chat / reactions: 240–320px wide, 10 FPS, 64–128 colors.
  • Web pages and articles: around 480px, 12–15 FPS, 128 colors.
  • Slides and documents: 480–640px, 10 FPS, 128 colors.

Getting the best result

  1. Lower the width first. Halving the width quarters the pixel count, which is where most of the savings come from.
  2. Then lower the frame rate. Below 10 FPS motion starts to look choppy.
  3. Adjust colors last. If banding appears, add colors back.
  4. Dithering: Bayer produces smaller files; Floyd-Steinberg smooths gradients at a slightly larger size.

Before and after

Once compression finishes, the page shows the original and compressed sizes plus the percentage saved. If it reports no savings, the GIF is already well optimized — try a smaller width or fewer colors.

Do I need to convert first?

  • Video files (MP4, MOV, MKV) need to become a GIF first — use the Video to GIF tool.
  • If the platform supports video, converting the GIF to MP4 or WebM usually beats compressing it.