Animated GIFs Cannot Be Compressed Here
This is the honest limit of what a browser can do, and it is worth understanding before you try.
A browser can decode an animated GIF but it cannot write one. Writing GIF means implementing LZW compression and a palette per frame, and no browser exposes that to a web page. So the only thing this tool could do with an animation is keep the first frame — which would silently destroy the file while reporting a successful compression.
Instead, an animated GIF is refused, and the reason is stated. There is no pretending that a still frame is the animation.
What to do instead, depending on what you actually need:
- Keep the GIF as it is. If it is already on a page and it works, an animation that plays is worth more than a smaller file that does not.
- Use a tool that re-encodes animations. Proper animation tools rebuild the frames, drop duplicate pixels between frames and rebuild the palette — that is where an animated GIF's size actually comes from, and it needs a real GIF encoder.
- Consider replacing it with a video. For anything longer than a few seconds, an MP4 or WebM is dramatically smaller than an animated GIF and every browser plays it.
If the file is a single frame — a logo, a screenshot, a small graphic saved years ago as GIF — then it is a still image in an old container, and the compressor above will handle it.