GIF Compressor
Make an animated GIF smaller without breaking the animation. Choose a compression level, or enter a file size like 256 KB or 5 MB and get the best-looking GIF that fits. Free, and your GIF never leaves your device.
Your file
Drop a GIF to compressTap to choose a GIF
GIF, animated or still
Why use this tool
No file size limit
Full-size photos and long documents, straight from your device.
Nothing is uploaded
Processed entirely in your browser. Your files never leave your device.
No signup needed
Open the tool and go. No account, no email.
GIFs get big fast. Every frame is a full picture with its own colors, so a few seconds of video can easily weigh 10 or 20 MB: too heavy to upload, slow on a web page and over the limit for emoji and stickers.
This GIF compressor shrinks the file with the same techniques dedicated GIF optimizers use: fewer colors per frame, lossy compression, smaller dimensions and fewer frames. Pick how hard to push, or name the size you need and let the tool find the gentlest settings that get there. Before and after play side by side so you can judge the difference yourself.
How to compress a GIF
Add your GIF
Drop a GIF on the box above, or choose one from your phone or computer. Its size, dimensions, frame count and length show straight away.
Choose a level or a file size
Pick Light, Balanced or Strong, or switch to File size and enter the maximum, for example 256 KB for an emoji or 5 MB for an upload.
Fine-tune if you like
Change the dimensions, colors, lossy amount or frames yourself. Each setting says what it trades away.
Compress and compare
Press Compress GIF. Your original and the compressed GIF play side by side with their sizes, so you can see what changed before you download.
Compress a GIF to a specific size
Most of the time you are not after "smaller", you are after "under the limit": 256 KB for a Discord emoji, a few megabytes for a forum, chat or CMS upload. Switch to File size, enter the number in KB or MB, and the compressor searches its steps from the gentlest to the strongest and keeps the first one that fits. For custom emoji, GIF to emoji also crops and resizes to each platform’s rules.
The order of the steps is deliberate. Colors and lossy compression go first, because they cost the least to the eye. Dimensions come next. Frames are dropped only near the end, because that is the change people notice most. If even the strongest step is too big, you get the smallest version it could make and a note saying so, rather than a file that quietly misses your limit.
If your GIF is already under the size you entered, it comes back untouched: there is no point losing quality you do not need to lose.
What each setting does to file size
Dimensions have the biggest effect. A GIF at half the width and height has a quarter of the pixels, and is usually around a quarter of the size. If the GIF will be shown small, in a chat or as a resized thumbnail, scaling it down is the best trade there is.
Colors come next. A GIF frame can hold up to 256 colors; cartoons, screen recordings and logos often look identical with 64 or even 32. Photos and video show banding in skies and skin sooner, so keep 128 or more for those.
Lossy compression lets pixels that barely change from one frame to the next be reused instead of stored again. At 10 to 20 it is hard to see and often cuts a third or more off a video GIF. Higher values add a little grain to moving areas.
Dropping frames halves or thirds the frame count while the GIF keeps the same length, because each kept frame takes over the time of the ones removed. It is the right tool for long, smooth clips and the wrong one for fast motion. To see which frames repeat before dropping any, open the GIF in the GIF splitter.
Why some GIFs barely shrink
A GIF that was already optimized, for example by a tool like gifsicle, may not get much smaller at a light level, and can even come out larger. The result says so plainly, and you can keep your original or try Strong.
Noise and film grain compress badly in any GIF, because nothing stays the same between frames. For those, smaller dimensions and fewer frames help far more than colors. For a long clip, a video file is far more efficient than any GIF can be. Converting it with GIF to MP4 usually makes it five to ten times smaller.
Private by design
Most online GIF compressors upload your file to their server, process it there and delete it later. This one decodes, compresses and encodes the GIF in your browser, in a background thread so the page stays responsive. Nothing is uploaded, so there is no file size cap beyond what your device can handle, and nothing to wait for but the compression itself.
Compressing a still image instead? The image compressor handles JPG, PNG and WEBP. To make a GIF from scratch at a sensible size in the first place, use the GIF maker.
Which setting to use
Typical starting points. Compare before and after, then go stronger or lighter.
| Your GIF | Try first | Then |
|---|---|---|
| Clip from a video | Balanced, lossy 15–20 | Smaller dimensions |
| Screen recording or tutorial | Colors 64, lossy 10 | Colors 32 |
| Cartoon, sticker or emoji | Colors 64 or 32 | Smaller dimensions |
| Long, smooth animation | Balanced | Keep every 2nd frame |
| Discord emoji (256 KB) | File size: 256 KB | Crop to a square first |
| Slack emoji (128 KB recommended) | File size: 128 KB | Fewer frames |
When people compress GIFs
Emoji and stickers
Discord custom emoji must be under 256 KB, and Slack recommends under 128 KB. File size mode gets there in one step.
Uploads with a limit
Forums, chat apps, help desks and content managers that refuse a GIF over a set size.
Faster web pages
A lighter GIF loads sooner and uses less of your visitors' data, especially on mobile.
Email newsletters
Large GIFs slow down emails and can be clipped by some mail apps; a few hundred kilobytes is a safer size.
Presentations and docs
Keep slide decks and documents with embedded GIFs small enough to share and sync.
Archives and portfolios
Shrink a folder of reaction GIFs or animation work without losing what makes them worth keeping.
Frequently asked questions
- How do I compress a GIF to a specific size?
- Choose File size, enter the maximum in KB or MB, and press Compress GIF. The gentlest settings that fit are chosen for you.
- Will compressing a GIF reduce its quality?
- Somewhat, but often less than you would think. Light keeps every color it can and only reuses identical pixels; Balanced and Strong trade more. The side-by-side view shows the difference before you download.
- Does compression change the speed or length of my GIF?
- No. Frame timing and the loop setting are kept. When frames are dropped, the remaining ones take over their time, so the GIF lasts just as long.
- Is my GIF uploaded?
- No. Compression runs in your browser, on your device. Nothing is sent to a server.
- Is there a file size limit?
- There is no upload limit, because nothing is uploaded. Very long, high-resolution GIFs take longer and need more memory, so a phone may struggle with what a computer handles easily.
- Why is my compressed GIF larger than the original?
- The original was already heavily optimized. Try Strong or a smaller size, or keep the original. The result says when this happens.
- Can I compress a GIF for a Discord emoji?
- Yes. Choose File size and 256 KB. Emoji show small, so cropping to a square and reducing the dimensions makes the biggest difference.
- Does it keep transparency?
- Yes. Transparent areas stay transparent, and the loop setting is kept too.
Related tools
GIF to Emoji
Turn a GIF into a custom emoji for Discord, Slack or Twitch, sized and under the limit.
GIF to MP4
Convert a GIF to an MP4 video, usually many times smaller, with its timing kept.
GIF Speed Changer
Speed up or slow down a GIF, or set one delay for every frame, without losing quality.
GIF Splitter
Split a GIF into frames and download them as PNG or JPG images, or as a sprite sheet.
GIF Background Remover
Remove the background from an animated GIF, keep it moving, and download a transparent GIF or add a new color.
Compress Image
Cut file size for faster pages and lighter uploads, without visible quality loss.