GIF Tools

GIF Optimizer — Compress GIF Size

Compress an animated GIF right in your browser — nothing is uploaded. Discord, Slack, forums and email all cap GIF sizes, and big GIFs load slowly on phones.

By Aditya Kr Sharma Files stay on your device

  • Free
  • Instant
  • No sign-up

GIF Optimizer converter

Convert

Or import from
Supports: GIF

Nothing is uploaded. This tool runs entirely in your browser, so the file never leaves your device. There is no server to send it to, no copy kept anywhere, and it keeps working if you lose your connection after the page has loaded.

Accepts .gif You get: An animated .gif Free, no sign-up

How to convert

  1. Add your files Drag them in, choose files, or use the camera.
  2. Check the settings The defaults suit most files.
  3. Download Save one file, or all of them as a ZIP.

How to compress an animated GIF

  1. Drop your GIF file on the box above, or click it to choose the file — or press Load a sample to try it first.
  2. Check the settings below the box; the defaults suit most files.
  3. Press Convert. Long jobs show a progress bar and can be cancelled; you then see what was made and its real size.
  4. Download the .gif file.

What is kept when you compress an animated GIF

  • Frames that repeat are merged with their timing added together; for opaque GIFs only the part of each frame that changed is stored.
  • Optionally reduce each frame to 128, 64 or 32 colours, or drop every second or third frame while keeping the total duration.
  • You see the real size before and after. If the result is not smaller, nothing is offered for download.

Example

Optimizing the sample (the total duration stays the same):

Input

sample.gif — 16 frames, 160 × 120 px, 1.28 s, loops forever (11.0 KB)
64 colours, keep every 2nd frame

Output

8 frames, 160 × 120 px, 1.28 s, loops forever (5.4 KB)

About GIF files

A GIF holds one or more frames, each with up to 256 colours, a display time in hundredths of a second, and a rule for what happens to it when the next frame appears. It plays everywhere, which is why it survives. It opens in every browser, chat app and image viewer.

Good to know

  • Browsers play frame delays of 0 or 10 ms as 100 ms, so 20 ms (50 frames per second) is the fastest a GIF really plays.

Privacy and limits

The file is read and converted by this page in your browser; there is no upload and no account. Frame count, size and memory are checked from the file’s structure before any frame is decoded, so a hostile GIF cannot exhaust the tab. A GIF may have up to 500 frames and 2,048 pixels on each side. Files up to 50 MB are accepted; a file of the wrong type or a damaged file is rejected with the reason.

Frequently asked questions

Which setting saves the most?

Fewer colours and dropping frames save the most, at a visible cost. Start with 128 colours; the frame and duplicate optimisation alone costs nothing in quality.

Why is my GIF not smaller?

GIFs exported by good tools are often already optimised. If nothing smaller can be made with your settings, the tool tells you rather than handing back a bigger file.

Is my file uploaded to a server?

No. The conversion runs in your browser on your own device, and this page has no upload endpoint.

Is there a size limit?

One file of up to 50 MB at a time. A GIF may have up to 500 frames and 2,048 pixels on each side. Larger files can exhaust a browser tab’s memory, so the tool refuses them with a message instead of failing halfway.

More in GIF Tools All tools