GIF to MP4

GIF to MP4 is a free online tool that turns an animated GIF into an MP4 video, to post it where GIFs aren't accepted, to edit it in a video editor, or just to make it smaller: the video is usually several times smaller than the GIF, with the same picture. Every frame keeps its timing, so the video plays exactly like the GIF.

Choose the size, the color behind the transparent parts and how many times the GIF repeats. The result is an H.264 MP4 that plays on every phone, computer and social network. Your GIF is never uploaded anywhere: everything happens inside your own browser.

GIF
Drop your GIF here
Animated GIF
Upload a GIF to continue.

How to use this online tool?

  1. Upload the GIF.
  2. Choose the width of the video, the color behind the transparent parts, how many times the GIF plays and the frame rate.
  3. Click "Convert to MP4", check the result, and click "Download".

Why convert a GIF to MP4?

  • To post it where GIFs aren't accepted. Many apps and social networks take videos but not GIFs, or turn GIFs into still pictures.
  • To make it smaller. A GIF stores every frame as a separate picture, while a video only stores what changes, so the MP4 is usually several times smaller.
  • To edit it. Video editors, presentations and messaging apps handle MP4 better than GIF. In a video, you can also pause and move back and forth.

What happens to the transparent parts?

An MP4 video can't be transparent, so the transparent parts of the GIF get the background color you choose: white, black, green or any other color. The preview above the options shows the GIF on that color. Choose "Green screen" to put the animation over another video: most video editors can remove a green background (it's called a chroma key).

Will the video play at the same speed as the GIF?

Yes. Each frame of a GIF has its own duration, and with "Same as the GIF", each frame of the video lasts exactly as long, even when the durations change from one frame to the next. A few GIFs ask for frames shorter than 2 hundredths of a second, which browsers play at 100 ms instead; the video does the same, so it plays as you see the GIF in your browser. Some video editors prefer a constant frame rate: choose 24, 25, 30, 50 or 60 frames per second, and each frame of the video shows the frame of the GIF that is on the screen at that moment.

Why repeat the GIF?

A GIF starts again by itself when it ends, and a video plays once. "Plays" repeats the GIF inside the video, a number of times or until the video is at least a few seconds long, which helps with apps that don't accept very short videos. The other options make the same video longer, so the file grows with the number of repetitions.

Can I add sound to the video?

A GIF has no sound, so the video has none either. To add music or any other sound, use the Add Audio to Video tool on the MP4. To go the other way and make a GIF out of a video, use the Video to GIF tool.

Is my GIF uploaded to a server?

No. This tool has no server side at all. Your GIF is read and converted by your own browser, and it never leaves your computer.



Related tools

Video to GIF

Turn a video into an animated GIF: choose the part, the size, the frame rate, the speed and the colors, or play it backwards.

Add Audio to Video

Add music or any audio to a video, replacing or mixing with the original sound, without losing video quality.

Merge Videos

Join two or more videos into one MP4, in the order you want, without re-encoding when they come from the same camera.

Trim Video (lossless)

Cut a part of a video without re-encoding it: no quality loss, done in seconds, right in your browser.

Reverse Video

Play a video backwards: reverse the picture, with the sound reversed too, kept as it is or removed, and download an MP4.

WebM to MP4

Convert WebM videos to MP4: H.264 + AAC to play everywhere, or lossless in seconds, right in your browser.