Video

Convert GIF to MP4

Your files are processed on your device. We never upload them.

Video is read and written with Mediabunny, under the Mozilla Public License.

How to convert GIF to MP4

  1. 01A ▸Choose your GIFs, or drop them on the page.
  2. 02A ▸Pick how many times the animation plays in the video.
  3. 03A ▸Select Convert to MP4, then download each video.

About GIF to MP4

Where GIF files come from

GIFs come from meme sites, chat apps, and screen recorders. They loop and play everywhere, but store every frame as a picture, so they are large, and Instagram, TikTok, and many upload forms don't accept them.

What changes

  • The animation is encoded as H.264 video, which stores only what changes between frames, so the file is usually far smaller.
  • Each frame keeps its own timing. The video plays the animation once, or 3 or 5 times if you choose.
  • Transparent parts are laid on white. An odd width or height gains one pixel, as video encoders need even sizes.

Measured

A five-second, 480 × 270 GIF of 50 frames made from our 1080p test sample (a synthetic test pattern), converted in Chrome on a laptop. Phone timings are still to be measured.

GIF, 50 frames698 KB
MP4 (H.264)94 KB, in 0.3 seconds
Time on phonesstill to be measured

In your browser

The GIF is read by our own decoder, which works the same in every browser; the MP4 is encoded with the browser's own H.264 encoder (WebCodecs), in Chrome, Edge, Firefox, and Safari 26 or later. Browsers without it show a notice instead.

Limits

  • GIFs larger than the browser's H.264 encoder can take (often above 4K) are scaled down to fit.
  • The MP4 has no sound, as GIFs have none.

Other options

Questions

Are my GIFs uploaded?

No. Your files are processed on your device. We never upload them.

Why convert a GIF to MP4?

Instagram, TikTok, and many sites take videos but not GIFs, and an MP4 is usually far smaller than the GIF it came from, so it loads faster in slides and pages.

Will the MP4 loop?

A video plays once unless the player loops it. Pick 3 or 5 times to repeat the animation inside the video, which helps short GIFs meet a platform's minimum length.

What happens to transparent parts?

Video can't be see-through, so transparent parts are laid on white, and the result says so.

Does it keep the GIF's timing?

Yes. Each frame shows for as long as the GIF says. Very short delays (under 0.02 seconds) are shown as 0.1 seconds, as browsers play them.