PDF & Media
Runs 100% locally in your browserGIF Compressor
Shrink animated GIFs with two-pass custom palette generation—control FPS, width, and colors locally.
Drop an animated GIF to compress
Two-pass FFmpeg palettegen/paletteuse optimization runs locally in your browser.
Choose an animated GIF above to tune frame rate, width, and palette colors locally.
Frame rate (FPS)
Max width
Colors
How to compress and optimize animated GIFs locally
Two-pass palettegen and paletteuse optimization
Rather than applying a generic 256-color table, the compressor runs two FFmpeg passes: pass one computes an optimal color palette focused on changing pixels (stats_mode=diff), and pass two applies Bayer dithering for smooth gradients at smaller file sizes.
Tuning FPS, width, and color count for maximum savings
Lowering frame rate to 12 or 10 fps and capping width to 480 px often cuts GIF size in half with minimal visual impact on UI demos. Reducing colors from 256 down to 128 or 64 gives an additional boost on flat illustrations and screen captures.
GIF Compressor frequently asked questions
- Why does GIF compression run in two passes?
- Pass one analyzes every frame to generate a tailored color palette, and pass two encodes frames against that palette—producing cleaner visuals and smaller files than single-pass conversion.
- Should I compress a GIF or convert it to MP4 instead?
- Use GIF Compressor when you must embed an actual .gif (such as email newsletters or GitHub READMEs). For websites and landing pages, try GIF to MP4 for 70–90% smaller payloads.
- Does lowering color count affect transparency or looping?
- Output GIFs preserve your source GIF’s loop setting (play once, finite repeat, or infinite loop) and palette transparency while keeping the color table within your chosen limit.
Related tools
More browser utilities that run locally with zero uploads.
- GIF to MP4 ConverterShrink animated GIFs by 70–90% into browser-ready H.264 MP4 videos without uploading a file.
- Video CompressorReduce MP4, WebM, and MOV file sizes privately on your device with H.264 presets and live progress.
- PNG to PDF ConverterArrange PNG, JPEG, or WebP images into a clean, print-ready PDF without uploading a single pixel.
Instant AI
Launching a site with these assets?
Find a clean domain name and connect AI agents through Instant AI to research availability and launch faster.