GIF to MP4
Convert animated GIF files to MP4 (H.264) or WebM (VP9) — typically 80-95% smaller than the original GIF, with smoother playback. Runs locally in your browser.
Quick answer: Convert animated GIF files to MP4 (H.264) or WebM (VP9) — typically 80-95% smaller than the original GIF, with smoother playback. Runs locally in your browser.
Last updated
Frequently asked questions
- Why convert GIF to MP4?
- GIFs are huge — every frame is a full image with no inter-frame compression. The same animation as MP4 H.264 is typically 5-20× smaller, with smoother playback and audio support if you need it later. Twitter, Reddit and Discord auto-convert uploaded GIFs to MP4 for exactly this reason.
- Is my GIF uploaded?
- No. ffmpeg.wasm runs in your browser. Nothing about your file is sent anywhere.
- What's the difference between MP4 and WebM output?
- MP4 (H.264) plays everywhere — every browser, every device, every social network. WebM (VP9) compresses 20-30% smaller at the same quality but Safari support is patchier and many older video players don't read it. Pick MP4 unless you have a specific reason.
- Will the MP4 loop like the original GIF?
- MP4 has no built-in loop flag, but every web video player loops when you set `<video loop>` or use the loop attribute. Twitter, Reddit and most CMSes loop by default.
- Can I make the file even smaller?
- Yes — set a max width (e.g. 480 px is enough for chat-sized animations). The MP4 typically halves again at 480 px wide vs original. For more control, run the result through the Video Compressor afterwards.
- What's the maximum file size?
- 100 MB input — that's larger than almost any GIF you'll find in the wild (most GIFs are under 10 MB).
- Does it preserve transparency?
- MP4 H.264 doesn't support an alpha channel — transparent GIF pixels become solid black. WebM with VP9 in alpha-mode could in theory preserve transparency but very few players support it. Pick a solid background for the GIF before converting if transparency matters.
- How long does conversion take?
- About as long as the GIF itself plays — a 5-second 480 px GIF takes ~5 s on a typical laptop. The first conversion downloads ffmpeg (~30 MB cached), so allow extra time on the first run.
- Will sound be added?
- No — GIFs have no audio so the resulting MP4 is silent. We pass `-an` to be explicit about it.
- Is the GIF to MP4 converter free?
- Yes — completely free, no signup, no watermark.