GIF Compressor

Make an animated GIF smaller. You see the real size before and after. It all runs in your browser.

Drag & drop a file here, or

GIF Animated or still GIF

Runs in your browser

Advertisement

How it works

The saving is measured, not estimated

The new file is built first, then its real size is compared with the file you uploaded. The report shows both sizes and the percentage. No figure on this page is a guess about what compression might do.

A bigger result gives your original back

Re-encoding whole frames can make an already optimised GIF larger. When the new file is not smaller, the page tells you and the download is your original file.

Same length, same loop

Dropped frames give their delay to the frame kept before them, so the animation plays for the same time. A GIF set to loop forever still loops forever; one that plays once still plays once.

Every frame is rebuilt before it is shrunk

Most GIFs store only the changed part of each frame. The decoder rebuilds each full frame the way a browser shows it, including the clear and restore rules, and only then scales it.

Frequently Asked Questions

How do I compress a GIF without losing the animation?

Upload it, pick a smaller scale, keep every frame or every second one, and set colour levels. Frames you drop hand their time to the frame before them, so the animation runs the same length. The loop setting of your file is copied across.

How much smaller will my GIF get?

It depends on the file, so the page does not promise a number. After encoding it compares the real size of the new file with the one you uploaded and prints both, with the percentage. Halving the scale usually cuts the most, because a GIF stores every pixel of every frame.

Why is the compressed GIF sometimes bigger?

Some GIFs are already packed tightly: they store only the part of each frame that changes. This tool re-encodes whole frames, and that can come out larger. When that happens the page says so and Download gives you your original file back, untouched.

What does dropping frames do?

Keep every 2nd frame roughly halves the frame count. Each dropped frame's delay is added to the frame kept before it, so total playback time stays the same, but motion looks less smooth. The result line shows the frame count and duration before and after.

What are colour levels?

Each colour channel is rounded to fewer steps before encoding. Fewer distinct colours compress better in a GIF, at the cost of banding in smooth gradients. Off keeps the colours as they are; 16 or 8 levels shrink more and show it more.

Is my GIF uploaded anywhere?

No. The GIF is decoded and re-encoded in your browser. Nothing is sent to a server.

Does it keep transparency?

Yes. Fully transparent pixels stay transparent. GIF has no partial transparency, so a pixel is either shown or not, the same as in your original.