Make GIFs smaller
Upload one or more GIFs (or animated WebPs, or a ZIP of them) and download smaller files with the same animation. The results table shows every file's size before and after.
GIFs are compressed with gifsicle, a long-established open-source GIF optimiser:
- Optimisation (always on): only the pixels that change between frames are stored, and the compressed data is packed as tightly as possible. GIFs saved by simple programs often shrink a lot from this alone, without any change to how they look.
- Lossy compression (0–200): allows small changes to pixels where that makes the data much shorter. 30–80 is hard to notice.
- Fewer colours: 128, 64 or fewer colours for graphics and animations that don't need 256.
- Smaller size: scale the animation down to 90 % … 25 %.
- Fewer frames: drop every 2nd, 3rd or 4th frame. The time of a dropped frame goes to the one before it, so the animation keeps its length and speed.
- Target size: enter a size in KB, and stronger settings are tried in turn (more lossy compression, then fewer colours, then smaller sizes) until the file fits.
Animated WebP
Animated WebP files are re-encoded with libwebp at the quality you choose, with the same frame dropping, scaling and target size options. You can also save a GIF as animated WebP, which is usually much smaller than any GIF and plays in all current browsers.
Never bigger
If a GIF or WebP is already smaller than anything the chosen settings produce (some GIFs are already well optimised, or so heavily dithered that lossy compression doesn't help), the original is kept as it is and you get a note.
Good to know
- Up to 50 files at once, or a ZIP; sub-folders of a ZIP are kept.
- gifsicle runs as a separate program on our server with a time limit.
- For PNG, APNG and JPG files, use the Image Compressor.