Animated GIFs to the size you need

Compress GIF

Make an animated GIF smaller, or get it under an exact size like 256 KB, 1 MB or 10 MB, with the animation playing just as long.

Last updated: November 2026

Any size

KB or MB target

Same length

Loop kept

8 platforms

Size presets

Private

No uploads

How to compress a GIF to a specific size

01

Add your GIFs

Drop one GIF or many. Each one shows its size, frames and length.

02

Pick a size

Choose 256 KB, 1 MB, 5 MB, 10 MB or another size, type your own, or pick where the GIF is going, such as Discord emoji or email.

03

Compress

The tool tries up to eight times to get under the size, starting with the changes that show least, and tells you what it changed.

04

Check and download

Play the result next to the original, then download one GIF or a ZIP of all of them.

GIF size limits by platform

  • Slack emoji

    Square images under 128 KB work best; GIFs up to 50 frames. Slack Help Center

    128 KB

  • Discord emoji

    Under 256 KB, as GIF, PNG, JPEG or WEBP. Discord Support

    256 KB

  • Kick emote

    PNG or GIF, up to 500 x 500 px, under 1 MB. Kick Help Center

    1 MB

  • Email (Mailchimp)

    Mailchimp advises keeping GIFs under 1 MB. Some Outlook versions show only the first frame. Mailchimp

    1 MB

  • LinkedIn link or ad

    Animated GIFs up to 5 MB and 300 frames. LinkedIn Help

    5 MB

  • Discord profile banner

    PNG, JPG or animated GIF under 10 MB, at least 680 x 240 px (Nitro). Discord Support

    10 MB

  • GitHub

    Images and GIFs in issues, pull requests and comments up to 10 MB. GitHub Docs

    10 MB

  • X (Twitter)

    Animated GIFs up to 15 MB; up to 1280 x 1080 px and 350 frames recommended. X Developer Platform

    15 MB

Each of these is in the tool under Made for. Choosing one sets the size, and for Kick and X also the largest dimensions.

Stickers are different: Discord stickers must be PNG or APNG at exactly 320 x 320 and up to 512 KB, and WhatsApp animated stickers must be WebP under 500 KB, so a GIF won't upload as either. Twitch doesn't publish its animated emote limit on a page we could check; guides say 1 MB, so the 1 MB size is the one to try.

Limits from each platform's own help pages, checked 4 November 2026. Where a platform says KB or MB, this tool counts 1 KB as 1,000 bytes, which fits either way.

How the tool reaches a size

Every GIF is different: lossy compression halves a filmed clip but barely touches a line drawing, while fewer colors do the opposite. So the tool doesn't guess one setting. It compresses, measures, and tries again, up to eight times, using the changes that show least first:

  1. 1.

    Lossy compression, up to 80. Changes pixels slightly where the eye won't notice. Halves most filmed and photo GIFs.

  2. 2.

    Fewer frames per second, down to 12. Keeps every 2nd frame (or 3rd) and gives it the time of the dropped ones, so the length stays the same.

  3. 3.

    Smaller dimensions. The surest way down. Before going under 60% of the size, the frame rate may drop to 8 per second instead.

  4. 4.

    Stronger measures last. Heavier lossy compression only when the GIF can't get smaller in pixels.

For renders, line art and diagrams, where lossy compression does little, it tests 64 colors instead and keeps whichever works better. It then keeps the result that fits with the fewest changes, not simply the smallest file, and lists what it changed. Two switches let you rule out fewer frames per second or smaller dimensions.

What it takes: real GIFs we tested

GIFSizeTargetWhat fit
Filmed clip, 1280 x 720, 12 frames3.8 MB256 KBLossy 80 and 494 x 278 px
3D render, 540 x 540, 334 frames at 33 per second10.2 MB5 MBLossy 80 and every 2nd frame, full size
Same render10.2 MB1 MB64 colors, 342 x 342 px, 8 frames per second
Line drawing, 1920 x 1080, 120 frames6.9 MB1 MBLossy 80, 1173 x 660 px, every 2nd frame
Diagram, 800 x 420, 1,001 frames (100 seconds)8.8 MB256 KBNot reached: closest 276 KB at 79 x 42 px. Shorten it first.

Public GIFs from Wikimedia Commons, compressed with this tool on 4 November 2026. Every result kept its original length.

Which size do you need?

  • 128 KBSlack emoji (works best under it)
  • 256 KBDiscord emoji
  • 512 KBA common limit for stickers, though Discord, WhatsApp and Signal stickers don't take GIF
  • 1 MBKick emotes and email newsletters
  • 5 MBLinkedIn link previews and ads
  • 10 MBDiscord profile banners and GitHub
  • 15 MBX (Twitter)

Each linked size has its own page with the tool set to that size, what fitting it took on real GIFs, and tips for that size.

For a size that isn't listed, type it in KB: 2 MB is 2000, 8 MB is 8000. For a still image rather than an animation, Reduce Image Size in KB gives smaller files as JPG or WebP. To get a GIF onto Discord, Compress Image for Discord covers emoji, stickers and uploads together.

Compress a GIF without losing quality

Lossless mode rewrites how the frames are stored, keeping only what changes from frame to frame, without altering a single pixel or the timing. How much it saves depends on the GIF: a filmed clip we tested halved, from 3.8 to 1.9 MB, while one already optimized may not shrink at all.

Balanced mode adds light lossy compression, which is hard to see in moving pictures and usually saves far more. Smaller file and Custom go further. Fewer colors suit cartoons and diagrams but band on photos; dithering hides banding but adds size. The compressor is Gifsicle, the standard open-source GIF optimizer; read more in our lossy versus lossless guide.

Motion, loops and transparency stay as they were

The tool checks each result's length and loop setting against the original and throws away any that don't match. When frames are dropped, each kept frame takes over the time of the ones removed. Frames are never dropped from GIFs with delays under 0.02 seconds, because browsers play those as 0.1 seconds and the GIF would speed up. Transparent areas stay transparent.

Why a GIF won't get smaller

Compressing a long GIF to a tiny size

A 10 second GIF at 256 KB has about 25 KB per second of animation. Trim it to the moment that matters in the GIF Editor first.

Expecting lossless mode to reach a size

Lossless never changes the picture, so it saves only what better storage allows. Choose Balanced or Smaller file for a target.

Saving a sticker as GIF

Discord, WhatsApp and Signal stickers need APNG or WebP. A GIF under 512 KB still won't upload as a sticker.

Adding dithering to save space

Dithering patterns smooth color steps but usually make a GIF bigger, not smaller.

Where a video works, it's the smaller choice: a GIF stores every frame as a picture, while video compresses motion. Where it must be a GIF, trim it in the GIF Editor first, or try GIF to WebP for an animated WebP that many sites accept.

Large GIFs, phones and privacy

There is no upload limit. Large GIFs show a warning, and the tool shows each try as it works: seconds for most GIFs, a few minutes for a 1080p GIF or one with a thousand frames. Phones use lighter optimization to save memory. Cancel stops the current GIF and keeps finished ones.

Your GIFs never leave your device: the compressor loads in your browser when you start, and results stay until you close the page. Comments and frame names are removed; the loop setting is kept.

Compression uses Gifsicle by Eddie Kohler and contributors, in a browser build by renzhezhilu and the wasm-codecs contributors. License notices, GPL v2 license and source and build materials are provided with the engine.

Why use ImgTweak?

✓Reaches the size you choose, or says how close it got
✓Keeps the length and loop of the animation
✓Size presets for Discord, Slack, Kick, email, LinkedIn, GitHub and X
✓Asks before changing frames or dimensions
✓Many GIFs at once, with a ZIP download
✓Nothing uploaded, no account

Frequently asked questions

How do I compress a GIF to a specific size?

Add the GIF, choose a size such as 256 KB, 1 MB or 10 MB (or type your own in KB), and select Compress. The tool tries up to eight settings and keeps the one that changes the GIF least while fitting. The result says whether it reached the size and what it changed. A GIF already under the size is only optimized without changing how it looks, or kept as it was.

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

Choose Discord emoji under Made for, or the 256 KB size. Discord emoji must be under 256 KB. Emoji show small, so the GIF can be made smaller in pixels and play a little less smoothly without it showing much. A profile banner allows up to 10 MB.

Can I compress a GIF without losing quality?

Lossless mode stores the frames more efficiently without changing a pixel. It often saves a little and sometimes nothing, because many GIFs are already optimized. Bigger savings always change something: some grain, fewer frames per second, fewer colors or smaller dimensions.

Why does my compressed GIF have fewer frames?

To reach a small size, the tool may keep every 2nd, 3rd or 4th frame and give each kept frame the time of the ones dropped, so the GIF plays exactly as long as before, just less smoothly. It never goes below 8 frames per second this way. Turn off Play fewer frames per second to keep every frame.

Why is my GIF still too big?

A long GIF, a large one or one full of noise holds a lot of picture. The result then shows the closest size it reached. Shorten it in the GIF Editor, allow fewer frames and smaller pixels, or share it as a video, which is many times smaller than a GIF.

Can I use a GIF as a Discord sticker?

Not as a GIF. Discord stickers must be PNG or APNG (animated PNG), exactly 320 x 320 pixels and no more than 512 KB. GIFs work for emoji (under 256 KB) and profile banners (under 10 MB).

Is 1 MB 1,000 KB or 1,024 KB?

Platforms don't say which they mean, so this tool counts 1 KB as 1,000 bytes and 1 MB as 1,000,000 bytes. A GIF under 256 KB here is under 256,000 bytes, which also fits if the platform counts 1,024.

Will my GIF keep its animation, loop and transparency?

Yes. The length and loop setting are checked before any result is kept, and transparent areas stay transparent. Check the edges of transparent GIFs, which can look rougher with fewer colors.

Is there a file size limit?

No fixed limit. Large GIFs show a warning. Small GIFs take seconds; a 1080p GIF or one with a thousand frames can take a few minutes, and the tool shows each try as it goes.

Are my GIFs uploaded?

No. Compression runs in your browser, and your GIFs never leave your device.

Get your GIF to size

Choose a GIF above, pick a size, and download it once it fits.