download.fan

GIF to MP4 Converter

Convert GIF to MP4 for free so animations play smoothly on Instagram, WhatsApp and TikTok. The MP4 is often 5–10 times smaller than the GIF. No upload needed.

  • ✓ No upload
  • ✓ Free
  • ✓ No watermark

Your file is processed in your browser and never uploaded.

Short answer

Choose a .gif file above and press Convert to MP4. The animation is encoded as an H.264 video, which is usually 5–10 times smaller than the GIF and can be posted where GIFs aren't accepted, such as Instagram and TikTok. The MP4 has no sound, because GIFs don't have any.

GIF to MP4 Converter: how it works

  1. 1

    Choose the GIF

    Tap Choose a file, or drag the .gif onto the box.

  2. 2

    Press Convert to MP4

    The animation is re-encoded to H.264 on your device, usually in a few seconds.

  3. 3

    Download the MP4

    Tap Download file and share or post the video.

Why are GIF files so big?

GIF compresses each frame on its own with LZW, a lossless method from the 1980s, and limits each frame to 256 colours. It can't take advantage of the fact that consecutive frames are almost identical, which is the main trick of every modern video codec. H.264 stores mostly the differences between frames, so the same animation typically takes a fifth to a tenth of the space, sometimes less.

That's why the GIFs you see on Twitter/X, Reddit, Giphy and Imgur are usually served as MP4s: a 10 MB GIF often plays from a 1 MB video, loads faster and looks smoother.

Where MP4 works and GIF doesn't

Converting matters most where GIF uploads are refused or handled badly:

  • Instagram posts, Reels and Stories accept video, not GIF files.
  • TikTok and YouTube Shorts only take video uploads.
  • WhatsApp sends small MP4s as looping 'GIFs' in chats.
  • PowerPoint, Keynote and Google Slides handle MP4 better than large GIFs, with smaller decks and smoother playback.
  • Video editors treat MP4 as normal footage you can cut, speed up or add sound to.

What the converter does

Each GIF frame is decoded with its original timing, and the animation is encoded as H.264 at high quality (CRF 23) in an MP4. Frame dimensions are rounded to even numbers, which H.264 requires, so you lose at most one pixel row or column. The colours come through exactly: H.264 can show every colour the GIF has, and its slight smoothing usually makes the GIF's dithering pattern less noticeable.

GIFs have no sound, so the MP4 is silent. Transparent areas, which GIF supports and MP4 doesn't, become solid.

Looping

A GIF carries a loop setting inside the file; an MP4 doesn't. Social apps loop short videos automatically, and on a web page you get a GIF-like loop with the video tag's autoplay, loop, muted and playsinline attributes, which is how most sites replace GIFs today. In a desktop video player, turn on repeat.

If you need a few repetitions baked into the file, for example a 2-second loop that should run for 10 seconds on a platform that doesn't loop, convert it here and then join copies in a video editor.

Converted on your device

The conversion runs in your browser with ffmpeg, usually in a second or two for typical GIFs. Nothing is uploaded and no watermark is added. To go the other way, the Video to GIF converter turns a clip into an optimised GIF.

Replacing GIFs on a website

If you run a website, swapping big GIFs for MP4 is one of the easiest speed wins available. Google's Lighthouse and PageSpeed Insights even flag large GIFs with the audit 'Use video formats for animated content'. Convert the GIF here, then embed it with an HTML video element set to autoplay, loop, muted and playsinline. It plays inline on iPhone and Android, loops like a GIF, and usually loads in a fraction of the time.

Keep the original GIF as a fallback only if you need to support email newsletters, where many email clients don't play video. In ordinary web pages and apps, the MP4 alone is enough.

Why convert with download.fan

Nothing is uploaded

The conversion runs inside your browser with ffmpeg. Your file never leaves your device, so it's private and there's no upload to wait for.

Free, no watermark

There's no sign-up, no daily limit and no logo stamped on your video.

Works offline after loading

Once the converter has loaded you can convert file after file, even on a slow connection.

Any device

Works in Chrome, Safari, Edge and Firefox on Windows, Mac, Android and iPhone.

About download.fan →

More free converters

Related apps

Frequently asked questions

Why convert GIF to MP4?

Instagram, TikTok and many chat apps don't accept GIF uploads, but they all take MP4. MP4 is also far smaller, so it loads faster and uses less data.

Will the MP4 loop like the GIF?

MP4 files play once by default. Most social apps loop short videos automatically, and in a video player you can turn on repeat.

Does it keep the GIF's quality?

Yes. GIF is limited to 256 colours, and H.264 shows every colour the GIF has, so the video looks the same or a little smoother.

Is there a file size limit?

Files up to 2 GB work. On phones, keep to a few hundred MB: the conversion uses your device's memory, and big files can make a mobile browser reload the page.

Why is it slower than desktop software?

The converter runs as WebAssembly in your browser instead of on our servers, which keeps your file private. Jobs that only rewrap the video are near-instant, while re-encoding takes roughly as long as the video plays, or longer on older phones.

In short

Pick a GIF, press Convert to MP4 and download a much smaller video that you can post anywhere. It's free and converts on your device.