GIF → MP4

GIF to MP4 Converter — Free, In Your Browser

Drop an animated GIF, get an MP4 that looks identical and is roughly 25 times smaller. Modern Slack, Twitter, Discord, and iMessage all autoplay MP4 the same way they autoplay GIFs — there is almost no reason left to ship the GIF version.

  • No upload
  • No signup
  • No watermark
  • ~25× smaller files
  • H.264 output

Files never leave your browser. The conversion runs locally on your device.

The case against GIFs in 2026

GIF is a 1987 image format. It tops out at 256 colours per frame, has no real inter-frame compression, and ships every animation as if it were a flipbook. That is why a 5 MB GIF can become a 200 KB MP4 with the same visuals — H.264 actually compresses motion, while GIF basically does not. The original argument for GIFs ("they autoplay everywhere, video does not") stopped being true years ago. Slack, Twitter, Discord, iMessage, Notion, and most modern CMSes all autoplay short MP4s the same way they autoplay GIFs.

What this tool does, exactly

We re-encode the GIF's frames to H.264 at CRF 23, force yuv420p pixel format for hardware-decoder compatibility, and wrap the result in MP4 with +faststart so it begins playing immediately when streamed. There is also a small but important detail: H.264 requires even pixel dimensions, and plenty of GIFs are odd-numbered (e.g. 481×271). We use scale=trunc(iw/2)*2:trunc(ih/2)*2 to round down to the nearest even pair before encoding, so the conversion never fails on an odd-sized source.

What about audio?

GIFs are silent, so the output MP4 is silent too — but unlike the GIF, you can now add audio to it later in any editor without re-converting from scratch. That is a frequently useful escape hatch: you take an existing meme GIF, convert it once, and now it can carry a soundtrack on the second pass. The reverse — adding audio to a GIF — is not a thing that exists.

Adjacent tools you might want

Going the other direction (clip → animated GIF, for the rare cases that still call for it) is MP4 to GIF. If you also need to silence an existing video for an autoplay-muted social embed, Mute video does that as a stream-copy in seconds. And if you are creating screen recordings that keep ending up as GIFs by mistake, Clipy records straight to a shareable MP4 link with no watermark — the cleanest path to modern, autoplay-friendly screen captures.

Common questions

Why is the MP4 so much smaller than the GIF?

Because H.264 actually compresses motion across frames, while GIF essentially stores each frame independently with a 256-colour palette. For typical screen-capture or meme animations, MP4 lands around 4–10% the size of the GIF with no perceptual quality loss.

Will the MP4 loop like the GIF did?

Most modern platforms (Slack, Twitter, Discord, iMessage, Notion) autoplay and loop short MP4s automatically — same behaviour you got from the GIF. For self-hosted HTML5 video you can add the loop attribute on the video tag.

What if my GIF has odd dimensions?

We handle it automatically. H.264 needs even pixel dimensions, so we round down to the nearest even pair (e.g. 481×271 becomes 480×270) before encoding. The visual difference is imperceptible.

How big a GIF can I convert?

About 500 MB in the browser, which covers basically any GIF you would actually be sharing — most sit under 20 MB. Beyond that the WebAssembly memory ceiling becomes the bottleneck.

Is the file uploaded anywhere?

No. The whole conversion runs in your browser via FFmpeg compiled to WebAssembly. The GIF never reaches our servers, our CDN, or any third party. You can verify this in your browser's network tab.

More free tools