ThumbCraftedTry Free Editor
Free · Private · Nothing uploaded

GIF compressor: shrink a GIF to the size you need

Pick a size, such as 256 KB for a Discord emoji or 10 MB, and the page finds the settings that fit.

It first repacks your GIF without changing a pixel. If that is not small enough, it tries fewer colours, then a smaller size, then fewer frames, and tells you plainly when a size cannot be reached without wrecking the GIF. Your GIF never leaves your device.

Drop or click to choose

Drag and drop, or paste a GIF file

Animated GIF, up to 80 MB on a computer or 25 MB on a phone

Nothing uploaded Size targets Before and after side by side
Working...

Original

Your original GIF

Result

Your compressed GIFWorking on it...

Facts about your GIF, before and after
FactBeforeAfter

Compress to a size

Or set it yourself

Dithering, when colours are reduced

off

Frames

100%
Download GIF

How to compress a GIF to a file size

1

Choose your GIF

Drop it on the box, choose it from your files, or paste it. It is read by your browser and never sent anywhere.

2

Check the repack

The page repacks it straight away without changing a pixel, and shows the size before and after.

3

Pick a size

Tap 256 KB, 512 KB, 1, 2, 5, 10 or 20 MB, or type your own. The page tries settings until one fits, and lists every try.

4

Compare and download

Watch the original and the result play side by side, then download the smaller GIF.

Sizes people compress GIFs to, and where they come from

These are the limits from each platform's own help pages. Platforms change them, so the link is the place to check.

Where it goesThe limitSource
Discord custom emojiUnder 256 KB; shown at up to 128 x 128 pixels. JPEG, PNG, GIF or WebP.Discord: custom emojis, adding emojis
Discord stickerAPNG or PNG, not GIF; exactly 320 x 320 pixels; up to 512 KB.Discord: tips for sticker creators
Discord upload, free account20 MB a file since August 2026; Nitro Basic 50 MB.Discord: file attachments FAQ
Twitch animated emoteA GIF up to 1 MB when Twitch resizes it for you, and up to 60 frames.Twitch Help: animated emotes
Slack custom emojiGIF, PNG or JPG; square images under 128 KB work best; a GIF can have up to 50 frames.Slack Help: custom emoji

Read on 5 December 2026. When you pick a size here, the page aims under it counting a KB as 1,000 bytes, so the file is under the limit whether a site counts a KB as 1,000 or 1,024 bytes. Sizes on this page are shown with a KB of 1,024 bytes, next to the exact byte count.

How the compressor makes a GIF smaller

A GIF can shrink in five ways. The page tries them in the order that costs the least to look at:

  1. Repack. Each frame stores only the rectangle that changed since the frame before, unchanged pixels inside it become see-through, and identical frames in a row become one longer frame. No pixel changes. This runs as soon as the GIF is read.
  2. Fewer colours. A GIF holds up to 256 colours. Going to 128 or 64 makes the file smaller; a dither pattern hides the steps that appear in smooth gradients.
  3. Ignore tiny changes. A pixel that changed by less than a small amount since the last frame keeps its old colour, so fewer pixels need storing. This helps most with GIFs made from video, where noise changes every pixel in every frame.
  4. Smaller dimensions. File size follows the number of pixels, so 75% of the width and height is about 56% of the pixels.
  5. Fewer frames. Keeping every 2nd frame halves the frames. Each kept frame plays for the time of the ones dropped after it, so the GIF lasts as long as before.

With a size picked, the page tries 128 and then 64 colours at full size, then shrinks the dimensions, guessing the next size from how far off the last try was. If the picture would have to drop below half its width, it keeps every 2nd frame instead, and below 35%, every 3rd frame with 32 colours. It never goes below 48 pixels on the short side or past every 3rd frame. When even that is too big, it says so and shows the smallest version it made, rather than handing you a smear.

Limits, in numbers

Questions, answered

Is my GIF uploaded?
No. Your browser reads the GIF, the frames are rebuilt and packed again on your device, and hands you the new file from memory. The line under the upload box counts the bytes that leave the page while you work, and it stays at 0. The first time colours have to be reduced to fit 256, the page downloads gifenc, an open-source colour picker of about 9 KB, from cdn.jsdelivr.net; nothing of yours is sent to it, and when that download fails the page uses its own simpler method.
How do I compress a GIF for Discord?
Choose your GIF and tap the size for where it is going: 256 KB for a custom emoji (the page also fits it inside 128 x 128 pixels, the largest Discord shows an emoji), or 20 MB to post it in a chat from a free account. Discord's limits are linked in the sources table above.
Can I compress a GIF to 256 KB?
Usually, yes. Tap 256 KB and the page tries fewer colours, then smaller dimensions, then fewer frames, until the file is under 256,000 bytes. A long GIF with a lot of movement may not fit without looking ruined; then the page says so and shows the smallest version it made.
Can I make a Discord sticker from a GIF?
Not as a GIF. Discord takes stickers as APNG or PNG files at exactly 320 x 320 pixels, up to 512 KB. The 512 KB button here makes a GIF under that size for places that take GIFs; it does not make an APNG.
Does compressing a GIF lose quality?
The repack does not: every pixel stays the same. Fewer colours, ignoring tiny changes, smaller dimensions and dropped frames do change the picture, which is why the page tries them in that order and plays the original and the result side by side so you can judge.
Why is my compressed GIF not smaller?
Some GIFs come out of good software already packed tightly, so repacking them saves nothing. The page tells you when that happens instead of handing you a bigger file. Pick a size, or lower the colours or the size yourself.
What does dithering do?
With fewer colours, a smooth gradient turns into bands. Dithering mixes the nearest colours in a fine pattern so the eye blends them back. Pattern keeps the same dots from frame to frame, which compresses well; diffusion looks smoother on a still frame but can shimmer and make the file bigger.
What are the limits?
Files up to 80 MB on a computer and 25 MB on a phone, up to 4,096 pixels on a side, and up to 1,000 frames on a computer or 500 on a phone. Every frame is held in memory as a full picture at 4 bytes a pixel, so there is also a cap on width x height x frames: 120 million pixels on a computer (about 458 MB of memory) and 32 million on a phone (about 122 MB). A 480 x 270 GIF with 300 frames is 38.9 million.
Is there a watermark?
No. Nothing is drawn on your GIF. The file name starts with ThumbCrafted- and you can rename it.

Continue crafting

Keep going: your GIF carries over to the next tool with no re-upload.

  1. 1GIF LoopLoop it forever, once or N times
  2. 2GIF SpeedRetime it losslessly