Skip to content
Toolvity

Compress GIF

Make an animated GIF smaller and keep it moving — with a side-by-side preview of the result before you download.

  • No upload
  • No sign-up
  • No watermark
  • Free

How to compress GIF

  1. Step 1

    Add your GIF

    Drop an animated GIF into the box or tap to choose it. Its size, frame count and length appear straight away.

  2. Step 2

    Pick a level

    Choose Light, Balanced or Strong. Balanced suits most GIFs; open Fine-tune to set colours, lossy strength, dithering or drop frames.

  3. Step 3

    Check the preview

    The compressed GIF plays next to the original with both file sizes, so you can judge quality before saving.

  4. Step 4

    Download

    Press Compress GIF to save the smaller file. If the preview is already built, it downloads instantly.

See it before you save

The new GIF plays beside the original with its size and percentage saved, rebuilt whenever you change a setting.

Only changes are stored

Pixels that stay the same between frames become transparent, so still backgrounds cost almost nothing.

Speed stays the same

When you drop frames, their display time moves to the frames that remain, so the animation runs at its original pace.

How the GIF gets smaller

An animated GIF is a stack of pictures, each limited to 256 colours and compressed with LZW. Toolvity decodes every frame, rebuilds it, and re-encodes it with four techniques you can combine:

  • Fewer colours. Each frame gets its own optimised palette. 128 colours is hard to tell from 256 for most clips; 64 or fewer suits cartoons and screen recordings.
  • Frame differencing. Areas that didn’t change since they were last drawn are marked transparent and only the changed rectangle is stored.
  • Lossy. Treats pixels that changed only slightly as unchanged — the setting that saves the most on video-like GIFs with grain or noise.
  • Fewer frames and smaller size. Dropping every second frame roughly halves the work; scaling to 50% cuts the pixel count by three quarters.

Choosing a level

Light keeps every colour and only skips pixels that barely change — a safe choice for logos and UI animations. Balanced uses 128 colours with moderate differencing and often halves a clip from a phone or video. Strong goes down to 64 colours with aggressive differencing for the smallest file that still reads well.

Some GIFs are already tightly packed by the tool that made them. If re-encoding can’t beat the original, Toolvity tells you and gives you the original back rather than a bigger file. Scaling down or dropping frames usually helps in that case — or convert it to video with GIF to MP4, which is far smaller for long clips.

Private, and quick on big files

Your GIF never leaves your device. Decoding and re-encoding run in a background thread in your browser, so the page stays responsive while the preview builds. Very large GIFs show a Preview button instead of rebuilding on every change.

Frequently asked questions

Will my GIF still be animated?

Yes. Every frame, its timing and the loop setting are kept. Only the way the frames are stored changes.

Why did the compressed GIF come out bigger?

Some GIFs are already optimised by the app that made them. Try Strong, fewer colours or a smaller size. If nothing beats the original, Toolvity hands back the original file.

Does dropping frames make the GIF play faster?

No. The time of each dropped frame is added to the frame before it, so the animation keeps its length — it just looks a little less smooth.

What does the Lossy slider do?

It decides how different a pixel must be from the previous frame before it’s redrawn. Higher values skip more tiny changes, which shrinks noisy or video-based GIFs a lot.

Is my GIF uploaded anywhere?

No. The whole process runs in your browser on your own device.

All Image tools