Compress GIF
Pick GIF images to compress them.
Drop images, folders or a ZIP here
or
PNG / JPEG / WebP / GIF / SVG, or a ZIP (folder structure is kept). Images never leave your device.
Limits on this device: 100 MP per image, up to 200 MB per file
Results will appear here once you choose images.
Uses gifsicle to optimize frame differences, reduce colors and apply lossy compression, keeping every frame of animated GIFs.
How to use
- Choose images (PNG / JPEG / WebP / GIF / SVG), or a folder or ZIP containing images.
- Pick the output format and set quality, target size or resize. Changing a setting reprocesses automatically.
- Use “Save” on each result, or “Save all as ZIP” for everything at once.
FAQ
Is the animation preserved?
What lossiness should I use?
Is optimization level 3 slow?
Compressing GIF: what to know
How GIF compression works
GIF stores each frame with a palette of up to 256 colors and a lossless compression method called LZW, and plays several frames in sequence as an animation. This tool uses gifsicle to shrink GIFs in three ways while keeping the number, order and timing of frames: “optimization”, which keeps only the parts that changed from the previous frame; “lossy” compression, which evens out runs of similar colors so LZW works better; and “color reduction”, which shrinks the palette.
Recommended settings
The default optimization level of 2 is usually enough. Level 3 tries more methods, but on large GIFs it takes much longer for only a small gain. Lossiness defaults to 30, and 30–60 is a good balance between size and quality; higher values shrink the file further but add a sandy noise. Colors default to “Keep”; reducing to 64 or 32 colors can cut the size a lot, although gradients become coarser. Resizing has the biggest effect: halving the width and height leaves a quarter of the pixels, and that applies to every frame.
When the file does not get smaller
GIFs that have already been optimized may not get any smaller. In that case the original data is output and the tool tells you it was not smaller; raise the lossiness, reduce the colors or resize. GIFs made from live-action video, where the whole frame changes every time, gain little from frame optimization and hit the limits of the format. This tool cannot convert GIF to other formats, but for use on a website, a video format such as MP4 or WebM is far smaller.
For a step-by-step approach to lighter web page images, see the guide: Making Landing Page Images Lighter