How to make a good GIF from a video

We made the same GIF at eight settings and measured each one. Here is what decides whether yours is 1 MB or 7 MB.

Video to GIFTurn a moment of a video into a GIF. Free, no upload.
Video to GIF open in AllFreeVideo with a sample video
Video to GIF with one of our sample clips.

Why GIFs get so large

The GIF format is from 1987. It saves every frame almost like a separate picture, with at most 256 colours, and has no clever way of storing movement. A four second GIF can easily be larger than a minute of video. So making a good one is mostly about leaving things out.

Width decides the most

We took four seconds of a dance clip and made it at 12 frames per second in five widths.

WidthFile size
2401.1 MB
3201.7 MB
4803.2 MB
6405.0 MB
8007.2 MB

From 480 to 800 the picture is not twice as useful, but the file is more than twice as large. 480 is sharp enough for chats, documents and most web pages. Go to 640 only when there is text that must be readable.

Frames per second come next

The same clip again, always 480 wide:

Frames per secondFile size
82.1 MB
123.2 MB
154.0 MB
205.3 MB

Twelve looks smooth for nearly everything. Eight is fine for a screen recording where a mouse moves and a menu opens. Twenty only helps fast sport and dance.

Step by step

  1. Open Video to GIF and choose your clip.
  2. Drag the handles around two to four seconds.
  3. Set the width to 480 and the frames to 12.
  4. Look at the estimate. If it is too large, shorten the clip first, then lower the width.
  5. Make the GIF and watch it loop a few times.

A loop without a jump

The eye notices the moment when a GIF starts again. Look for a start and an end where things are in nearly the same position: a wheel, a nod, a wave on the beach. If there is no such place, turn on “Play forwards, then backwards”. The last frame then always leads back into the first. It doubles the number of frames, so make the clip shorter to balance it.

When an MP4 is the better GIF

On your own website, a short silent MP4 looks better, has all its colours, and is far smaller. Our four seconds would take well under 1 MB at the same width. Set it to play automatically, muted and looped, and nobody can tell the difference. Use a real GIF where only a GIF moves by itself: emails, forums, and many chat and documentation tools. If someone sent you a GIF and you need a video, GIF to MP4 goes the other way.