Compress GIF files

Make an animated GIF smaller while it keeps moving. Use fewer colours, fewer frames or smaller dimensions, or combine all three.

or drop an image hereYou can also paste with Ctrl+V or ⌘V. GIF files, animated or still.

Fewer colours make a smaller file but can show banding.

Dropped frames add their time to the frame before, so the loop lasts as long as before.

Your result will appear here. Nothing is uploaded: the file stays on your device.

How to compress a GIF

  1. Choose or drop a GIF. Its frame count and loop length appear under the options.
  2. Pick Colours per frame. It starts at 128 colours.
  3. For bigger savings, set Frames to keep every 2nd or 3rd frame, or set Size to 75% or 50%.
  4. Press Compress GIF. Watch the preview play, check the new size, then download.

What each setting does

Colours per frame
256, 128, 64, 32 or 16. Each frame gets its own palette of up to this many colours. Fewer colours shrink the file but can band smooth gradients.
Frames
Keep every frame, Keep every 2nd frame or Keep every 3rd frame. The display time of a dropped frame is added to the kept frame before it, so one loop lasts as long as before. Motion looks less smooth.
Size
Keep dimensions, or 75% or 50% of width and height. Half the width and height leaves a quarter of the pixels in every frame.

How the GIF compressor works

The tool decodes every frame into a full picture, applies your settings, and builds a new GIF from the results. Frame timing and the loop setting of the original are carried over. A GIF holds up to 256 colours per frame, so the colour setting decides how far below that ceiling to go.

Some GIFs are packed tightly already, storing only the part of each frame that changes. This tool writes every frame in full, so the new file can come out larger; you then get your original back with a note.

Limits

  • If your settings would not make the GIF smaller, the original is kept.
  • Pixels that are partly see-through become either fully clear or fully solid.
  • Dropping frames makes motion jerkier, even though the loop length stays the same.
  • Every frame is held as a full picture while the tool works, so long or large GIFs need a lot of memory.

Questions

Does the GIF keep its animation after compressing?

Yes. Every frame is processed and the loop setting is copied. Only frames you choose to drop are removed.

Why is my GIF unchanged after compressing?

The new file would have been bigger than the original, so the tool kept yours. Try 64 colours or fewer, or a smaller size.

Which setting makes the biggest difference?

That depends on the GIF. Scaling to 50% cuts each frame to a quarter of its pixels. Fewer colours help most with photo-like clips; dropping frames helps long animations. Change one setting at a time.

Can I compress a GIF to a set size in KB?

Not here: you choose the settings and see the size that results. The KB target compressor accepts GIFs but saves only one still frame.

Is the GIF uploaded?

No. Decoding and encoding both happen in your browser.