Everything about making GIFs smaller — what works, what does not, and when to leave GIF behind.
How to compress a GIF
- 1
Load your GIF
Drop an animated GIF onto the workspace or press browse. Files up to 50 MB are supported and stay on your device.
- 2
Choose a target size
Pick 1, 2, 5, 8, 10, 15 or 25 MB, or type your own value. Use the limit of the app you are sending to.
- 3
Or tune it by hand
Switch to Manual to set size, frames kept and colours yourself. Add a shared palette or dithering if you need them.
- 4
Press Compress GIF
Progress shows each try and its width. Cancel at any point with Esc and your original is untouched.
- 5
Compare and download
Review original and compressed side by side, check the saving, then download. Not happy? Adjust and retry.
Why animated GIFs get so large
A GIF has no video codec. Each frame is stored as its own indexed-colour image, with only simple tricks to skip pixels that did not change. Size therefore grows with how much picture you ask it to hold.
Pixel count
Every frame stores width × height pixels. A 800 × 450 frame holds 360,000 of them.
Frame count
Ninety-six frames means ninety-six images. Long loops and high frame rates add up fast.
Colours and dithering
Each frame can use up to 256 colours. Dithering simulates more shades with patterns that pack poorly.
Noise and motion
Film grain, gradients and full-frame motion change most pixels every frame, so little can be reused.
Best GIF compression settings by use case
| Use case | Target | Size | Frames | Colours |
|---|---|---|---|---|
| Chat or Discord reaction | Under the app limit | 40 to 60% | Every 2nd | 64 |
| Email attachment | Under 5 MB | 50 to 70% | Every 2nd | 64 |
| Website hero loop | 2 to 5 MB | 70 to 100% | All | 256, dithering for gradients |
| Emoji or sticker | Under the platform limit | 10 to 30% | All | 32 |
Starting points for Manual mode. Check the exact limit of the app you are sending to, then adjust.
Compress a GIF to 1 MB, 2 MB, 5 MB, 10 MB and more
The tool has a one-click chip for the sizes people ask for most. Pick the one you need, or type an exact value in the Custom field. These are the settings Target mode tends to land on, so you know what to expect before you start. Results depend on the GIF: flat graphics shrink much further than photographic clips.
| Goal | Typical use | Likely settings |
|---|---|---|
| Compress GIF to 1 MB | Stickers, UI loops, short reactions | 200 to 320 px wide, every 2nd frame, 32 to 64 colours |
| Compress GIF to 2 MB | Website icons, email signatures, short product loops | 320 to 400 px wide, every 2nd frame, 64 colours |
| Compress GIF to 5 MB | Email attachments, docs, blog posts | 400 to 600 px wide, every 2nd frame, 64 to 256 colours |
| Compress GIF to 8 MB | Chat apps and forums with tight limits | 480 to 640 px wide, all or every 2nd frame, 64 colours |
| Compress GIF to 10 MB | Most chat, social and community uploads | 540 to 720 px wide, all frames, 64 to 256 colours |
| Compress GIF to 15 MB | Social posts, landing pages, demos | 640 to 800 px wide, all frames |
| Compress GIF to 25 MB | Large attachments, hero demos | Near original size, mostly reduce colours |
If a GIF will not reach its target, the tool shows the smallest version it found. Try the next chip up, trim the clip, or switch to Manual and keep every 3rd frame. For still images use the Image Compressor, and for Lottie files the Lottie Optimizer.
Compress a GIF for Discord, Slack, email and your device
Every app has its own file size limit, and the numbers change, so always check the current one. These notes cover the limits we are confident about and the settings that work well for each case.
Discord and Slack emoji
Discord emoji must be under 256 KB and stickers under 512 KB, and Slack emoji under 128 KB. Use the Custom field (for example 0.25 MB), or Manual at 10 to 25% size with 32 colours. Emoji are shown tiny, so the lost detail rarely shows.
Email and Gmail
Gmail accepts up to 25 MB of attachments, but many company mail servers accept less and large GIFs load slowly. Target 5 MB or under, around 400 to 600 px wide.
Websites and GitHub README
Aim for 1 to 5 MB so the page stays fast. If the loop is long or photographic, convert it to MP4 or WebM instead, which is usually many times smaller than a GIF.
X (Twitter) and social posts
Platforms set their own GIF limits and often convert uploads to video. Check the current limit, choose the nearest chip below it, and keep the width at 640 px or less for a clean result.
iPhone, Android, Mac and Windows
The compressor runs in the browser, so it works the same on a phone or a computer. Pick the GIF from your files, compress, and save the result. No app and no account needed.
Chat, forums and documents
Limits depend on the server, account and app, and they change over time. Look up the current number, pick the chip at or just under it, or enter it in the Custom field.
Need a different size afterwards? Resize the frames in Manual mode, make a GIF from a clip with Video to GIF, or clear a background first with the GIF Background Remover.
GIF vs video and Lottie
GIF
Best for compatibility
Plays almost anywhere: chat, email, forums and documents. Large for long or detailed clips, limited to 256 colours per frame.
MP4 and WebM video
Best for photos and long clips
Usually many times smaller than GIF at the same quality, but some apps and email clients will not autoplay them.
Lottie
Best for vector animation
Tiny files that stay sharp at any size. Suits icons, UI motion and illustrations, not filmed footage.
Need a different format? Try GIF to Lottie, MP4 to Lottie or Video to GIF.
Troubleshooting
- Could not read this GIF
- The file may be damaged or cut short. Export it again from the source, or open and re-save it in an editor.
- The result is not smaller
- Already tight GIFs may not shrink at the same size. Lower the size slider, keep every 2nd frame, or use 64 colours.
- It could not reach my target
- Pick a larger target, or use Manual with fewer colours and frames. For very long clips, trim the GIF first.
- Colours look banded or blotchy
- Raise colours to 256 and turn on Dithering. Shared palette can also cause shifts, so switch it off to compare.
- The animation looks choppy
- Keep all frames or Every 2nd, and reduce the size instead.
- The tab is slow or compression failed
- Large GIFs need memory. Close other tabs, try a smaller target, or reduce the size in Manual mode.