Make the GIF lighter, not lifeless.
Reduce GIF colors and dimensions without flattening the animation. Every frame is decoded, composited, and encoded again on this device.
- No upload
- All frames
- No credits
Browser workspace
GIF Compressor
Your GIF stays on this device
Original animation
Compressed animation
Frame timing
How it works
Compression with the motion intact.
- 01
Read the animation
The browser verifies the GIF87a or GIF89a signature, parses the logical canvas, and decodes every image frame. Files that exceed the size, dimension, frame, or total-pixel limits stop before expensive processing.
- 02
Choose the tradeoff
Gentle prioritizes color and dimensions, Balanced reduces both moderately, and Smallest trades more color and pixel detail for a smaller target.
- 03
Rebuild the GIF
Frame patches are composited in order, including disposal behavior and transparent pixels. Each full frame is then scaled and color-quantized according to the selected level before the new animation is encoded.
- 04
Compare before download
Both animations remain visible. The result shows exact dimensions, file size, and the measured percentage smaller or larger. Download only after the motion and quality look right.
What stays intact
Timing matters as much as pixels.
An animated GIF is a sequence of rectangular frame patches, not necessarily a stack of full images. Each patch can carry a delay, transparency index, and disposal instruction that changes what remains visible before the next frame appears.
This tool composes those patches onto a full logical canvas before it creates each output frame. Delays shorter than 10 milliseconds or missing delays are normalized to a safe minimum because browsers commonly clamp extremely short values. Loop information is retained when it is present.
Color reduction is the main lossy step. GIF is limited to a palette, and this encoder does not add dithering. Expect the cleanest results from icons, diagrams, stickers, product UI, and flat illustrations.
Browser safety limits
Enough room for useful motion, with a hard memory ceiling.
- 20 MBMaximum input file
- 200Maximum frames
- 2,048 pxMaximum edge
- 50MMaximum total frame pixels
Related GIF tool
Need exact dimensions instead?
FAQ
Before you compress.
Does this GIF compressor preserve animation?
Yes. It decodes and re-encodes every image frame, preserving the normalized frame delays and loop behavior instead of converting only the first frame.
Does the GIF get uploaded?
No. The source file is read from the local file picker and processed with JavaScript and Canvas inside the browser. No application server or AI provider receives it.
Why can a compressed GIF become larger?
Re-encoding overhead, a source that is already highly optimized, or a complex color pattern can make the result larger. The tool reports the real before-and-after size so you can keep the original when that happens.
Which compression level should I choose?
Balanced is a practical starting point. Gentle keeps the original dimensions and up to 256 colors. Smallest reduces the dimensions to 75 percent and uses 64 colors, which can show more banding.
Is this suitable for photographic GIFs?
It works, but the encoder does not use dithering. Flat graphics, UI motion, stickers, and illustrations usually compress more cleanly than photographic or video-derived GIFs.