Free · processed in your browser · free account to download
Compress an Animated GIF
Shrink a GIF so it fits chat upload limits, email attachments, and fast-loading web pages. Adjust the color count, frame rate, and scale in your browser while your file stays on your device.
How do I reduce the file size of an animated GIF?
Drop a GIF up to 30 MB (500 frames max) into the box above. Choose a color palette size (256, 128, 64, or 32 colors), optionally drop every 2nd or 3rd frame, and optionally scale dimensions to 75% or 50%, then press Compress GIF. You see the exact before and after byte sizes before downloading.
How it works
01
Add your GIF
Select or drop a GIF up to 30 MB with up to 500 frames.
02
Pick compression settings
Start with 128 colors, or lower the palette to 64 or 32, drop every 2nd or 3rd frame, or scale to 75% or 50%.
03
Compare sizes and download
Press Compress GIF, check the animated preview and the size change percentage, then download the result. Downloading needs a free HeyDreaming account; comparing sizes does not.
Three ways to shrink an animated GIF
GIF uses lossless LZW compression on an indexed palette of up to 256 colors per frame, so there is no single JPEG-style quality slider. Instead, file size comes down to three levers: how many colors each frame stores, how many frames the animation keeps, and the pixel dimensions of the canvas.
Reducing the palette from 256 to 128 or 64 colors merges similar shades so repeated byte patterns compress tighter. Dropping every 2nd or 3rd frame cuts frame data while adding each dropped frame's delay to the neighbor before it, so the animation still plays at the same overall speed. Scaling to 75% or 50% with bilinear resampling cuts pixel area to 56% or 25%, which produces the largest savings on screen recordings.
What changes in the output file
Every kept frame is composited onto the full canvas and quantized to your chosen color count (256, 128, 64, or 32 colors), preserving 1-bit transparency and the original loop count. Lower palettes can show visible banding on smooth photo gradients, whereas UI captures and flat illustrations often look nearly identical at 64 colors.
If a source GIF was already tightly optimized with tiny inter-frame delta patches and 256 colors, re-encoding full frames at 100% scale can occasionally make the file larger; dropping frames, lowering colors, or scaling down to 75% or 50% brings the size down. Any output wider or taller than 1200 px displays a scaled preview up to 1200 px on the page while the download keeps the full output resolution.
What this tool does not do
It does not apply lossy LZW pixel-smearing, compress to an exact kilobyte target automatically, or process GIFs with more than 500 frames.
Keep exploring
Related free tools
Questions
GIF Compressor: FAQ
Is my GIF uploaded when I compress it?
No. Decoding, frame dropping, scaling, and GIF encoding all run inside your browser, so your GIF stays on your device. The page sends usage events to Google Analytics, such as which tool ran, but never the file.
Does dropping every 2nd or 3rd frame speed up the animation?
No. Whenever a frame is dropped, its display delay is added to the kept frame before it. The animation looks slightly less smooth, but total playback duration stays the same.
Why did my GIF get slightly larger at default settings?
Some GIFs only store tiny changed rectangles between frames. Because this encoder writes complete composited frames, a file that is already heavily optimized may grow unless you also drop every 2nd frame, pick 64 or 32 colors, or scale to 75% or 50%.
Which setting reduces GIF size the most?
Scaling dimensions to 75% or 50% and dropping every 2nd frame cut the most bytes, because both directly reduce the number of pixels encoded across the animation.
What are the file and frame limits?
You can compress one GIF at a time up to 30 MB and up to 500 frames.