Online GIF optimizer and compressor

Upload image



Supported image types: GIF
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

Lossy GIF Compression

The GIF compressor optimizes GIFs using Gifsicle and the Lossy GIF encoder, which implements lossy LZW compression. It can reduce the file size of animated GIFs by 30%–50% at the cost of some dithering and noise. You can adjust the compression level using a simple slider to achieve the best result for your needs.

This is the default method and should provide significant size reduction for most GIFs. It works especially well with converted videos and photo slideshows containing many colors, textures, and gradients. For simple images with hard edges and large areas of solid color, the "Optimize Transparency" method may yield better results.

Color Reduction

This tool reduces GIF file size by decreasing 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. The tool generates multiple variations of your input image, allowing you to choose the one with the best size-to-quality ratio for your needs.

Remove Every nth Frame

The frame drop option removes every second, third, or fourth frame to reduce the frame rate and, consequently, the file size. This is useful for long GIFs with high frame rates.

Another option is to remove only duplicate frames. This method searches for identical or very similar consecutive frames, removes them, and merges their display duration. While this may not affect most GIFs, it can be useful in specific cases.

Optimize Transparency

This feature preserves the initial frame as the background while rendering unchanged elements in subsequent frames as transparent. The results depend heavily on the nature of the image. In some cases, it can lead to a significant reduction in file size—particularly for images with large static areas, such as screen recordings where only the cursor moves. However, it is less effective for converted videos or photo slideshows, where most pixels change significantly between frames. The fuzz factor allows pixels with very similar colors to be treated as identical.

Coalesce (Undo Frame Optimizations)

Coalescing reverses any frame optimizations, converting each frame into a full image—essentially creating a film strip animation. This is the simplest form of an animated GIF and typically results in larger file sizes. However, it ensures compatibility with software that may not fully or correctly support GIF optimizations. This can be useful if certain programs produce incorrect output when displaying or editing a GIF that functions correctly elsewhere.


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

Read more about GIF optimization »