Online GIF optimizer

Select image



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

For permanent links you can use: https://ezgif.com/optimize?url=http://example.com/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 animated GIF file size by 30%—50% at a cost of some dithering/noise. You can adjust compression level with a simple slider to get the best result for your use case.
This is the default method and should work for any GIF.

Color Reduction

This tool shrinks 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 that has 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 option keeps the first frame in the background, and makes unchanged parts of the following frames transparent.
The results heavily depends on the nature of the image. It may give huge file size reduction in some cases when images have large, static areas, e.g. recorded screen capture of some program, but most likely will give poor results for converted videos or photo slide shows, where almost all pixels in every frame are completely different. The fuzz factor represents how similar colors can be considered as equal.


If you can't achieve the file size you require with these methods, consider resizing the image to smaller dimensions or cutting the duration of animation.

Read more about GIF optimization »