GIF Compressor

Make an animated GIF smaller without uploading it — and see exactly how much you saved.

Drop a GIF here or click to choose one · it is compressed by your browser, never uploaded

Nothing is uploaded. The GIF is taken apart and rebuilt by your own browser.

🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.

Drop in an animated GIF that is too big to send, post or attach, choose how hard to squeeze it, and press Compress. The page shows the size before and after and the percentage saved, and plays the result so you can check it still looks right before you download it.

Also on Txtset: build a GIF from pictures · turn a video clip into a GIF.

Four things make a GIF smaller, and you choose which to use. Fewer colours (a GIF can have up to 256; 64 is often indistinguishable). A smaller size — half the width is a quarter of the pixels. Fewer frames, with the time of each dropped frame added to the one before it so the animation plays at the same speed. And the one that costs nothing: after the first frame only the part of the picture that changed is stored. Many GIFs out there store every frame whole, and this alone can shrink them a lot.

If your settings would make the file bigger — it happens with a GIF that was already well optimised — the page says so and the download gives you back your original rather than a worse copy. Transparent GIFs keep their transparency.

Nothing is uploaded: the GIF is taken apart and rebuilt by this page, in your browser. To shrink a PNG, JPEG or WebP instead, use the Image Compressor.

How to use

  1. Drop, choose or paste an animated GIF.
  2. Pick the colours, size and how many frames to keep.
  3. Press Compress and compare the sizes.
  4. Download the smaller GIF.

Examples

A 6 MB screen recording, 256 colours
Often under 2 MB at 64 colours, because the still parts of the screen are stored once.
A 30 fps reaction GIF, every 2nd frame kept
Half the frames at the same playing speed — roughly half the size.
A GIF that is already small
If nothing helps, the page says so and hands back your original.

Frequently asked questions

Is my GIF uploaded?
No. It is decoded, rebuilt and encoded by this page in your browser. Nothing is sent anywhere.
Will it lose quality?
Only as much as you choose. Up to 256 colours at the original size keeps every frame and changes only how the frames are stored. Fewer colours, a smaller size and dropped frames each trade a little quality for size; the preview shows the result before you download it.
Why is the result sometimes bigger?
A GIF that was already optimised carefully can come out larger when rebuilt. When that happens the page tells you and the download is your original file, unchanged.
Does it keep the animation speed?
Yes. When frames are dropped, their time is added to the frame before, so the whole animation takes as long as it did.
Can it compress PNG or JPEG?
Not this page — use the Image Compressor for still pictures.
How big a GIF can it handle?
Up to about 60 million pixels across all frames — for example 480 × 270 at 400 frames. Past that a browser tab runs short of memory, and the page says so instead of freezing.