Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

GIF compressor.

Make an animated GIF smaller for a chat, an email or a page with a size limit. Drop one or many, compare before and after, and pick your settings or a file size such as 256 KB for a Discord emoji. It runs in your browser, so nothing is uploaded.

Need a custom tool, app or website? Contact us 

Your GIFs are read and written in this tab. Nothing is uploaded.

How it works

Three steps, nothing to install.

01 / Drop

Drop one GIF or many

They are compressed straight away with balanced settings, one after the other.

02 / Compare

See before and after

Drag the line across the GIF and read the sizes. Change a setting or pick a size limit, and it runs again.

03 / Save

Download

One GIF, or all of them in a ZIP file.

Guide

How to compress a GIF, and which setting to touch first.

A GIF compressor makes an animated GIF file smaller by writing it again with less data in it. This one does it in your browser: drop a GIF and it is compressed at once, with the original and the result side by side and both sizes shown. You can pick the settings yourself, or give it a file size, such as 256 KB for a Discord emoji, and let it find the best GIF that fits.

How to use the GIF compressor

  1. Drop a GIF on the box, or click Choose GIFs. You can pick several at once, or paste one you copied.
  2. Each GIF is compressed straight away with Lossy compression on Medium, 256 colours, every frame and the same size.
  3. Drag the line across the picture to compare the original on the left with the result on the right. See at full size shows it pixel for pixel.
  4. Read the sizes at the top of the settings: the original, the new size and how many percent smaller it is.
  5. To go smaller, change a setting, or set Aim for to A file size and pick a limit. Every change runs again on its own.
  6. Click Download the GIF. With several GIFs, click a row to see it, use the arrow on a row to save just that one, or Download all as ZIP. Each file ends in -compressed.gif.

Your settings are kept in this browser for next time; the GIFs are not. Reset settings brings back the starting values.

What each setting does

A GIF stores every frame as a grid of pixels, each pointing at a colour in a list, packed with a method called LZW that does best on long runs of the same colour. Here is what each setting cuts:

SettingWhat it doesWhat you may see
Lossy compressionTreats a pixel that barely changed since the last frame as unchanged, so it is not stored again, and lets a pixel take its neighbour's colour when they are close, which makes longer runsLight: hard to spot. Medium: fine grain smooths out. Strong: streaks in smooth areas
ColoursBelow 256, one shorter colour list is used for every frameSteps in skies, skin and shadows at 64 or fewer
FramesKeeps every 2nd, 3rd or 4th frameMotion less smooth; the speed stays the same
SizeShrinks the width and height, from 90 down to 25 percentA smaller picture

Off for Lossy compression adds no loss of its own: with 256 colours, every frame and the same size, the frames come out as they went in. Frames that are exactly the same as the one before are always joined into one, with their times added together, which costs nothing you can see.

Compress a GIF to a file size

Set Aim for to A file size, then pick a preset or type a number in KB or MB. Here 1 KB is 1,000 bytes and 1 MB is 1,000,000, so a result under the limit is also under it on sites that count 1,024. The presets come from each service's own help page, checked 17 Oct 2026:

  • Discord emoji, 256 KB: Discord says custom emojis must be under 256 KB (How to Add Custom Emojis on Discord).
  • Slack emoji, 128 KB: Slack says square images under 128 KB work best and GIFs can have up to 50 frames (Add custom emoji and aliases), so this preset also keeps 50 frames at most.
  • Discord upload, 20 MB: the upload limit without Nitro (File Attachments FAQ). Discord notes it is trying other limits with some users.
  • Gmail, 25 MB: the attachment limit for personal Gmail accounts (Gmail Help). Work and school accounts can differ.

To reach the size, it first tries the full picture with light lossy compression, then with medium lossy compression and 128 colours. If that is still too big, it shrinks the picture by the square root of how far off it was, since the file grows with the number of pixels, and tries again. When the short side would go under 120 pixels, it keeps every 2nd frame instead of shrinking further. Once a try fits, it steps back up to use the room that is left, and keeps the best GIF that fits. The summary says how many tries it took. If nothing fits, it keeps the smallest try and says so; crop the GIF or cut its length first. A GIF that is already under the limit and cannot get smaller is kept as it is.

Which setting to touch first

  1. Lossy compression. Medium often saves a lot with little to see; check with the line before you go to Strong.
  2. Size. If the GIF is shown smaller than it really is, shrinking it costs you nothing you can see.
  3. Frames. Every 2nd frame is often hard to spot on screen recordings and video clips.
  4. Colours last. 128 looks close to 256 on many clips; at 64 or fewer, smooth areas show bands.

When a GIF will not get smaller

A GIF that was already well optimised may hardly shrink with light settings, and the summary says Not smaller when that happens. Combine settings: Strong lossy with every 2nd frame often does more than fewer colours alone. Compress from your original each time, not from an already compressed copy, so the loss does not build up.

If the place you post accepts video, GIF to MP4 usually gives a much smaller file. To set an exact width instead of a percentage, use the GIF resizer, and to cut away the edges, crop the GIF.

Questions

Good to know.

Is my GIF uploaded?

No. It is read and written in this tab with your browser, so it never leaves your computer.

Can I compress a GIF to an exact size, like 1 MB?

Yes. Set Aim for to A file size, type 1 and pick MB. It tries smaller sizes, fewer colours and fewer frames until the GIF fits, and keeps the best one that does.

How do I get a GIF under 256 KB for a Discord emoji?

Set Aim for to A file size and click Discord emoji, 256 KB. Discord's own limit for custom emojis is under 256 KB (checked 17 Oct 2026).

Can I compress several GIFs at once?

Yes. Drop them together or click Add more GIFs. Each gets the same settings, and Download all as ZIP saves them in one file.

Which setting saves the most?

It depends on the GIF. Lossy compression and a smaller size usually save the most; dropping frames comes next, then fewer colours. Watch the sizes as you change them.

Does compressing a GIF lower its quality?

Only in the ways you choose. With Lossy compression off, 256 colours, every frame and the same size, the frames come out as they went in. Drag the line to compare.

Does it change how long the GIF plays?

No. When frames are dropped, the kept frames stay on screen longer, so the GIF plays at the same speed and length.

Why is my GIF not smaller?

A GIF that is already well compressed can come out the same size or larger with light settings. Try Strong lossy, every 2nd frame or a smaller size.

Why do I see streaks or bands after compressing?

Streaks come from Strong lossy compression, and bands from fewer colours. Step back to Medium or 128 colours and shrink the size instead.

Would an MP4 be smaller?

Usually, by a lot. If the place you share it takes video, use the GIF to MP4 converter.

Can I compress a GIF that is not animated?

Yes. Colours, lossy compression and size work on a single frame too; the frames setting just has nothing to drop.

Which browsers work?

Current Chrome, Edge, Safari and Firefox.

What if my GIF has too many frames for the browser?

Every frame is held in memory while it is worked on. If a GIF would need more than about 3 GB once opened, such as hundreds of full HD frames, the tool says so and does not try, because the tab would crash. Cut it shorter or make it smaller first, for example by making the video clip shorter before it becomes a GIF.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch