Why GIFs are so heavy
GIF is an image format from 1987, not a video format. Every frame is stored as a picture with at most 256 colours, and the compression only works well on areas of flat, identical colour. A GIF has no idea that one frame is similar to the next, the trick that makes video small. That is why a five-second GIF can be larger than a one-minute MP4.
The size of a GIF depends on four things: the width and height, the number of frames per second, the number of colours, and how much noise the picture has. Film grain, gradients and camera shake all make the file bigger, because they break up the areas of flat colour.
What each setting does
| Setting | Effect on size | Watch out for |
|---|---|---|
| Width | Halving the width makes the frames about four times smaller | Small text becomes hard to read |
| Frame rate | 10 fps needs a third fewer frames than 15 fps | Fast motion looks jerky below 10 fps |
| Colours | 64 or 32 colours make the file noticeably smaller | Skin and sky can show bands |
| Dither | Smooths bands but adds a little size | Adds a fine dot pattern |
| Skip repeated frames | Drops frames that look the same as the one before | Nothing; pauses simply last as long as before |
The levels use these combinations: High quality is up to 480 px wide at 15 fps with 256 colours, Balanced 360 px at 12 fps with 128 colours, and Smallest 280 px at 10 fps with 64 colours. On top of that, the compressor always stores only the part of each frame that changed, which helps a lot for screen recordings and reaction GIFs with a still background.
Hitting a size limit
Chat apps, forums and email often limit attachments to a few megabytes. In Target size mode, the width, frame rate and colours go down step by step until the GIF fits. Then the real file is measured and made again if it is still too big. Settings you fixed yourself stay as they are, so you can, for example, keep the width and let the tool reduce colours and frame rate. If a long GIF still won't fit, shorten it in the GIF editor, where you can also delete single frames.
Sometimes a GIF isn't the best choice
Many websites and messengers accept short MP4 videos, which loop just like a GIF and are often ten times smaller. You can open a GIF in the GIF editor and export it as MP4 or WebM. To add music, see Add Audio to GIF, which makes a video because GIFs can't hold sound. To make a new GIF from a video with your own width, frame rate and loop setting, use MP4 to GIF.
GIF compression runs through a built-in engine in your browser. It is slower than video compression, and long or wide GIFs take a while, but nothing is ever uploaded.