Convert GIF to MP4

Turn an animated GIF into a silent H.264 video. Choose up to 10 plays, preview the MP4, and download it free from your browser.

Choose a GIF
GIF files up to 300MB

Enter 1–10. Choose 1 to play the animation once.

How to make a GIF into a video

Choose a GIF up to 300MB. The converter reads the GIF from your device and processes it in this browser.
Set Total plays to 1 for a single pass or enter a whole number from 2 to 10 to repeat the animation inside the video.
Select Convert to MP4. Play the result to check the timing, then select Download MP4.

Why convert a GIF to a video?

An MP4 is handy when a post composer or editor asks for a video file. Use it to include a reaction animation in a social post, add a product animation to an edit, or send a motion sample with a fixed duration.

This tool writes H.264 video in an MP4 container with yuv420p color sampling. It right- or bottom-pads odd dimensions by one pixel to keep every pixel of the original picture. The export runs at 30 frames per second. It is silent, and transparent areas in the GIF become opaque.

Choose the number of plays

What you wantTotal playsFor a 2-second GIF
A single animation in a video edit1About 2 seconds
A short repeat for a post3About 6 seconds
A longer sample for review10About 20 seconds

Control what happens at the join

An MP4 has a fixed end. Repeating the animation writes the same animation several times into that file, even if the source GIF was set to loop forever. If the cut from the last frame to the first is visible in the GIF, it will still be visible in the video.

Use GIF Loop to change the playback setting while keeping a GIF. See how GIF loop counts work for the difference between a playback setting and frames repeated inside a file. Start from a clip with Video to GIF, or visit the LoopVideo workspace for video loops.

FAQ

How do I turn a GIF into a video for a post?

Select your GIF file, choose how many times it should play, and export an MP4. Preview the downloaded video before attaching it to the post.

Will the MP4 repeat forever?

The exported file plays through the number of times you chose and then ends. Any further looping is controlled by the player or platform.

Does the MP4 keep the GIF background transparent?

This H.264 MP4 export is opaque. Check the preview if your GIF has a transparent background.

Why did my video gain a pixel at the edge?

H.264 with yuv420p needs even dimensions. The converter adds one pixel at the right or bottom when the original width or height is odd.

Does my GIF leave my device?

The GIF is read and encoded in your browser. The converter is free and requires no account.

What files can I use?

Use a GIF87a or GIF89a file up to 300MB. A renamed video, PNG or WebP still has its original format.