Skip to main content
PulsarKit

Convert GIF to MP4

Turn an animated GIF into an H.264 MP4 video that keeps its frame rate and timing, right in your browser, with no upload and no watermark.

Drop your files here

.gif · up to 200 MB

More settings

How to convert a GIF to MP4

  1. 1

    Add your GIF

    Drop one animated GIF of up to 200 MB. Your browser opens it on your device, so nothing is uploaded.

  2. 2

    Pick the frame rate

    Keep the GIF's own to match its timing, or set 15, 24 or 30 fps; a higher rate only repeats frames. Looping, quality and a silent audio track are under More settings.

  3. 3

    Convert and download the MP4

    Click Convert to MP4 and check the size before and after. Download the video, or send it on to Compress, Trim or Resize Video.

What converting a GIF to MP4 does to its size

A GIF stores every frame as a picture of at most 256 colors and compresses each frame on its own. The only saving between frames is skipping pixels that did not change. H.264, the video format inside the MP4, predicts each frame from the frames before it, so movement costs far less. In our check on October 20, 2026, we converted three GIFs at the default settings, each in 2 to 4 seconds in desktop Chrome. A 10-second slow zoom over a landscape photo went from 9.5 MB to an 82 kB MP4, 118 times smaller. A 10-second screen recording scrolling through web pages went from 6 MB to 566 kB, about 11 times smaller. A flat-color test animation went from 5.5 MB to 596 kB, about 9 times. The photo shrank the most and the flat graphics the least, and a GIF that is already small gains little: a 12 kB one with a single moving dot came out at 6.4 kB.

Transparent GIFs, and where to keep the GIF

The H.264 video this tool makes has no transparency. In our check on October 20, 2026, a red dot moving over a transparent background came out on solid white. So a sticker or an overlay that has to show what is behind it should stay a GIF. An MP4 also needs a video player to show anything at all. Wherever only a picture is accepted, such as an email signature or an image upload field, keep the GIF. Where a site or app takes video, the MP4 is the lighter file to send.

Frame rate, odd sizes, looping and sound

Keep the GIF's own reads the frame rate from the file, rounds it and keeps it between 5 and 50 fps. A GIF counts time in hundredths of a second, so our two 15 fps test GIFs alternated frames of 7 and 6 hundredths. Both came out at exactly 15 fps, with the same 150 frames and 10 seconds. H.264 needs an even width and height, so a side with an odd number of pixels loses one, and the page says so: 799 × 449 became 798 × 448. MP4 has no loop flag, so looping repeats the clip inside the file: Play 3 times, or Loop for 60 s, which fits in as many whole passes as 60 seconds allow. The MP4 has no audio track at all unless you turn on Add a silent audio track.

The GIF never leaves your browser

Each frame of the GIF is read inside this tab by ffmpeg compiled to WebAssembly, and your browser's own video encoder writes the H.264 MP4. The GIF is not uploaded and nothing is kept on a server. There is no account and no queue, so you can convert one GIF after another, as many as you like.

Frequently asked questions

How much smaller is the MP4 than the GIF?

It depends on what the GIF shows. In our check on October 20, 2026, at the default Balanced quality, a 9.5 MB photo GIF became 82 kB and a 6 MB screen recording 566 kB. A 5.5 MB flat-color animation became 596 kB. That is 9 to 118 times smaller. A GIF that is already small gains little: one of 12 kB came out at 6.4 kB.

Will the MP4 look the same as the GIF?

Close, but not better. The video is made from the GIF's own frames, so colors the GIF never had cannot come back, and its dither dots are only softened. At Balanced, the photo GIF in our check also lost some fine detail in the trees. High kept more of it at 124 kB instead of 82 kB, so choose High under More settings when detail matters.

What happens to a transparent background?

It turns white. The H.264 video made here has no transparency, and in our check a dot moving over a transparent background came out on solid white. Keep the GIF for stickers and overlays that must show what is behind them.

Where can't an MP4 replace a GIF?

Anywhere only a picture is accepted, such as an email signature or an image upload field: an MP4 needs a video player, and those places don't have one. The same goes for anything that relies on transparency. If you only have the video, Video to GIF makes a GIF from it.

How do I make the video loop, since MP4 has no loop flag?

Under More settings, choose Play 3 times, or Loop for 60 s, which repeats the whole clip as many times as fits in 60 seconds. The repeats are written into the file, so it grows: in our check a 10-second GIF became a 60-second MP4 of 473 kB instead of 82 kB. If the site or player loops video on its own, one pass is enough.

Why would I want a silent audio track?

Only if a site or app refuses a video without sound. Without the option, the MP4 has no audio track at all. With it, a silent stereo AAC track of the same length is added; in our check it came to about 5 kB on a 10-second video.

What if my GIF is just a single still image?

There is nothing to animate, so the page stops and offers Compress Image with the same file, the right tool for a single picture.

Does the file get uploaded to a server?

No. Decoding the GIF and encoding the video both happen in your browser tab, for GIFs up to 200 MB. Your browser needs a built-in H.264 encoder; if it has none, the page says so and names browsers that do.

Related tools