GIF to MP4

Convert to video for a fraction of the file size.

How to use GIF to MP4

  1. Drop an animated GIF onto the upload area.
  2. Choose a quality: Low, Medium or High.
  3. Click Convert to MP4.
  4. Preview the video and click Download MP4.

GIF is a genuinely inefficient format for video-like content — every frame is limited to 256 colours and compressed with a general-purpose scheme never designed for motion. H.264 video compression is built specifically for this, which is why converting a GIF to MP4 usually shrinks the file dramatically while looking at least as good, often better (full colour instead of a reduced palette).

This uses your browser's own built-in video encoder (the WebCodecs API) to do real H.264 encoding directly on your device — no upload to a server, and no multi-megabyte conversion library to download first.

The catch: MP4 doesn't auto-play and loop on most platforms the way a GIF does by default — where you're using it matters. For a page you control, a looping, muted, autoplaying <video> tag gets you the same effect at a fraction of the bandwidth.

Questions

Why isn't this supported in my browser?

It depends on the WebCodecs API for real H.264 encoding, which isn't available in every browser yet. Try a recent version of Chrome or Edge.

Will an MP4 loop automatically like a GIF does?

Only if the page embedding it sets that up (a <video> tag with loop, autoplay and muted attributes) — MP4 itself has no built-in "loop forever" behavior the way GIF does. If you need a file that just loops anywhere it's dropped with zero extra setup, keep the GIF.

Which quality setting should I use?

Medium is a good default for most animations. Use High for anything with fine detail or a lot of motion, and Low if the source GIF was already fairly simple — the file will shrink further with little visible difference.

Is my GIF uploaded anywhere?

No. It's decoded and re-encoded to MP4 entirely in your browser — the file never leaves your device.

Guides

Related tools