GIF to MP4 / WebM

Turn a heavy animated GIF into a small MP4 or WebM — converted in your browser, nothing is uploaded.

Video

GIF to MP4 / WebM

Animated GIFs are huge. Convert one to an MP4 (H.264) or WebM (VP9) video and it typically shrinks by 5-10x while looking the same. Everything runs in your browser with ffmpeg; the GIF is never uploaded.

How it works

Notes

FAQ

Is my GIF uploaded?

No — ffmpeg runs in your browser tab; the file never leaves your device.

Which format is smaller?

WebM (VP9) is usually smaller; MP4 (H.264) plays everywhere. Try both.

Is there a file-size limit?

Yes — the input GIF and the output video are each capped at 25 MB. Since conversion typically shrinks a GIF 5-10x, the input cap is the one you're more likely to hit.

Why is my video one pixel smaller than the GIF?

H.264 and the yuv420p pixel format require even width and height, so a GIF with an odd dimension (say 481×270) is scaled down by one pixel to the nearest even size using a Lanczos filter. Even-sized GIFs come through at their original dimensions.

Why doesn't the converted video loop like the GIF did?

MP4/WebM streams don't carry a "loop forever" flag — looping is a player setting. Add the loop attribute to your HTML <video> tag (or enable repeat in your player) and it will cycle just like the GIF.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool gif-to-mp4 'url=https://example.com/input' 'format=mp4'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/gif-to-mp4/?format=mp4&url=https://example.com/input

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.