GIF to MP4 Converter

Convert animated GIFs into MP4 videos that are a fraction of the size and play on every phone and social network. Set the size, frame rate and how many times it loops.

NewFreeNo uploadUp to 90% smaller
1Add an animated GIF
2Video settings
Format

Videos have no transparency, so transparent pixels are filled with this colour. Social networks often loop short clips, but some play them once, so use Repeat to make the video longer.

How to use GIF to MP4

  1. 1

    Add a GIF

    Drop an animated GIF. You see its size, frame count and duration straight away.

  2. 2

    Set the video options

    Choose the size, frame rate, quality and how many times the animation repeats in the video.

  3. 3

    Convert and download

    Press Convert, preview the video and download your MP4. The size saving is shown next to the result.

Why convert GIF to MP4?

GIF is a 1980s format: it is limited to 256 colours and compresses animation very poorly, so even a few seconds can weigh many megabytes. MP4 video with H.264 compression typically makes the same animation 80–95% smaller while showing smoother colours. That means faster pages, quicker messages and uploads that social networks accept.

Where MP4 works better than GIF

  • Instagram, TikTok and Facebook do not accept GIF uploads but take MP4 videos.
  • X (Twitter) converts GIFs to video anyway; uploading an MP4 gives you control over quality.
  • Websites: replacing a GIF with an autoplaying, looping, muted video improves loading speed and Core Web Vitals.
  • Presentations and messages: MP4 plays in PowerPoint, Keynote, WhatsApp and every phone.

Options

  • Size: keep the original, double it for sharper playback on large screens, or fit it to 1080, 720 or 480 px wide.
  • Frame rate: keep the GIF's exact timing or resample to a constant 30, 24, 15 or 10 fps.
  • Repeat: loop the animation up to 20 times, useful because many platforms play a video only once.
  • Background: video has no transparency, so transparent pixels get a colour of your choice.

How it works

The GIF is decoded and encoded into video right in your browser using the built-in video encoder (WebCodecs). Nothing is uploaded. In browsers without an MP4 encoder you can still create a WebM video.

Frequently asked questions

How much smaller is MP4 than GIF?
Usually 80–95% smaller for the same animation, depending on the content and the quality setting.
Will the video loop like a GIF?
Video players can loop MP4s (websites use the loop attribute and most apps loop short clips). You can also repeat the animation inside the video up to 20 times.
What happens to transparent parts of the GIF?
Video does not support transparency, so transparent pixels are filled with the background colour you choose.
Can I upload the MP4 to Instagram or TikTok?
Yes. MP4 with H.264 is the standard format for Instagram, TikTok, Facebook, X and WhatsApp.
Which browsers are supported?
Chrome, Edge and Safari create MP4 with H.264. Firefox and other browsers create MP4 with VP9 or WebM, which play in all modern browsers.
Is my GIF uploaded?
No. The conversion runs entirely in your browser.

Related tools