Compress GIF
Compress GIF animations by shrinking their palette — frames, timing, looping and transparency all preserved.
Last updated
Frames, timing, looping and transparency are preserved — only the palette shrinks.
How to use compress gif
- Pick the palette size per frame — 128 colors suits most GIFs; drop to 64 for maximum savings on flat art. Up to 20 files per batch, each up to 25 MB.
- Click Choose file or drag .gif animations onto the dashed area.
- Each GIF is decoded, re-paletted and re-encoded, then listed with its before → after size; a single GIF also plays in the preview so you can check the animation.
- Tap Download GIF (or per-file buttons in a batch), or Prepare ZIP then Download ZIP for the set. GIFs that cannot shrink are returned unchanged.
Examples
Fit a GIF under Discord or Slack limits
Chat platforms cap uploads — often at 8 or 10 MB. A 128-color re-encode usually brings a heavy clip under the line while the joke still lands.
Lighten GIFs in an email campaign
Every megabyte in a newsletter costs opens on slow connections. Compress the whole animation set in one batch before the send.
Shrink screen-recording GIFs for docs
Recordings of interfaces use few colors per frame, so a 64-color palette often halves their size with text still perfectly readable.
What is Compress GIF?
A GIF is a flipbook: dozens of frames, each carrying its own color palette of up to 256 entries. That palette is where the weight hides. A reaction clip exported at full color stores far more hues per frame than the motion actually needs, and since every frame repeats the cost, trimming the palette shrinks the whole animation at once. This GIF compressor decodes your animation frame by frame, rebuilds each palette with a color-clustering algorithm, and re-encodes the result — while frame count, per-frame timing, the loop setting and transparency are carried over exactly.
You choose the palette size per frame. The default of 128 colors is the balance point where most animated GIFs lose a third to half their weight with no visible change; 256 is the conservative choice for gradients and footage; 64 squeezes hardest and suits flat cartoons, stickers and screen recordings where banding is invisible. Frames are fully composited before re-encoding, so even GIFs that use tricky frame-difference storage come out correct.
The before and after sizes are shown for every file, and the promise is the same as every compressor on this site: if the re-encode cannot beat your original — tiny stickers are sometimes already optimal — you get the original back, never a bigger file. Batches of up to 20 GIFs process one at a time (kind to phone memory) and can be pulled down as one ZIP. Everything runs in the browser tab; nothing is uploaded, so unreleased marketing animations and private clips stay on your machine.
Frequently asked questions
How do I compress a GIF without losing quality?
Stay at 256 or 128 colors — at those levels the rebuilt palette captures essentially everything visible in the original frames, and the savings come from removing unused color entries, not from blurring. Timing, frame count and looping are copied across exactly, so the animation plays identically.
Why is my GIF so large?
GIF stores every frame as a full palette image with 1980s-era compression, so file size grows with frame count, dimensions and color richness. A ten-second clip at 256 colors per frame adds up fast — palette reduction attacks the biggest of those levers without touching the animation.
Will the animation speed or looping change?
No. Each frame’s delay is preserved to the centisecond, and the loop setting (including “loop forever”) is written into the new file. What you see in the preview is exactly what you download.
Does transparency survive?
Yes. Transparent pixels are carried through compositing and re-encoding, so stickers and overlays keep their see-through backgrounds. Frames that use partial transparency to update only part of the canvas are composited first, which keeps the output correct.
What if my GIF cannot get smaller?
Some GIFs — already quantized stickers, very short loops — have nothing left to give. When the re-encoded version is not smaller, the tool returns your original file and says so, rather than padding it.
Are my GIFs uploaded to a server?
Never. The decoder and encoder are libraries bundled into this page and run entirely in your browser tab. You can go offline after loading and keep compressing.
Related tools
- Image Compressor
Compress JPEG, PNG, WebP or AVIF images locally — single files or batches, with before/after sizes shown.
- Meme Generator
Make memes from original templates or your own image with classic top and bottom text, then download a PNG.
- Compress Image to KB
Compress a JPEG, PNG or WebP image to an exact KB target — locally, with nothing uploaded.
- Compress JPEG
Compress JPEG photos locally with a quality slider and optional resizing — before/after sizes always shown.
- Compress PDF
Shrink PDF files locally with Ghostscript — pick a quality preset or aim for a target size, no upload.
- Compress PNG
Compress PNG files locally with palette quantization — transparency preserved, before/after sizes shown.
Browse all compression.