Skip to content
keyMotio

GIF to MP4

Turn an animated GIF into an MP4 or WebM video, which is usually around ten times smaller for the same picture. Choose the format, the size and how many times it should repeat, and you get the file with its real size next to the original's, and the video playing so you can check it before downloading. It all happens in your browser, so nothing is uploaded.

Format

Smaller for the same quality, and supported by every modern browser.

Size
Repeats

A very short GIF makes a very short video, and some sites reject those. Repeating it makes the clip longer.

How to convert a GIF to video

  1. 1

    Open your animation

    Drag the GIF onto the box, click to pick one, or paste the address of one that is already online. Animated WebP, APNG and AVIF work too.

  2. 2

    Choose the format

    MP4 plays everywhere, including inside a WhatsApp or Telegram chat. WebM is smaller for the same quality. The option your browser cannot record is shown greyed out, so you find out before pressing convert rather than after.

  3. 3

    Set the size and repeats

    You can scale the video down, and repeat the animation up to five times: a very short GIF makes a very short video, and some sites reject those.

  4. 4

    Convert and download

    The animation is recorded as it plays, so the conversion takes about as long as the resulting video lasts. Then you get both sizes side by side and the video ready to check.

What makes it different

  • The timing is the GIF's own

    A GIF can hold a different duration for every frame — 20 milliseconds here, two seconds there. Each frame is handed to the recorder at its exact moment instead of sampling the animation at a fixed rate, which is what makes short frames survive the conversion.

  • It does not drift

    Frame times are absolute deadlines counted from the start, not a chain of waits. A frame that arrives late does not push the following ones, so the video stays the same length as the animation.

  • It asks your browser what it can do

    Recording support is not the same as playback support: a browser can play MP4 perfectly and not know how to record it. The format list is built by asking, so you never get a failure at the last step.

  • You see both sizes

    The original weight and the result are shown together with the percentage saved. That number is the whole reason to convert a GIF to video, so it should not be a guess.

  • Nothing is uploaded

    The decoding and the recording happen in your browser. No file is sent to a server, and there is no queue, no watermark and no account.

Supported formats

Animated GIF, animated WebP, APNG and animated AVIF go in. Out comes MP4 (H.264) or WebM (VP9 or VP8), depending on what your browser can record: WebM works in Chrome, Edge and Firefox, and MP4 in Safari and recent Chrome. Whichever you pick, the video has no audio track — a GIF has no sound to carry over.

Frequently asked questions

Why is the video so much smaller than the GIF?
Because a video codec stores only what changed between frames, while a GIF stores each frame almost whole and with at most 256 colours. That is also why the video usually looks better: it is not limited to that tiny palette.
Why does the conversion take as long as the video?
The animation is recorded while it plays, using the browser's own recorder, and that recorder timestamps frames with the wall clock. It is the price of not shipping a video encoder and a container muxer of our own — which would be several hundred kilobytes of code with licences to check.
Which format should I pick?
MP4 if you are going to send it to someone or post it somewhere, because it plays everywhere. WebM if you want the smallest file and it is for the web. If one of them is greyed out, your browser cannot record it.
Does the video loop like the GIF did?
That depends on whoever plays it, not on the file: video players loop when they are told to, and most social sites loop short clips automatically. If you need the motion to repeat regardless, use the repeats option to bake it in.
Is there sound?
No. A GIF has no audio at all, so there is nothing to put in the video's sound track.
Is my file uploaded anywhere?
No. It is decoded and recorded by your own browser. The only thing that touches a server is opening a GIF by URL, because a browser is not allowed to read files from another website directly; even then the bytes pass straight through and nothing is stored.