GIF to MP4

Convert GIFs to MP4 and make them dramatically smaller. Animated GIFs are an inefficient format — the same animation as an H.264 MP4 is usually 5–20 times smaller and plays more smoothly. Drop one or many GIFs, convert them on your device, and copy the embed code to use them like GIFs on the web.

GIF vs MP4

GIFMP4
Typical size100%5–20%
Colors per frame256Millions
TransparencyYes (1-bit)No
Autoplay loop on webAlwaysWith autoplay loop muted

When to use it

  1. Speed up a web page full of GIFs.
  2. Upload a GIF to Instagram or TikTok, which need video.
  3. Shrink GIFs for email or chat.
  4. Archive animations in a smaller format.

How to Use

  1. Drop GIFs.
  2. Optionally repeat the animation.
  3. Convert and download, or copy the embed code.

Features

  1. Exact frame timing
  2. 5–20× smaller
  3. Repeat option
  4. Embed code
  5. Batch with ZIP
  6. No upload

FAQs

Why convert GIF to MP4?

MP4 is far smaller and smoother, and platforms like Instagram need video.

Will the timing change?

No. Each frame keeps its original delay.

What about transparency?

MP4 can't be transparent, so transparent areas become white.

Can the MP4 loop?

Use the embed code on web pages, or repeat the animation in the file.

Are my GIFs uploaded?

No. Conversion happens in your browser.

Technical Details

Each GIF is decoded frame by frame with the browser's WebCodecs ImageDecoder, which handles GIF disposal and transparency correctly. Every frame is drawn onto a white background (MP4 has no transparency) at even dimensions and encoded with H.264 through Mediabunny, using the GIF's own per-frame delays — with delays of 10 ms or less treated as 100 ms, exactly as browsers play them — so the timing matches. The animation can be repeated several times in the video, since MP4 files don't loop by themselves; on a web page, the provided video tag with autoplay, loop, muted and playsinline makes it behave like a GIF.

From the Blog

  • Video Compressor Online — Free, Bulk & Private

Video Tools

Video Tools

  • Video Metadata Viewer
  • Video Metadata Remover
  • Screen Recorder
  • Video Bitrate and File Size Calculator
  • Timecode and Frame Rate Converter
  • Storyboard Template Maker
  • Extract Video Frame
  • Extract Audio From Video