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.
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.
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
| Use | FPS | Width | Duration |
|---|---|---|---|
| Reaction GIF, meme | 10 | 320–480 px | 2–4 s |
| Product demo / UI in a README | 10–15 | 640–800 px | 5–10 s |
| Tutorial in documentation | 10 | 800 px | 5–15 s |
| Email newsletter | 8–10 | 480–600 px | 2–5 s |
| Smooth animation | 15–20 | 480 px | 2–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
- Trim before converting — use the video trimmer if you want to isolate the clip precisely first.
- Speed up long demos — a 20-second demo played at 2x with the video speed tool becomes a 10-second GIF.
- Crop the useless parts — a GIF of a whole screen when only one button matters is wasted weight.
- 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
Related articles
How to Trim a Video Online: Cut the Start, the End or Keep a Clip
Remove the boring start of a video, cut the end, or extract the 15 seconds that matter — precisely or in a few seconds without re-encoding. Free, in your browser, no upload.
How to Compress a Video for WhatsApp Without Losing Quality
Reduce your video file size by up to 90% and send them easily on WhatsApp. Complete step-by-step guide.
How to Speed Up or Slow Down a Video Online (0.25x to 4x)
Create a slow-motion effect, a timelapse or a faster tutorial: how to change a video's speed from 0.25x to 4x, keep natural-sounding audio, and avoid choppy results.