GIF to MP4

Turn an animated GIF into an MP4 video. Every frame keeps its timing. It all runs in your browser.

Drag & drop a file here, or

GIF Animated GIF

Runs in your browser

Advertisement

How it works

The GIF timing, frame by frame

Each frame lasts its own GIF delay in the video. A long pause stays long and a quick burst stays quick, so the MP4 plays at the same speed as the GIF.

H.264 that plays everywhere

The page picks the simplest H.264 profile your browser can encode at this size. Odd sides get one copied row or column, never a stretch, and the page says so.

The MP4 is checked

After writing, the page reads its own MP4 back and compares the codec, the size, the frame count and every frame length with the GIF. A file that does not match is never offered.

Nothing leaves your device

Decoding, encoding and writing the MP4 all happen in the browser tab. The GIF is never uploaded.

Frequently Asked Questions

How do I convert a GIF to MP4?

Upload the GIF and tap Convert to MP4. The page encodes every frame as H.264 video, shows the MP4 playing, and gives you a Download button once the file has been checked.

Does the MP4 keep the GIF speed?

Yes. Each frame lasts exactly as long as it did in the GIF, so a pause stays a pause. There is no fixed frame rate: the video uses the GIF timing frame by frame. A delay of 0 or 1 hundredth of a second is played as 10, the same as browsers do with the GIF.

What happens to transparent parts?

MP4 video has no transparency. If the GIF has clear pixels, the page shows a colour picker and lays them on that colour. White is the default.

Why is my video one pixel wider or taller?

H.264 video needs an even width and height. If a side is odd, the page adds one row or column that copies the edge, instead of stretching the picture, and tells you which side grew.

Will the video look exactly like the GIF?

Very close, not pixel for pixel. MP4 video is compressed with small losses, while a GIF is not. Flat colours and sharp edges come through almost unchanged. A grainy GIF, one that fakes extra colours with fine dots, comes out smoother, because video compression softens the dots.

Will it loop like the GIF?

MP4 files have no loop setting. The preview here loops, and most sites that autoplay short clips loop them too, but a video player may play it once.

Which browsers work?

The video is made by the browser video encoder (WebCodecs). Chrome, Edge, desktop Firefox 130 and later, and Safari 16.4 and later have it. Firefox on Android does not, and the page says so instead of failing.

How do I know the MP4 is right?

Before you can download it, the page opens the MP4 again and checks that it is H.264, its size, the number of frames and the length of every frame against the GIF. If anything differs, it says what and gives you no file.

Is my GIF uploaded anywhere?

No. The GIF is decoded, encoded and saved as MP4 in your browser. Nothing is sent to a server.