Skip to main content
VideoMay 14, 20264 min read

How to Convert a Video to a GIF (Small, Sharp and Free)

Turn an MP4, MOV or WebM clip into an animated GIF in seconds. The right frame rate, width and duration to get a light GIF that still looks good.

#gif#video to gif#mp4 to gif#animated gif
How to Convert a Video to a GIF (Small, Sharp and Free)

Why GIFs Are Still Everywhere

The GIF format dates back to 1987, and yet it's still everywhere: reactions in Slack and Discord, product demos in a README, tutorials in documentation, animations in newsletters. Its secret is universal compatibility: a GIF plays automatically, in a loop, without sound, without a play button — in emails, on GitHub, in chat apps and in almost any tool that displays images.

Its weakness is weight. A GIF is a sequence of images limited to 256 colors, with very basic compression. Converted without care, a 10-second clip can easily exceed 20 MB.

The three settings that make a GIF light

Frame rate (fps), width in pixels, and duration. Lower these three and your GIF goes from 20 MB to 2 MB without looking worse.

Convert a Video to a GIF in 3 Steps

The video to GIF converter runs FFmpeg directly in your browser (WebAssembly): your video is never uploaded.

Convert video to GIF

Make an animated GIF from a video clip, with no upload.

Try it for free

1. Import Your Video

MP4, MOV (iPhone), AVI, MKV and WebM are accepted, up to 100 MB.

2. Choose the Part to Convert

Use the start and duration sliders to select the exact moment. A GIF can cover up to 30 seconds of video — but the shorter, the better: most good GIFs last 2 to 6 seconds.

3. Set Frame Rate and Size, Then Convert

Choose the frames per second and the width, launch the conversion and download your GIF. It loops infinitely by default.

The Right Settings for Each Use

UseFPSWidthDuration
Reaction GIF, meme10320–480 px2–4 s
Product demo / UI in a README10–15640–800 px5–10 s
Tutorial in documentation10800 px5–15 s
Email newsletter8–10480–600 px2–5 s
Smooth animation15–20480 px2–3 s

10 fps is the best compromise in most cases. Going from 10 to 20 fps roughly doubles the weight for a gain in smoothness that's only noticeable on fast movements.

Why Is My GIF So Heavy?

The weight of a GIF is roughly proportional to: width × height × number of frames. A few concrete consequences:

  • Halving the width divides the weight by about 4 (the height is halved too).
  • Halving the fps divides the weight by about 2.
  • Halving the duration divides the weight by 2.

Scenes with lots of movement, gradients or film grain compress poorly. Screen recordings with flat colors, on the other hand, give very light GIFs.

Tips for a Better GIF

  1. Trim before converting — use the video trimmer if you want to isolate the clip precisely first.
  2. Speed up long demos — a 20-second demo played at 2x with the video speed tool becomes a 10-second GIF.
  3. Crop the useless parts — a GIF of a whole screen when only one button matters is wasted weight.
  4. Avoid text that's too small — at 480 px wide, interface text becomes unreadable.

GIF or Video?

If the platform supports it (website, Twitter/X, most social networks), a short MP4 or WebM is 5 to 10 times lighter than the equivalent GIF and has millions of colors. Keep the GIF for places where video doesn't play automatically: emails, READMEs, some chat apps and documentation tools.

Conclusion

A good GIF is short, not too wide and around 10 fps. With these three settings and a converter that runs in your browser, you go from a video to a light, shareable GIF in a few seconds — without installing software or uploading your video.

Share this article

Ready to compress your video ?

Free, fast, and no sign-up required.

Try it now

Related articles