imgresizer.org

Compress GIF

Reduce animated GIF file size by shrinking the color palette and optionally dropping frames - entirely in your browser.

GIF compression works by reducing the color palette and optionally dropping frames. Fewer colors = smaller file, but may cause color banding on complex images.

Your image is processed locally. Nothing is uploaded.

How to use Compress GIF

  1. 1

    Upload your GIF

    Drop an animated or static GIF onto the tool.

  2. 2

    Set the color palette

    Drag the color slider left to reduce the palette. 64-128 colors works well for most GIFs.

  3. 3

    Optionally drop frames

    Select "Every 2nd frame" to halve the frame count and roughly halve the file size. The GIF plays at half speed.

  4. 4

    Compress and download

    Click "Compress GIF" to re-encode in your browser, then download the smaller file.

Why GIF compression works differently

GIF is a palette-based format: each frame stores up to 256 colors. Standard image compression techniques do not apply. The main levers for reducing GIF file size are the color palette size and the frame count. Reducing the palette from 256 to 64 colors can cut file size by 40-60% for simple animations, because the format's internal compression becomes far more effective when fewer unique colors need to be encoded.

Frame dropping removes alternate frames to reduce the total data encoded. At half-frame rate the animation plays at half speed but the file can be significantly smaller. This is appropriate for looping decorative animations where exact timing is not critical, but less suitable where motion smoothness matters. You can also resize the GIF's dimensions to reduce per-frame pixel data, which compounds the savings from color palette reduction.

When to consider a different format

GIF has fundamental file size limits that color reduction and frame dropping cannot overcome for complex content. A 5-second animation with many colors and fast motion will remain several megabytes regardless of compression settings. For use cases where the platform accepts video, a short MP4 or WebM at the same duration will typically be 90% smaller at higher visual quality. GIF remains the right choice specifically for messaging platforms and contexts where only image formats are accepted.

Frequently Asked Questions

Related Tools