MP4 to GIF Converter
Convert short MP4 video clips into animated GIF files in your browser. Set frame rate and size. Free, private, nothing uploaded to any server.
🖼️ Image Tools
Free
Browser-based
MP4 to GIF — How It Works
The video is seeked frame-by-frame using a hidden <video> element. Each frame is drawn onto a canvas at the target dimensions, then all frames are encoded into a GIF using the gif.js library running in Web Workers. The output is a looping animated GIF ready for sharing.
Optimising Output Size
| Setting | Effect on size | Recommendation |
|---|---|---|
| Duration | Linear — 6 s = 2× the size of 3 s | Keep under 5 s for sharing |
| Frame rate | More fps = more frames = larger | 8–12 fps works for most clips |
| Width | 480 px is a good web default | Use 320 for messaging apps |
GIF Size Warning
GIFs are much larger than the equivalent video. A 3-second 480 px clip at 15 fps typically produces a 2–8 MB GIF. For web use, consider the <video autoplay loop muted playsinline> approach instead — it is 10–20× smaller and visually identical.