Sign up free

GIF Compressor with a Target Size

Pick a size the GIF must fit, or trim its colors, frames and width yourself, and it still plays at the same speed.

or drop files here

Accepts GIF

Encrypted upload. Files are deleted automatically after 1 hour.

About Compress GIF

Use this GIF compressor when an animation is too big for a chat app, an email, a forum or a web page. The quickest way is Target size: tap 500 KB, 1 MB, 2 MB, 5 MB or 8 MB, or type your own limit. The colors go down first, then frames are dropped, then the width gets smaller, step by step until the GIF fits, and the result tells you the size it reached, or that it couldn't get there. A dropped frame's time is added to the one before it, so the animation lasts as long and moves at the same pace.

You can also set everything yourself. Max colors reduces the palette each frame uses: 128 is the default, 64 or 32 cut the size further, and simple graphics can go lower without looking worse. Width scales the whole animation down, with 0 keeping it as it is, and for long or high-frame-rate GIFs, Drop every Nth frame under More options removes every second, third, fourth or fifth frame. The result shows the old and new size and how much smaller the file got.

How to use Compress GIF

  1. 1
    Upload your GIF

    Choose or drop an animated GIF.

  2. 2
    Pick a target size

    Under Target size, tap 500 KB, 1 MB, 2 MB, 5 MB or 8 MB, or type the limit you need.

  3. 3
    Adjust by hand if you like

    Lower Max colors or Width, and use Drop every Nth frame under More options.

  4. 4
    Compress and compare

    Click Compress GIF and check the size it reached before you download.

Why use Cubfile for this

  • Target size

    500 KB, 1 MB, 2 MB, 5 MB, 8 MB or your own limit, reached step by step.

  • Same speed

    A dropped frame's time goes to the one before, so the GIF plays as long and as fast.

  • Colors, frames and width

    Down to 2 colors, every 2nd to 5th frame dropped, and any smaller width.

  • Size report

    See the old and new size and the percentage saved before you download.

FAQ

Compress GIF: questions and answers

How do I compress a GIF to under 1 MB?
Tap 1 MB under Target size and click Compress GIF. The colors are reduced first, then frames are dropped, then the width shrinks, until the file fits. The result says the size it reached, and if a very long GIF still can't get there, it tells you so, and fewer frames or a smaller Width will help.
Can I compress a GIF without losing quality?
At 256 colors the look barely changes, but the saving is small. Every reduction in colors, frames or width trades a little quality for size, so compare the result. A smaller width often costs the least, set here with Width or with Resize Image, and the GIF stays animated.
Why does my GIF look choppier afterwards?
Frames were dropped, either by Drop every Nth frame or by Target size, which drops frames when fewer colors aren't enough. Set Drop every Nth frame to 0 and choose a larger target or a smaller Width instead. Cutting off unneeded edges with Crop Image saves space too, and the animation keeps playing.
How big a GIF can I upload?
Visitors and free accounts can upload GIFs up to 50 MB, with 2 tasks in total or 2 a day. VIP takes files up to 1 GB without a daily limit.
Are my GIFs stored after I use the GIF compressor?
For one hour only, then they're deleted automatically. They're uploaded over HTTPS and processed in an isolated process that nobody looks into.
Share Compress GIF with a friendIt runs in any browser, and they can try it without signing up.

Related tools

IMG Compress ImageShrink JPG, PNG, WebP and GIF with no visible loss, in bulk.
QR QR Code GeneratorMake QR codes for links, text, Wi-Fi and contacts, with your logo and colours.
IMG Resize ImageResize by pixels, percentage or social media preset, in bulk.
KBIMG Compress Image to KBHit an exact size like 20 KB, 50 KB or 100 KB for upload forms.
IMG Crop ImageCrop freely or to 1:1, 4:3, 16:9 and more. Animations stay animated.
GIF GIF MakerTurn images into an animated GIF, WebP or APNG with your timing.
😆IMG Meme GeneratorAdd captions and emoji to a picture or GIF and save the meme or sticker.
IMG Stitch ImagesJoin screenshots vertically or side by side into one image.