Free browser tool
Free GIF Compressor
To compress a GIF, drop it below and pick a target size, like under 10 MB for GitHub or 256 KB for a Discord emoji. The GIF is re-encoded in your browser with a smaller width, frame rate or colour palette, and you see the before and after size. Nothing is uploaded.
- No upload
- No sign-up
- No watermark
- Target size presets
Drop a GIF here or click to browse
Animated GIFs of any size · compressed in your browser
Choose GIFSponsored by the makers
Tired of boring screen recordings?
Try Screen Charm.
Auto-zoom, captions, motion blur, camera overlay and a vertical layout for Shorts. Record once, export a polished video.
Screen Charm is a native macOS app.
How to compress a GIF in 3 steps
Drop your GIF
Select or drag in an animated GIF. The tool reads its size, frame count and duration. Nothing leaves your device.
Pick a size or settings
Choose a target like 10 MB or 256 KB, or set width, frame rate, colours and dithering yourself.
Compare and download
Check the original and compressed GIF side by side with their file sizes, then download the smaller one.
What each setting does
Width
The biggest lever. Going from 1200 px to 600 px wide removes about three quarters of the pixels in every frame.
Frame rate
Screen recordings and UI demos read fine at 10–15 fps. Fewer frames means a smaller file; the GIF still plays at the same speed.
Colours
A GIF can hold at most 256 colours. Interfaces with flat colours often look identical at 64–128 and get smaller.
Dithering
Ordered dithering compresses best. Diffusion looks smoothest on gradients but makes bigger files. None gives flat colour with possible banding.
GIF size limits worth knowing
| Where | Limit | Tip |
|---|---|---|
| GitHub (issues, PRs, READMEs) | 10 MB per GIF | Keep demos around 800 px wide |
| Discord upload (free) | 10 MB | Or send an MP4 instead |
| Discord emoji | 256 KB | 128×128, short loop |
| Slack emoji | 128 KB | 128×128, few colours |
Making a GIF from a screen recording? Start with the video to GIF converter and keep the clip short. If the platform plays video, the GIF to MP4 converter gives you a far smaller file. More tips in how to create an animated GIF from an MP4.
Frequently Asked Questions
How do I compress a GIF for free?
Drop your GIF into the compressor, pick a target size such as 10 MB or 2 MB, and click Compress GIF. The tool re-encodes the GIF in your browser, trying smaller settings until it fits, then shows the before and after size. Download the result. No sign-up and no watermark.
Is my GIF uploaded anywhere?
No. Compression runs locally with FFmpeg compiled to WebAssembly. The first run downloads the engine (about 30 MB) from a public CDN, then your GIF is processed on your device and never sent to a server.
How does the GIF compressor make files smaller?
It rebuilds the GIF with FFmpeg: it can scale it down, drop frames to a lower frame rate, and build a new, smaller colour palette (palettegen) that is applied with your choice of dithering (paletteuse). Only the changed area of each frame is stored. Width and frame rate save the most; fewer colours helps on top.
Does it use lossy LZW compression like gifsicle?
No. This tool does not do gifsicle-style lossy LZW. It reduces size by resizing, dropping frames and reducing colours, which is what makes the biggest difference for screen recordings and UI demos.
How do I get a GIF under 10 MB for GitHub?
Pick "Fit a size" and 10 MB. GitHub accepts GIFs up to 10 MB in issues, pull requests and README attachments. For README demos, 800 px wide at 10–15 fps usually looks sharp and loads quickly.
Can I make a GIF small enough for a Slack or Discord emoji?
Yes. Pick 128 KB for Slack or 256 KB for Discord. Emoji GIFs need to be tiny, so the tool will scale the GIF down toward 128 px wide and cut colours. Start from a square, short GIF for the best result.
Why is my compressed GIF bigger than the original?
Some GIFs are already tightly optimised. Re-encoding at the same size and colour count can come out larger. The tool tells you when that happens; keep the original or pick a smaller width, lower frame rate or fewer colours.
Will the GIF still loop and play at the same speed?
Yes. Dropping frames keeps the total duration, so playback speed stays the same. The compressed GIF is saved to loop forever, which is what almost every GIF does.
What is the best way to make a GIF much smaller?
Convert it to MP4. A short MP4 is typically 80–90% smaller than the same GIF with better colour, and GitHub, Slack and Discord all play MP4 inline. If you need a real GIF, shorten it and keep it narrow.
Related guides
More Free Tools
MP4 to GIF Converter
Convert MP4 and other videos to GIF in your browser. Trim, adjust, download.
MOV to MP4 Converter
Convert MOV, MKV, AVI, or WebM to MP4 in your browser. No upload, no watermark, no quality loss.
Loom Video Downloader
Paste a Loom share link and download the video as an MP4. No sign-up, no extension, no watermark.
Sponsored by the makers
Tired of boring screen recordings?
Try Screen Charm.
Auto-zoom, captions, motion blur, camera overlay and a vertical layout for Shorts. Record once, export a polished video.
Screen Charm is a native macOS app.