GIF Compressor

Compress GIF files

Click or drop a GIF file hereChoose a GIF file

About GIF Compressor

GIF Compressor makes an animated GIF lighter with gifsicle, compiled to WebAssembly and run on this page. Three settings combine: the quality slider sets the lossy level of gifsicle, Colors reduces the palette, and Size scales every frame down. The animation, its frames, and its timing are kept. The result shows the size before and after; when it is not smaller, the page says so and suggests keeping your original. Only GIF files are accepted: for PNG, JPG, or WebP pictures, use Compress Image.

How to compress a GIF

  1. 1Choose the .gif to shrink; it plays above the settings.
  2. 2Move the "Quality" slider: 100 keeps only the lossless optimization of gifsicle, lower values allow more lossy compression.
  3. 3If needed, pick fewer "Colors" (128 down to 16) or a smaller "Size".
  4. 4Click "Compress" and compare "Before" and "After".
  5. 5Click "Download" to save compressed.gif.

Formats and limits

Input
GIF only (.gif)
Output
GIF, saved as compressed.gif
Quality
A slider from 10 to 100: at 100, lossless optimization only; at 10, the strongest lossy level
Colors
Keep (up to 256), 128, 64, 32, or 16
Size
Keep, 75%, 50%, 33%, or 25% of the width and height
Largest image
Up to 100 MP (width × height of the GIF)

Where your file is processed

gifsicle runs as WebAssembly inside this page: the GIF is read from your device and the compressed copy stays in this page until you download it; nothing is uploaded. The gifsicle code is part of the site's own files. If something fails, the report sent to our error log holds the cleaned message, the tool name, and your browser and its version, not the GIF.

Frequently asked questions

Will my GIF stay animated?

Yes. gifsicle rewrites every frame with its delay; only the pixel data is optimized, simplified by the lossy setting, reduced in colors, or scaled. The preview under the button plays the compressed version before you download it.

Is lowering the quality the only way to shrink a GIF?

No. "Colors" keeps 128, 64, 32, or 16 colors instead of up to 256, and "Size" scales every frame down. Flat graphics often look the same with far fewer colors. You can combine all three settings and compress again.

Can the result be larger than my GIF?

Yes, for a GIF that is already well optimized. The page then shows "Larger by" with a percentage and says so, so you can keep your original or lower the quality and try again.

Will a low quality setting show noise?

Yes, at low values: the lossy mode of gifsicle changes pixels so the data compresses better, which can look like speckles, mostly on flat color areas. Raise "Quality" and compress again if you see it.

Is there a size limit?

Yes: the picture of the GIF may be up to 100 MP, read from its header before compression starts. The file size has no fixed limit; a large GIF needs more memory and time on your device.

Tips and tricks

  • ✓The first compression on the page loads gifsicle, so it takes longer than the next ones.