GIF compressor.
Smaller GIFs, same animation.

Compress GIF files in your browser with fewer colors, fewer frames or a smaller size. The animation keeps its speed and its loop count. Free, no account, nothing uploaded.

Drop GIFs here

Animated or still, up to 20 at a time, 50 MB each.

or drop them anywhere in this box

Files stay on this device

Your images are compressed by your browser, on this device. Nothing is uploaded to Laxis or anywhere else, and nothing is kept once you close the page.

How it works

How to compress a GIF

Three steps, all in your browser.

  1. Drop your GIFs

    Drop up to 20 animated or still GIFs on the box, or press Choose images. Each can be up to 50 MB.

  2. Choose colors, frames and size

    Each GIF is compressed at once with 128 colors. Change Colors, Frames or Size for a smaller file; the list is compressed again.

  3. Download the smaller GIFs

    Press Download next to a GIF, or Download all (ZIP). A GIF that did not get smaller comes back as the original.

Where it helps

GIFs small enough to share

Chat, forums and email

Get a GIF under the file size limit of a chat app, a forum or an email.

Product demos and how-tos

Screen recordings saved as GIFs load faster on a website or in a help article.

Docs and tickets

Keep a bug report or a document with an animated example light.

Stickers and emoji

Scale an animation down to 75% or 50% when it only needs to be small.

GIF compression, explained

How to make a GIF smaller without changing the animation

How do I compress a GIF?

Drop the GIF on this page. It is compressed at once with 128 colors, every frame and its full size, and the list shows its old size, its new size and how much smaller it got. Press its thumbnail to see it larger, then press Download.

Three settings make it smaller still. Colors sets how many colors the GIF keeps, from 256 down to 32. Frames keeps every frame, every 2nd or every 3rd. Size scales the width and the height to 75% or 50%. Change one and the list is compressed again.

What makes a GIF file large?

A GIF stores every frame as a picture of at most 256 colors, compressed without loss. Its size grows with the number of frames, the number of pixels in each and how busy each picture is.

Video, film grain and dithering, the dotted pattern converters use to fake more colors, compress poorly: our 4-second video clip took 2.8 MB at 480 × 270. Flat pictures compress well: our 2-second animated chart took 89 KB at 640 × 400.

How do I make a GIF smaller in file size?

Cut one of the three things that make it large: colors, frames or pixels. In our tests, 128 colors made four GIFs 31% to 74% smaller, keeping every 2nd frame 41% to 82%, and scaling to 50% 74% to 87%.

The settings add up: every 2nd frame and 50% size together took our video clip from 2.8 MB to 245 KB. The list shows the new size of each GIF, so you can change a setting until it fits a limit.

How many colors does a GIF need?

A GIF has 256 colors at most. At 256, a GIF that already uses 255 colors or fewer keeps every one of them exactly; it gets smaller only through the way its frames are stored, which was less than 1% for our screen recording and video clip.

At 128 colors, the default, our four test GIFs looked nearly the same as before. Screen recordings and charts take fewer colors well: our screen recording looked the same at 32. Video and smooth gradients show bands first: our video clip had them at 32.

Dropping frames without changing the speed

Keep every 2nd frame and half of them are left out; keep every 3rd and two in three are. A dropped frame adds its time to the frame before it, so the animation plays at the same speed and lasts as long as before: our 6-second screen recording went from 60 frames to 30 and still lasts 6 seconds.

The movement looks less smooth with fewer frames, most in fast motion. The loop count stays as it was, whether the GIF plays forever or a set number of times.

Scaling a GIF down

At 75% a GIF keeps a little over half of its pixels, and at 50% a quarter. That is why the Size setting saves the most: our four test GIFs became 74% to 87% smaller at 50%.

Each new pixel is the average of the pixels it replaces, so edges stay smooth instead of jagged. Transparent areas stay transparent.

How the compressor stores the frames

After the first frame, each frame keeps only the rectangle that changed. Inside it, the pixels that stayed the same can be left see-through so the frame underneath shows; the compressor keeps whichever way takes fewer bytes. A frame that is the same as the one before adds its time to it instead of being stored again.

A GIF that was compressed well already can come out the same size or larger, most often at 256 or 128 colors. The compressor then says Not smaller and offers the original; fewer frames or a smaller size usually help.

The words that go with the GIF

A GIF of a screen recording usually explains something: a bug, a new feature, the steps of a task. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the explanation can be said rather than typed. It is free to start.

How much smaller GIFs get

Measured with this compressor on four GIFs: a 6-second screen recording and a 4-second video clip, both made with ffmpeg, a sticker on a transparent background and an animated chart. Sizes as the compressor shows them, 1 KB being 1,024 bytes. The last two columns keep 128 colors.

GIFOriginal128 colors64 colorsEvery 2nd frame50% size
Screen recording, 1,280 × 772, 60 frames184 KB127 KB (−31%)112 KB (−39%)108 KB (−41%)48 KB (−74%)
Video clip, 480 × 270, 48 frames2.8 MB1.7 MB (−37%)1.3 MB (−54%)968 KB (−66%)435 KB (−85%)
Sticker, 240 × 240, 24 frames175 KB113 KB (−36%)107 KB (−39%)55 KB (−68%)36 KB (−79%)
Animated chart, 640 × 400, 31 frames89 KB23 KB (−74%)23 KB (−74%)16 KB (−82%)12 KB (−87%)

At 256 colors the screen recording and the video clip, which use 255 colors or fewer, kept every color exactly and became less than 1% smaller. Every 2nd frame and 50% size together took the video clip from 2.8 MB to 245 KB.

Questions

How do I compress a GIF?

Drop it on this page or press Choose images. It is compressed at once with 128 colors; change Colors, Frames or Size for a smaller file, then press Download. Nothing is uploaded.

How do I make a GIF smaller?

Use fewer colors, keep every 2nd or 3rd frame, or scale it to 75% or 50%. Scaling saves the most: at 50% our four test GIFs became 74% to 87% smaller.

How do I make a GIF smaller in file size?

Cut the frames, the pixels or the colors. In our tests keeping every 2nd frame made GIFs 41% to 82% smaller, and 50% size 74% to 87%. The list shows the new size of each GIF, so you can change a setting until it fits.

Does compressing a GIF change its speed?

No. A dropped frame adds its time to the frame before it, so the animation plays at the same speed and lasts as long as before. The loop count stays as it was too.

Is this GIF compressor free?

Yes, with no account, no watermark and no daily limit. Compress up to 20 GIFs at a time, each up to 50 MB.

Are my GIFs uploaded?

No. Your browser compresses them on your own device. Nothing is sent to Laxis or stored anywhere, and nothing is kept once you close the page.

Why is my GIF not smaller?

It was probably compressed well already. A GIF that uses fewer colors than you chose keeps them all exactly and gets smaller only through the way its frames are stored. The compressor then shows Not smaller and offers the original; try keeping every 2nd frame or a smaller size.

Does it keep transparency?

Yes. Transparent pixels stay transparent in every frame, including where the picture moves over a transparent background.

Can I compress a GIF to a certain size?

Not by typing a size: change Colors, Frames and Size until the new size in the list is under your limit. Scaling to 50% saves the most, then keeping every 2nd frame.

Does it work with still GIFs?

Yes. A still GIF gets fewer colors or a smaller size; the Frames setting leaves it as it is.

Explaining something with a GIF?

Say the explanation instead of typing it. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words. Free to start.

Free to start · No credit card required