← Back to Tools

Free GIF Compressor

A free GIF compressor that shrinks animated GIFs online, right in your browser. Drop a GIF below and lower the scale to about 75%, which alone roughly halves the file size. Quality and frame rate settings shrink it further. The animation is preserved, nothing is uploaded, and there is no signup or file limit.

Drop a GIF here or click to upload

Animated .gif files up to 30 MB

Frequently Asked Questions

How does this GIF compressor reduce file size?+
The compressor decodes every frame of your animated GIF, rescales it, reduces color palette precision, and optionally drops frames — then re-encodes a new animated GIF. The output is still a .gif file that plays in any browser, email client, or chat app.
Does the output keep the animation?+
Yes. Unlike tools that flatten a GIF into a static image, this compressor preserves every kept frame and its timing so the result is a smaller animated GIF.
What compression settings should I use?+
Scale has the biggest impact — dropping from 100% to 75% roughly halves the file size. Quality 60–80 is usually indistinguishable from the original. Frame skip is most effective for GIFs recorded at 30+ fps.
Is my GIF uploaded to a server?+
No. Parsing, re-encoding, and download all happen in your browser via WebAssembly and Web Workers. Your file never leaves your device.
How do I compress a GIF?+
Drop the GIF into the compressor above, lower the scale to around 75%, compress, then check the output size against the original and adjust quality or frame skip if you need it smaller. Start with scale — it has the biggest effect on file size — and only reduce quality or drop frames if you need to go smaller.
How much can I compress a GIF without it looking bad?+
Most GIFs survive a 25% scale reduction and quality around 60–80 with no visible difference, which together often cut the file by 60–80%. Screen recordings captured at 30 fps or higher also tolerate frame skipping well, since consecutive frames are nearly identical.
How do I make a GIF small enough for Discord, Slack, or email?+
Discord's free tier caps uploads at 10MB, Gmail attachments at 25MB, and many Slack workspaces trim previews on large files. Compress at 75% scale and quality 70 first, then step the scale down and recompress until the output lands under the limit. For clips longer than about 10 seconds, converting to MP4 is usually a better fit than compressing a GIF.
How do I compress a GIF to 256KB?+
Set scale to about 40%, quality to 50, and skip every second frame, then compress and read the output size. Avatar-sized targets like 256KB almost always need a dimension cut rather than a quality cut, so keep lowering scale before you touch anything else.
How do I compress a GIF to under 1MB?+
Start at 65% scale and quality 70, compress, then step the scale down in 10% increments until the output fits. A clip longer than about 8 seconds may not reach 1MB at a usable quality, in which case converting it to MP4 is the better answer.

Learn More

Want to create better GIFs and screen recordings? Check out our guides:

How to Compress GIFs Online

Using our free gif compressor takes just a few steps — no software to install, no account required.

  1. Upload your GIF — drag and drop or click the upload area above. Animated GIFs up to 30 MB are supported.
  2. Adjust quality, scale & frame skip — scale has the biggest impact on file size; quality controls the color palette; frame skip drops frames to reduce frame rate.
  3. Hit Compress GIF — the tool decodes frames, re-encodes them as a smaller animated GIF using Web Workers, all locally in your browser.
  4. Download the result — the output is still a .gif file with animation intact, just much smaller.

Why Are GIF Files So Large?

GIFs were designed in 1987 — long before bandwidth or storage were cheap. Several traits make them unexpectedly heavy:

  • Frame-by-frame storage — each frame of an animation is stored almost independently, so a 3-second clip at 15 fps can contain 45+ full images.
  • 256-color palette per frame — every frame carries its own color table, adding overhead that compounds with more frames.
  • Lossless-only by default — the GIF spec uses LZW compression, which is lossless. That preserves quality but keeps files much larger than lossy formats like JPEG or WebP.
  • No inter-frame compression — unlike MP4 or WebM, GIF has no concept of keyframes or motion vectors, so identical pixels are re-encoded repeatedly.

A gif compressor works by reducing these redundancies — lowering quality, shrinking dimensions, or dropping frames.

How to Compress a GIF to a Target Size

Most people arrive here with a number in mind: 256 KB for a forum avatar, 1 MB for an email signature, 8 or 10 MB for a Discord upload. There is no target-size box to type into, because the only way to know a GIF’s real size is to encode it. The workflow is quick anyway: compress once, read the output size shown next to the original, then adjust and compress again.

Change scale first. It moves file size faster than anything else, because halving the width and height removes roughly three quarters of the pixels in every frame. Use quality and frame skip for the last stretch.

TargetTypical useStarting point
256 KBForum and Discord avatarsScale 40%, quality 50, skip every 2nd frame
500 KBInline blog and docs imagesScale 50%, quality 60, skip every 2nd frame
1 MBEmail signatures, Slack previewsScale 65%, quality 70, no frame skip
8–10 MBDiscord free tier, Gmail attachmentsScale 80–90%, quality 75, no frame skip

Treat these as first guesses, not guarantees. A 2-second screen recording and a 15-second clip of the same size behave very differently, because duration decides how many frames have to be stored. If a long clip refuses to fit, converting it to MP4 will beat any amount of GIF compression.

GIF Compression Tips

Beyond running your file through a gif compressor, these practical tricks can cut size dramatically:

  • Reduce the frame rate — dropping from 30 fps to 15 fps halves the number of stored frames with minimal visual difference.
  • Crop to the action — trim away static borders or unused screen area before compressing.
  • Limit the color palette — many GIFs look fine at 128 or even 64 colors instead of 256.
  • Shorten the duration — every extra second adds dozens of frames; keep clips as brief as possible.
  • Scale down dimensions — a 400×300 GIF is roughly half the size of an 800×600 one.

GIF Compressor vs Converting to Video

Sometimes the best way to shrink a GIF is to stop using the GIF format altogether. Here’s when each approach makes sense:

Use a GIF compressor when…

  • The platform requires GIF (email, Slack, older CMS)
  • You need autoplay without a video player
  • The clip is short (< 5 seconds) and small (< 500×500)

Convert to MP4/WebM when…

  • The file is over 5 MB even after compression
  • You need audio alongside the visuals
  • The platform supports HTML5 video (most modern sites)

Video formats like MP4 and WebM use inter-frame compression and can be 10–20× smaller than an equivalent GIF. If file size is critical and compatibility allows it, converting is often the smarter move.

Related Tools