GIF Optimizer

Shrink Your Animated GIF

Upload a GIF, tune the size and quality settings, and download a smaller file — all inside your browser.

Click or drag a GIF here

GIF — up to 50MB

Upload a GIF to see optimization options.

Share

About the GIF Optimizer

The GIF Optimizer shrinks animated GIF file sizes right in your browser using ffmpeg's two-pass palette encoder. Adjust the output width, frame rate, and color count, then compare the original and optimized files side by side before downloading. Because everything runs client-side, your GIF is never uploaded to a server.

Features:

  • Adjustable width, frame rate, and color count
  • Two-pass palette generation for cleaner colors
  • Side-by-side before/after preview and file size comparison
  • Privacy-first — everything happens on your device

How to optimize a GIF

  1. Upload a GIF up to 50MB
  2. Choose an output width, frame rate, and color count
  3. Adjust the compression level if you need a smaller file
  4. Click Optimize GIF, then compare and download the result

Frequently Asked Questions

How much smaller will my GIF get?

It depends on your original file and the settings you choose. Lowering the width, frame rate, and color count all reduce file size, sometimes by 50% or more for GIFs with a lot of color or motion.

Will optimizing reduce the quality of my GIF?

GIF is already a limited-color format, and lowering the color count, frame rate, or size will make those trade-offs more visible. Start with a small reduction and compare the preview before committing to more aggressive settings.

What does the compression level slider do?

It controls how strongly the palette dithering pattern is applied during encoding. Higher levels can shrink the file a bit further but may introduce more visible dot patterns in smooth color areas.

Why did my GIF get bigger instead of smaller?

GIF optimization re-encodes the entire animation with a fresh color palette, and if your original was already small or heavily compressed, that re-encoding can sometimes produce a slightly larger file. We show you the exact size difference so you can decide whether to keep the optimized version or your original.

Are my GIFs uploaded anywhere?

No. Every step — loading, re-encoding, and generating the palette — happens locally in your browser using WebAssembly. Your GIF never leaves your device.

What's the biggest lever on GIF file size?

Frame count and pixel dimensions matter most. A GIF with fewer frames (lower frame rate or a shorter clip) and a smaller width will almost always end up much smaller than reducing colors alone, since every frame stores its own pixel data.

Your privacy

All processing happens locally in your browser. Your GIF is never uploaded to any server.

Standards & References

Last updated: 2026-07-24