GIF Compressor

Two-pass palette encoding: drop fps, width or colors to fit chat-app limits

📂

Drag & drop files here

or browse files

Compress animated .gif files

About this tool

GIFs are notorious size bombs: a few seconds of animation easily runs past 10 MB and gets rejected by chat apps and forum attachments. The cause is the format itself - a 256-color palette per frame is inherently inefficient, which also means re-encoding has huge headroom. This tool rebuilds your GIF with two-pass palette encoding: first it analyses the whole clip to build an optimal palette, then re-encodes every frame against it.

Three dials control the size: frame rate (10 fps already looks smooth and dropping frames wins the most), width (480 px is usually indistinguishable) and color count (256 → 128/64 is invisible on flat-color animations). Combined sensibly, results land at a third to a tenth of the original.

Compression runs on FFmpeg compiled to WebAssembly inside your browser: your GIF - memes and chat screenshots included - never leaves the device.

Features

  • Two-pass palette encoding for the smallest size at equal quality
  • Frame rate options (original / 12 / 10 / 8 / 5 fps) - the biggest lever
  • Width options (100% / 75% / 50% / 320px / 480px)
  • Color count options (256 / 128 / 64 colors)
  • Fully local processing with before/after size comparison

How to use

  1. Drop the GIF - frames, dimensions and size are read
  2. Pick frame rate, width and colors (the defaults suit chat-app limits)
  3. Click Compress
  4. Compare sizes, check the preview and download

Frequently asked questions

How small can a GIF get?
It depends on content. Flat-color memes and chart animations compress dramatically (often 1/10); video-sourced GIFs with rich gradients typically land at 1/2 to 1/4. For more savings, drop the frame rate to 8-10 fps first, then the width to 480 px, then the color count - in that order for the least visible damage.
Why not compress GIF like JPG with quality tiers?
GIF is a lossless format: each frame is a palette-indexed image, and real compression means changing frame rate, dimensions or colors. If the GIF is only going to be played in a web page or chat, converting to MP4/WebM (video compression) shrinks it by an order of magnitude instead.
Will the animation stutter or band after compression?
Lower frame rates make motion less smooth (visible below 10 fps) and fewer colors can band soft gradients. Use the live preview and tighten settings step by step - frame rate, then width, then colors - accepting each step before moving on.

Related tools