Skip to content
Okaysize

Compressing a GIF

Compress GIF makes an animated GIF smaller and keeps it looping at the same speed. Here's how the target size works and what to do when it can't fit.

Last updated October 8, 2026

Compress GIF writes your GIF again with fewer colors, every other frame, or a smaller size, and it keeps looping at the same speed. Pick the Colors and Size, turn on Drop every other frame, or just type a Target size in MB, then click Compress GIF.

How the target size works

With a target, Okaysize first drops every other frame, then lowers the colors, then shrinks the size, trying again until the GIF fits. The result shows how many colors it used, and how many frames it kept when it dropped some.

"This file can't fit under the limit"

If the GIF still doesn't fit after several tries, Okaysize stops instead of handing you a broken GIF. Type a higher target, or start from a smaller Size. If the GIF came from a video, Video to GIF on the original video makes a smaller one from the start.

Colors look blotchy

Photos and gradients need more colors than cartoons. Pick 128 or 256 colors, and make the file smaller with Size or Drop every other frame instead. Transparent parts stay transparent.

"This file looks damaged"

The GIF couldn't be read, often because it didn't finish downloading. Only real GIF files work, so a video or WebP renamed to .gif won't open. Save the GIF again from where you got it.

Didn't help? Tell us what happened, or go back to all help articles.