Compress a GIF — Keep It Animated
Shrink an animated GIF with fewer colours, lossy frame matching, smaller dimensions or fewer frames — or pick a target like 256 KB and let it find the settings. Runs on your device; nothing is uploaded.
Updated September 2026 · Free · Works entirely in your browser
The four things that make a GIF big
A GIF's size is roughly pixels per frame × number of frames, discounted by how well each frame compresses. GIF compression (LZW) works by finding repeated runs of the same colour, so anything that breaks those runs — camera noise, dithering, smooth gradients, lots of colours — makes the file grow. Each control on this page attacks one part of that:
| Setting | What it changes | What you may notice |
|---|---|---|
| Lossy | Pixels that changed only slightly since they were last drawn are left as they were, so they compress as one long transparent run | Light: almost nothing. Strong: slight smearing in fades and gradients |
| Colours | Each frame gets a smaller palette (GIF allows up to 256) | Banding in skies, skin and shadows below about 64 |
| Dimensions | Fewer pixels in every frame — 50% keeps a quarter of them | A smaller picture; text may soften |
| Frames | Keeps every 2nd or 3rd frame; their delays are added together so the playing time is unchanged | Jerkier motion on fast action |
What the compressor always does
Before any of those settings, each frame after the first is compared with what is already on screen. Pixels that have not changed are written as transparent and the previous frame is left in place, which is how well-made GIFs keep a still background almost free. On a screen recording or a meme with a static backdrop, that step alone can make a big difference, and with Lossy off nothing is thrown away beyond fitting each frame into a 256-colour palette — which a GIF already is. It needs solid frames, so if your GIF has transparent areas, either keep them (frames are then written whole) or fill them with the colour of the page or chat it will sit on.
Hitting a size limit
Pick a target and the compressor works through ten steps, stopping at the first one that fits. It gives up the least visible detail first: light lossy matching, then colours, then 85% and 75% dimensions, then every second frame, down to 40% size, 16 colours and every third frame. The settings it used are shown under the result, so you can switch to manual and fine-tune from there. For emoji, it is usually better to resize the GIF to the exact emoji size first (128 × 128 for Discord), then compress — a small GIF needs far less squeezing.
When not to use a GIF at all
If the site or app accepts video, an MP4 of the same clip is usually a fraction of the size of even a heavily compressed GIF and keeps full colour: use GIF to MP4. For still images, the image compressor gets JPG, PNG and WebP files under a kilobyte target the same way.
Gear we recommend for this workflow
As an Amazon Associate we earn from qualifying purchases. Affiliate disclosure.

SSK Portable SSD 1TB External Solid State Hard Drive USB C Up to 1050MB/s
Best for photographers backing up thousands of RAW files
$169.99
Check price on Amazon
Dell 27 Monitor S2725QS, 4K UHD IPS, 120Hz, 5ms, FreeSync Premium
Best for accurate color when editing photos
$268.99
Check price on Amazon
Adobe Photoshop | Photo, Image, and Design Editing Software | 12-Month Subscription with Auto-Renewal, PC/Mac
Best for professional photo editing
$263.88
Check price on Amazon
OCQOTAT Photography Cheat Sheet for DSLR Camera Accessories for Canon Nikon Sony,Quick Reference Cards Photographers Book for Beginners,Settings,Exposure, Modes,Composition,Lighting, etc.4×3 Inch
Best for learning photography basics
$9.99
Check price on AmazonPrices as of Sep 29, 2026, 4:41 AM UTC. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon.com at the time of purchase will apply to the purchase of this product.
Frequently Asked Questions
Everything you need to know about image conversion.