Make an animated GIF smaller without losing frames. Pick a compression level or a size limit, and the tool tells you how much you saved.
No limits or paywall.
Use instantly, no account.
Processed inside your browser.
Clean, full-quality output.
No upload queue or waiting.
Works on phone and desktop.
GIFs are easy to share and expensive to store. A few seconds of animation can be several megabytes, which is too much for chat limits, email, documentation sites and slow mobile connections. This GIF compressor makes an animated GIF smaller while keeping every frame and its timing, right in your browser.
You choose how hard to compress, or simply set the size the GIF must fit under. After compressing, the tool compares the result with your original file, so you never download a "compressed" GIF that is actually bigger.
Before
Original GIF, 560 × 420
2.16 MB
A 199-frame orbit animation from Wikimedia Commons.
After
Smaller file compression
361 KB
Same size, same 199 frames and timing; a mean colour change of 0.23 out of 255.
Measured with this tool on "Animation of Chandrayaan-2 around Moon.gif" (Wikimedia Commons, CC BY-SA 4.0). Graphics with flat colours compress the most; see the table for photos and film.
Drop the GIF on the tool above or tap to choose it. Every frame is loaded with its original timing.
Under Quality and file size, pick Balanced, Smaller file or Smallest file. The estimate under the preview shows the new size before you save.
If the GIF must stay under a number, such as 256 KB for a Discord emoji, choose it under File size limit. The tool compresses harder and, if needed, makes the GIF smaller in pixels until it fits.
Press Create GIF. The result shows its size and how much smaller it is than your original, or tells you to keep the original if it is not.
Check the preview and download the compressed GIF.
| GIF | Original | Balanced | Smaller file | Smallest file |
|---|---|---|---|---|
| Orbit diagram, 560 × 420, 199 frames | 2.16 MB | 664 KB | 361 KB | 306 KB |
| 1919 cartoon film scan, 200 × 147, 134 frames | 3.60 MB | 1.44 MB | 553 KB | 295 KB |
| Video of a person, 1280 × 720, 12 frames | 3.78 MB | 1.01 MB | 628 KB | 449 KB |
| 3D Newton's cradle, 480 × 360, 36 frames | 308 KB | 217 KB | 183 KB | 159 KB |
| Rotating Earth, 400 × 400, 44 frames | 1.00 MB | 925 KB | 699 KB | 533 KB |
A GIF frame is a picture with at most 256 colours, compressed with LZW, a lossless method from the 1980s. LZW works best on repeated patterns, such as long runs of one colour, so flat graphics compress well and noisy photos do not. Animated GIFs also allow each frame to store only a rectangle, with transparent pixels where nothing changed.
Many GIFs on the web were made by tools that store every frame in full. This compressor stores only the area that changed in each frame, marks unchanged pixels as transparent so they compress to almost nothing, and merges frames that are exactly the same. On our 199-frame orbit animation, that alone took 2.16 MB down to 785 KB without changing a single pixel.
Lossy compression goes a step further. When a pixel's colour only drifts slightly from one frame to the next, it is not redrawn. Video noise, film grain and dithering patterns change every frame, so ignoring tiny changes saves a lot of space in exactly the GIFs that are largest.
Each level sets how far a colour may drift before the pixel is redrawn. The numbers below are the mean colour change from the original, on a scale of 0 to 255, measured on our five test GIFs.
GIFs made from video, film scans and screen recordings usually shrink the most, because they contain noise or large areas that do not change. Our 1919 cartoon scan went from 3.60 MB to 553 KB with Smaller file, and a 12-frame video GIF from 3.78 MB to 628 KB (its frames were also reduced from 1280 to 960 px).
GIFs that were already optimized by another tool, and rendered animations with smooth gradients, shrink less. The rotating Earth saved 8% at Balanced and 30% at Smaller file; Newton's cradle 30% and 41%. For those, reducing the size in pixels or the number of frames helps more than stronger compression.
When a GIF is still too big, these changes have the largest effect, roughly in this order:
Platforms often set hard limits: Discord custom emoji must be under 256 KB, and many forums and help desks cap attachments at a few megabytes. Under File size limit, choose 256 KB, 8 MB, 10 MB, 20 MB or type your own limit.
The tool estimates the size from a few frames, then tries stronger compression and one shared palette. If that is not enough, it reduces the size in pixels, or the number of colours if you untick Make it smaller in pixels, and checks the real result. The note under the GIF lists exactly what changed. If even the smallest version is too big, it says so instead of quietly giving you an unusable file.
Your GIF is decoded and re-encoded by your own browser, in a background thread so the page stays responsive. It is never uploaded, there is no account and no watermark, and you can compress as many GIFs as you like. Compressing our test GIFs took between 0.1 and 0.5 seconds each on an Apple-silicon laptop.
Animated WebP and animated PNG files are not compressed here; they open as a single still frame.
Fit custom emoji under 256 KB and keep reaction GIFs quick to send.
Shrink screen-recording GIFs for README files, wikis and help centres.
Keep animated banners small so the email loads quickly and is not clipped.
Cut page weight from decorative GIFs without re-creating them.
Drop it above, choose Smaller file under Compression and press Create GIF. In our tests that removed 30% to 85% of the file. For more, lower the width under Size, remove every second frame, or use fewer colours.
Balanced is hard to tell apart from the original. Smaller file and Smallest file let colours drift a little before a pixel is redrawn, which can smear fast motion and fine grain. Graphics and renders barely change: our orbit diagram differed by 0.31 out of 255 even at Smallest. A grainy film scan changed visibly at Smallest.
Some GIFs are already well optimized. Re-saving them losslessly can add a few percent: our 308 KB Newton's cradle became 319 KB with Lossless. The tool compares the result with your original and tells you to keep the original when it is smaller. Choose Balanced or Smaller file instead.
Yes. Choose File size limit: 256 KB, 8 MB, 10 MB, 20 MB or your own value in KB or MB, where 1 KB is 1000 bytes. The tool first compresses harder and shares one palette, then makes the GIF smaller in pixels (or uses fewer colours if you untick that) until it fits, and says what it changed.
No. Every frame and its timing are kept unless you change them. Frames that are exactly the same as the one before are merged into a single longer frame, which looks identical and saves space.
Lossless keeps every pixel exactly and only stores each frame's changed area. Lossy compression (Balanced, Smaller, Smallest) also ignores very small colour changes, such as noise, so less has to be stored for each frame.
GIFs up to 500 MB can be opened, and the first 300 frames are used. Frames larger than 960 px are reduced to 960 px on their longer side.
No. The GIF is decoded and compressed by your browser on your own device. Nothing is sent to a server.
Yes. Choose the 256 KB limit for an emoji, or see Discord GIF Maker, which opens with the emoji size and limit already set.
This page is for animated GIFs. For photos and still images, use the Image Compressor.