🗜

Compress GIF

Make animated GIFs smaller while keeping the animation and transparency. Pick a preset or fine-tune the colors, size and frame rate, compress several GIFs at once, and download them one by one or as a ZIP.

🎞️

Drop GIF files here

or click to browse from your device

Select GIF Files

🔒 GIFs are compressed on your device and are not uploaded. The compression code is part of this page - details below.

Add one or more GIF files to get started.

✅ Compression complete!

GIF compressor

Animated GIFs get big quickly: every frame is stored in full, in at most 256 colors, with a compression method from the 1980s. This tool rewrites your GIF more efficiently without changing the file type, so it still plays everywhere a GIF does. It shares one color palette across the whole animation, stores only what changed between frames, and lets you trade a little quality for a much smaller file by reducing colors, shrinking the picture or dropping frames.

Start with the Balanced preset. If the result is still too large, switch to Strong or adjust the settings one at a time, and check the preview of each result before downloading. To shrink other image types, see Compress WebP, Compress PNG and Compress JPG.

How to compress a GIF

  1. 1Add your GIFsDrag and drop them onto the box, or click it to choose files. Each file is checked to make sure it really is a GIF.
  2. 2Choose a preset or adjust the settingsLight keeps as much quality as possible, Balanced is the recommended starting point, and Strong gives the smallest files. Changing any setting switches the preset to Custom.
  3. 3Click "Compress GIF"GIFs are processed one after another with a progress message for each. Large animations can take a while, and you can stop at any time.
  4. 4Check and downloadEach result shows an animated preview, its new size and how much smaller it is. Download them one by one, or all together as a ZIP.

The settings explained

How your GIFs are handled

What to know before you compress

Frequently Asked Questions

A GIF stores every frame of an animation as its own picture, limited to 256 colors, using an old compression method. This tool reads your GIF in your browser and writes it again more efficiently. It builds one shared color palette, stores only the part of each frame that changed from the one before, and, depending on your settings, can also reduce the number of colors, shrink the picture, merge frames or treat tiny color changes as no change.
No. Your GIFs are read, processed and rebuilt by your browser on your own device. The compression code is part of this page, so no converter library has to be downloaded for it. If you use the ZIP download, the page loads a small ZIP library (JSZip) from the cdnjs network. Your GIFs are never sent anywhere.
Yes in the default settings. The tool keeps the size of each frame's delay, so the animation runs at the same speed, and it keeps the loop count of the original. If you choose to keep only every 2nd or 3rd frame, the delays of the removed frames are added to the frame that stays, so the overall timing is kept but the motion looks less smooth.
Some GIFs have already been optimized by the program that made them, and there is little left to save at gentle settings. When the result is not smaller, the list says so. Try the Balanced or Strong preset, reduce the number of colors or the size, or simply keep the original file.
Colors sets the size of the palette, and fewer colors mean smaller files but more visible banding. Size scales the picture down. Frames can keep every frame, or only every 2nd or 3rd one. Smoothing between frames treats very small color changes as unchanged so that less data is stored. Dithering mixes colors to hide banding, but it adds fine noise that usually makes the file much larger.
Yes. Transparent areas stay transparent. GIF transparency is either on or off, so if you shrink a GIF with soft edges, the edges can look slightly harder than before.
You can add up to 20 GIFs at a time, each up to 50 MB. Each GIF can have up to 2,000 frames and about 16 megapixels per frame, and very large animations are refused because they would need too much memory. Big GIFs can take a while to process because the work happens on your device, and you can press Stop at any time.