Online GIF optimizer and compressor

Upload image



Supported image types: GIF, JPG, PNG
Max file size: 200MB

All uploaded files are automatically deleted 1 hour after upload.
For permanent links you can use: https://ezgif.com/optimize?url=https://example.com/source-image.gif

Optimized image:

Lossy GIF compression

GIF compressor optimizes GIFs using Gifsicle and Lossy GIF encoder, which implements lossy LZW compression. It can reduce the animated GIF file size by 30%—50% at the cost of some dithering/noise. You can adjust the compression level with a simple slider to get the best result for your use case. This is the default method and should provide significant size reduction on most GIFs.

Color Reduction

This tool shrinks the GIF file size by reducing the number of colors in each frame. Each GIF frame can use up to 256 unique colors, and by reducing this number, you can achieve a smaller file size. It makes multiple variations of your input image, and you can choose the one with the best size/quality ratio for your needs.

Remove every nth frame

The frame drop option can remove every second, third, or fourth frame to reduce frame rate and, therefore, file size. Useful for long gifs with a high frame rate.

Another option is to remove only duplicate frames. This method will search for identical or very similar consecutive frames, remove them and merge their display duration. This will not do anything for most GIFs but can be useful in some special cases.

Optimize Transparency

This feature preserves the initial frame as the background while rendering unchanged elements in subsequent frames as transparent. The results heavily depend on the nature of the image. It may give huge file size reduction in some cases when images have large, static areas - for instance, a screen recording of a program, where solely the cursor is in motion, could benefit significantly. It will give poor results for converted videos or photo slide shows, where most pixels between each frame are significantly different. The fuzz factor allows to treat pixels with very similar colors as equal.

Coalesce (undo frame optimizations)

Coalesce reverses any frame optimizations and converts the image into a full image for every frame, essentially creating a film strip animation. This is the simplest form of an animated GIF and typically results in larger file sizes. However, it guarantees compatibility with software that may not fully or correctly implement the GIF specification. This can be useful if you encounter issues where certain programs produce incorrect output when displaying or editing a GIF that works elsewhere.


If you can't compress the file to the size you require with these methods, consider resizing or cropping it to smaller dimensions, or cutting the animation duration.

Read more about GIF optimization »