Skip to content

Compress GIF

Make an animated GIF smaller with lossy compression, fewer colours, fewer frames or a smaller size, or to fit 10 MB or 256 KB. Nothing is uploaded.

  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

or drop it here. Animated or still GIFs up to 100 MB. Nothing is uploaded.

How it works

Choose an animated GIF and this GIF compressor reduces its size in your browser: nothing is uploaded, so it works for private clips and on slow connections. Each frame is drawn the way a browser shows it, then written again into a new GIF that stores only the part of each frame that changed. A GIF made by another app often gets a little smaller from that alone.

Lossy compression saves more: a GIF is compressed by finding runs of pixels it has seen before, and where a pixel's colour is very close to one that would continue such a run, it takes that colour. Pixels that barely change between frames are left as they were. Fewer colours, a smaller size (to resize a GIF, pick its new width and height) or dropping every other frame reduce the GIF size further, and a size limit, like 10 MB for Discord, makes it smaller in pixels until it fits. If the result isn't smaller than your GIF, the page says so and offers nothing to download.

To make a GIF from pictures instead, use the GIF maker, or turn a clip of a video into one with video to GIF. For a still photo, a JPG is usually far smaller: use compress image to size.

Questions

How do I compress a GIF?

Choose the GIF or drop it on the page. It is compressed straight away on your device with medium lossy compression, and the new size shows beside it with how much was saved. Change the colours, size or frames to make it smaller still, then download it. There is no watermark and no sign-up.

How do I make a GIF small enough for Discord?

Under Size limit, choose Under 10 MB for a message without Nitro, or Under 256 KB for a custom emoji. If the GIF is still bigger with your settings, it is made smaller in pixels until it fits. Fewer frames or colours let it stay bigger in pixels.

Does compressing a GIF make it look worse?

With lossy compression off, every frame keeps exactly its pixels (unless the GIF has more than 255 colours in all) and only the way it is stored changes. Light merges only colours that are very close, which is hard to see; medium can show faint grain up close; strong saves the most but shows grain. The preview is the compressed file itself, so you see it before you download.

Does it keep the animation, speed and transparent background?

Yes. Every frame shows for as long as before, the GIF loops as many times as it did, and see-through pixels stay see-through. If you keep only every second frame, each kept frame shows twice as long, so the GIF runs at the same speed, less smoothly.

Limits

Opens GIFs up to 100 MB and 400 million pixels in all frames together (for example 1,000 frames of 640 × 480), so a phone doesn't run out of memory. One GIF at a time.

The new GIF has one table of at most 255 colours for all frames, plus one see-through colour. A GIF whose frames each had their own colours, more than 255 together, gets the closest ones; there is no dithering, which would make the file bigger. Partly see-through pixels are either fully clear or solid, as in any GIF. Comments and other text stored in the file are not kept.

Privacy

This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.

Related tools