GIF to MP4 Converter

Shrink animated GIFs into smooth MP4 videos without uploading them.

Drop files here or Accepts GIF · 1 file, 50 MB You can also paste with Ctrl+V / ⌘V
Options

      Processed on your device · How we protect your files

      How to use

      1. Drop a GIF on the box above, choose it with the button, or paste it with Ctrl+V.
      2. Set how many times the animation should repeat inside the video, from 1 to 10.
      3. Adjust the playback speed between 0.5x and 2x, and set a maximum width if you want a smaller video.
      4. Convert and download the MP4 file, which keeps the GIF's name with a suffix.

      Why MP4 beats GIF for animations

      GIF is a format from 1987. Every frame is stored as a separate, indexed-color image with at most 256 colors, compressed with a method that was never designed for motion. That is why a five-second reaction clip can weigh 10 MB or more and show banding in gradients.

      MP4 with the H.264 codec compresses motion efficiently by storing only what changes between frames. The same animation is typically a fraction of the size, plays smoothly, and is accepted as a normal video by messaging apps, social networks and content management systems. Many sites that “show GIFs” actually convert them to video behind the scenes for exactly this reason.

      This converter decodes the GIF and encodes the video in your browser with WebCodecs, so the file is never uploaded.

      Understanding the options

      Option What it does Tip
      Loop count (1–10) Repeats the animation that many times inside the video Short loops of under 2 seconds look better repeated 3–5 times
      Speed (0.5x–2x) Slows down or speeds up playback 0.5x is handy for studying a fast UI demo
      Max width Scales the video down if the GIF is wider Halving the width roughly quarters the pixel count

      Loops are baked into the file. A GIF loops forever in any viewer, but an MP4 plays once and stops unless the player is told to loop. If you are embedding the video on your own website, you can use a single loop and let the HTML video element loop it instead.

      Browser support

      Encoding relies on WebCodecs, a browser feature that gives web pages access to the device’s video encoder. It works in:

      • Recent versions of Chrome and Edge
      • Safari 16.4 or later
      • Firefox 130 or later on desktop

      If your browser lacks it, the tool shows a message instead of producing a broken file. Updating the browser usually fixes it.

      Common issues and fixes

      Odd dimensions. H.264 works best with even width and height. If your GIF is 301 pixels wide, the video may come out a pixel narrower; this is normal.

      Transparent background turned solid. Video formats used for MP4 don’t carry transparency. If the GIF had a transparent background, place it on a matching color first, or keep the GIF for that use.

      Timing feels off. Some GIFs specify very short frame delays that browsers silently slow down. The MP4 follows the delays stored in the file, so it may play a little faster than you remember. Use the speed control to match.

      Conversion fails on a huge GIF. Files above 50 MB or with more than 1,000 frames are outside the limits. Trim the animation or reduce its dimensions first.

      When to keep the GIF

      GIFs still have their place: some email clients only animate GIFs, a few older forums don’t embed video, and GIF supports simple transparency. For chat apps, social media, documentation and web pages, MP4 is almost always the lighter and better-looking choice.

      Frequently asked questions

      Why convert a GIF to MP4?

      MP4 with H.264 compression is usually many times smaller than the same animation as a GIF, and it can show full color instead of GIF's 256-color palette. Pages load faster and social platforms accept it as a regular video.

      Will the MP4 loop like a GIF?

      A video file does not loop forever by itself the way a GIF does. Use the loop count to repeat the animation 1 to 10 times inside the video, and the player or website can still loop the whole clip if it supports that.

      Why does the tool say my browser is not supported?

      The encoder uses WebCodecs, which is available in recent Chrome and Edge, Safari 16.4 and later, and Firefox 130 and later on desktop. Update your browser or switch to one of those to convert.

      What happens to transparent parts of the GIF?

      MP4 video has no transparency, so transparent areas become a solid color in the video. If transparency is essential, keep the GIF or use an animated format that supports it.

      Is there a size limit for GIFs?

      GIFs up to 50 MB and 1,000 frames can be converted. Longer animations may run into memory limits because every frame is processed on your device.

      Last updated: · Convert

      Related tools