Compress GIF
File never leaves this browserDrop an animated GIF and download a smaller one. You can reduce the number of colours, scale it down, or keep every second or third frame. The animation, the loop and transparent pixels stay in the file. The work runs in this tab, so the GIF is never uploaded.
How to use it
- Drop one or more .gif files, or try the sample.
- Pick how many colours to keep, a smaller size if you want one, and whether to keep every frame.
- Press Compress, compare the two previews, then download the new GIF or a ZIP of several.
Details
- Colours
- 256 is the GIF maximum. 128, 64 or 32 usually makes a much smaller file, with more banding on photos
- Size and frames
- 50% halves both sides. Dropping every 2nd or 3rd frame adds those delays to the frames you keep, so the timing stays close
- What is kept
- The loop count and transparent pixels are preserved. Disposal is rewritten as full frames
- Limits
- Each file can be up to 50 MB, 3,000 frames, or 16 megapixels, the same cap as the other GIF tools on this site
Questions
Are my files uploaded?
No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.
Does it keep the animation?
Yes. By default every frame is kept and the delays stay the same. If you choose every 2nd or 3rd frame, the delays of the skipped frames are added to the frames you keep, so the clip is not sped up.
How is this different from Compress image?
Compress image is for still photos (JPG, PNG, WebP, AVIF, HEIC). It does not write an animated GIF. This page re-encodes the animation itself, in this tab.
Should I use GIF to MP4 or GIF to PNG instead?
Use GIF to MP4 when you want a video that is usually much smaller than any GIF. Use GIF to PNG when you want the frames as still images. This page stays a GIF, just a smaller one.
Why is the new file sometimes larger?
A GIF that is already tight (few colours, small frames) can grow slightly when it is written again. Try fewer colours or a smaller size. The page will say when the result is not smaller.
Can I compress several GIFs at once?
Yes. Drop more than one; they share the same settings, and you can download them as a ZIP.