Audio & Video

How to Make Short GIFs From Videos (and Keep Them Small)

How to Make Short GIFs From Videos (and Keep Them Small)

Animated GIFs are everywhere: reactions in chat, short product demos and tutorial steps. They are also notorious for large file sizes, because the format is old and inefficient. A few choices make a big difference.

Pick the right moment

Short is better. Aim for two to five seconds that loop naturally. A clean loop, where the last frame resembles the first, feels polished. Avoid moments with heavy camera movement, which create many differences between frames and large files.

Control the three big levers

  1. Width. Halving the width cuts the pixel count to a quarter. For chat or blog use, 320 to 480 pixels wide is often enough.
  2. Frame rate. Videos run at 24 to 60 frames per second, but GIFs look fine at 10 to 15. Fewer frames means a smaller file.
  3. Duration. Every extra second adds frames. Trim ruthlessly.

Understand colour limits

GIF can use only 256 colours per frame. Photographic video can look grainy or banded as a result. Screen recordings and cartoons, which use flat colours, convert much better than live-action footage.

When not to use GIF

A modern short video (MP4 or WebM) can look much better at a fraction of the size, supports millions of colours and can include sound. On websites, many developers embed a muted, looping video instead of a GIF. Use a GIF when you need maximum compatibility, such as email or a comment box that accepts only images.

Workflow

  • Cut the segment you need.
  • Choose width and frame rate.
  • Create the GIF and preview it.
  • If it is bigger than you wanted, reduce width or frame rate before anything else.
  • Test it on a phone.

Practical size targets

  • Messaging and social: under 5 MB
  • Website: under 1 MB if possible
  • Email: under 1 MB so it loads quickly

Accessibility and courtesy

Fast flashing images can trigger seizures in some people. Avoid rapid flashing, and consider offering a pause control or a still alternative. Add alt text describing what happens in the animation.

Copyright

Only turn footage into GIFs if you own it or have permission. A clip from a film or show remains protected even if it is only a few seconds long.

With a short clip, a modest width and a low frame rate, you can create GIFs that load quickly and look good.

Keep reading