Compress a GIF online
Shrink an animated GIF by adjusting width, FPS and color count, directly in your browser.
or click to select it
Shrink an animated GIF by adjusting width, FPS and color count, directly in your browser. You'll see the original size, the final size and the reduction percentage before downloading.
Regenerates the GIF's color palette with fewer colors and, if you choose, lowers the width and frame rate. It never upscales a GIF that's already smaller than the width you picked.
Use cases
- Shrink a GIF so it fits an email or messaging app's size limit.
- Lighten the GIFs on a website so they load faster.
- Save cloud or device storage space.
How it works
- 1
Upload your GIF
You'll see its original size as soon as it loads.
- 2
Adjust width, FPS and colors
Lowering any of the three shrinks the file; color count usually has the biggest impact.
- 3
Download the result
With the original and final size visible for comparison.
Technical details
Uses ffmpeg.wasm with the palettegen and paletteuse filters in two passes: first it builds an optimal palette with the chosen color count (128 out of the usual 256 by default), then re-encodes the GIF using that palette. It's the same two-pass approach this site's video-to-GIF tools use, applied to an existing GIF instead of a video.
Frequently asked questions
Why does reducing colors shrink the file so much?
A standard GIF uses up to 256 colors per frame. Cutting that number (to, say, 64 or 128) directly reduces the bytes needed to describe each pixel — usually a bigger impact on size than lowering width or FPS for most GIFs.
Does it upscale if I pick a width larger than the original?
Never. If your source GIF is 320px wide and you select 640px, the result stays at 320px.