GIF Compressor

Make an animated GIF smaller for chat, email, docs or a website: pick a compression level, optionally shrink it or drop frames, and download the lighter GIF.

🔒 Private: runs in your browser, no upload

How to compress a GIF

  1. Choose the compression level: Light keeps 256 colours, Medium (recommended) 128 and Strong 64. Optionally lower the size or keep only every 2nd or 3rd frame.
  2. Choose or drop your GIF. It is compressed on your device straight away.
  3. Compare the before and after size, download the result, or change the settings and press Compress GIF again.

How the GIF compressor works

Your GIF is decoded frame by frame with the open-source omggif library and rebuilt in your browser. Three things make it smaller:

The loop setting and frame timing are kept. GIFs with transparent areas keep their transparency; for those, every frame is stored in full, so savings come mainly from the palette, size and frame settings.

How much does resizing save?

The data in a GIF grows with the number of pixels in each frame. For a 480×270 GIF:

Size settingFrame sizePixels per framePixels vs original
100 %480×270129,600100 %
75 %360×20272,72056 %
50 %240×13532,40025 %

Scaling to 50 % keeps a quarter of the pixels, so the file usually shrinks far more than with any colour setting. If you need a much smaller file, try size first, then frames, then a stronger level.

When a GIF won't get smaller

Some GIFs are already optimised by the tool that made them (for example with frame-difference encoding and small palettes). Then re-compressing at Light may not help, and the tool tells you when the result isn't smaller. For short clips you want to share on the web, a video is often 5–10× lighter than any GIF: try GIF to MP4. To make a GIF from a clip, use Video to GIF.

Frequently asked questions

Is my GIF uploaded to a server?

No. Decoding, colour reduction and encoding all happen in your browser, so the GIF never leaves your device.

Does compressing a GIF lower its quality?

Light keeps up to 256 colours per frame and only redraws changed pixels, so it usually looks the same. Medium and Strong use fewer colours and ignore tiny changes, which can add slight banding or grain. Resizing and dropping frames are visible but save the most.

Will the animation keep its speed and loop?

Yes. Frame delays and the loop count are copied. When you drop frames, their time is added to the frames that remain, so the total length stays the same.

Why is my compressed GIF not smaller?

The original was probably already optimised. Try the Strong level, a smaller size or keeping every 2nd frame. For the biggest savings, convert it to an MP4 video.

Does it keep transparent backgrounds?

Yes. Transparent pixels stay transparent. GIF transparency is on or off per pixel, so soft semi-transparent edges become either fully visible or fully clear, as in any GIF.

Related converters

See all video & audio converters →