Free GIF to MP4 converter, no upload
GIF to MP4, converted on your device
To convert a GIF to MP4, choose the GIF below, pick how many times it should play and press Make the MP4. You get an H.264 video with no watermark that plays on phones, on computers and in apps that do not take GIFs, with every frame at its original timing. The GIF is converted in your browser and is never uploaded.
- No sign-up, no watermark
- Your GIF never leaves your device
- Size shown before you save
A short GIF played several times over makes a video long enough to post.
A video has no see-through pixels, so the clear parts of a GIF take this color.
Keep this tab open until it finishes.
How to convert a GIF to MP4
Choose your GIF
Tap Choose a GIF, drop a GIF file on the box or paste one. It opens inside this page and plays in the preview with its size, frame count and length.
Pick how it plays
Play it once, or 2, 3 or 5 times over for a longer clip. If the GIF has see-through parts, pick the color that goes behind them.
Make the MP4
Press Make the MP4. The line above the button says the video's size in pixels, its length and about how large the file will be.
Check and download
The finished video plays on the page with its real size. Press Download, or continue to compress or cut it.
Need a GIF from a video instead, or is the GIF itself too large to send? Video to GIF or GIF compressor.
Why a GIF becomes a much smaller MP4
A GIF stores every frame as a picture of at most 256 colors, packed with a simple method from 1987 (MDN). H.264, the video inside an MP4, stores what changes from one frame to the next, so the same animation takes a small part of the space. These are the sizes we got from two test GIFs:
| GIF | Quality | GIF size | MP4 size |
|---|---|---|---|
| Camera pan with grain, 480 x 270 px, 63 frames, 5.04 s | Standard | 9.16 MB | 376 KB |
| The same GIF | Best quality | 9.16 MB | 594 KB |
| The same GIF | Smaller file | 9.16 MB | 237 KB |
| The pan as a long GIF, 400 x 224 px, 500 frames, 25 s | Standard | 45.71 MB | 1.72 MB |
Each of them took about 2 seconds to make in Chrome on our test laptop. The line above the button gives the size to expect before you start, worked out from the bitrate, and the real size shows once the video is made: in our tests the real file was up to a quarter larger than that estimate for the short GIF and within 3% for the long one.
An MP4 cannot bring back what the GIF lost. The colors a GIF dropped and its dither pattern are in the video as they are in the GIF.
Every frame keeps its own time
A GIF has no frame rate. Each frame carries its own time in hundredths of a second (GIF89a specification), and one GIF can mix quick frames with a frame that waits for two seconds. The video here keeps that: each frame starts where the GIF starts it and lasts as long, instead of being pushed onto a fixed rate that would repeat some frames and drop others. In our tests every frame of the MP4 started within a thousandth of a second of its time in the GIF.
Two cases need a choice. A frame stored with almost no time, under 0.02 seconds, is shown for 0.1 seconds by web browsers, so the video gives it 0.1 seconds too and plays the way the GIF plays on a web page. And a GIF with a single frame becomes a video that holds it for 2 seconds, unless the GIF itself asks for longer.
Looping: play it once, or 2, 3 or 5 times
A GIF can say that it loops forever. A video file has no such setting that players agree on: it plays to its end, and whether it starts again is up to the app that shows it. So a GIF of one or two seconds makes a video of one or two seconds, which is often too short to post or to notice.
Play the GIF 2, 3 or 5 times and the frames are written that many times in a row, with the same timing each time. The line above the button shows the new length, so you can pick the number that gets a short loop past a few seconds.
See-through GIFs and the color behind them
A GIF pixel can be fully see-through (MDN), which is how stickers and emoji sit on any background. H.264 video has no see-through pixels, so something has to go behind those parts. White is the start; black or any color from the picker works as well. Pick the color of the place the video will be shown and the edges will blend in.
The preview shows see-through parts over a checkered pattern, so you can tell whether your GIF has any before you choose.
Size in pixels: why 498 becomes 496
The video has the same size in pixels as the GIF, with one adjustment. H.264 encoders in browsers take even widths and heights only, and for frames drawn on a canvas we use a width that divides by 4, because other widths came out shifted sideways in Chrome and Edge in our earlier tests. A GIF of 498 x 281 pixels therefore makes a video of 496 x 280: it loses 2 pixels on the right and 1 at the bottom, and the line above the button says so before you start. Nothing is stretched.
A GIF too small for the encoder, such as a 1 x 1 pixel test file, is enlarged by a whole number with its pixels kept sharp, and the result says by how much. A 24 x 24 pixel GIF converted at its own size in our tests.
GIF to WebM or MOV
This tool makes MP4 files only. We do not offer WebM or MOV, because the video engine on this site writes pictures as H.264 in MP4 and has no VP8 or VP9 encoder behind it. An MP4 with H.264 plays on iPhone and Android phones, on Windows and Mac computers and in every current browser, which covers the places a WebM or a MOV would be used.
If you have a MOV, WebM or MKV video and need an MP4, the MOV to MP4 tool and its sibling pages do that, mostly without re-encoding.
Which browsers can do it
Reading the GIF works in every current browser: it is our own code, run in a background task of this page. Writing the video needs WebCodecs, the part of the browser that encodes video. Chrome and Edge have it from version 94, Firefox on computers from version 130 and Samsung Internet from version 17, and Safari has had the video part since version 16.4 (caniuse). Firefox for Android does not have it. We tested in Chrome 157 on Windows.
When a browser cannot encode H.264 at the size of your GIF, the tool says so and makes nothing, instead of handing you a file that will not play.
What happens to your GIF
Everything happens inside this page. A background task reads the GIF frame by frame, and your browser's own video encoder writes the MP4, without sending the GIF anywhere. The first time you make a video, your browser downloads the video writer from uncrop.si.
The video carries no watermark, no sound track and no tags such as a title, a date or the name of a tool. These tools open GIFs of up to 60 MB and 2,000 frames, and fewer frames for very large pictures (frames times width times height may reach 1.2 billion pixels). A larger file is turned away with a message before anything is read. Under the download you can see how many requests this page sent while you used it.
Questions
How do I convert a GIF to MP4?
Choose the GIF on this page, pick how many times it should play and press Make the MP4, then Download. There is no account, no watermark and no upload: the video is made by your browser.
Is this GIF to MP4 converter free, and does it add a watermark?
It is free and adds no watermark. The video holds only the frames of your GIF, and there is no paid version that removes anything.
Is my GIF uploaded?
No. The GIF is read and the video is written on your device. Only the tool itself is downloaded from uncrop.si, and the line under the download shows how many requests the page sent.
Can I turn a GIF into a video for Instagram, WhatsApp or TikTok?
Yes. The result is an ordinary MP4 with H.264 video, the kind of file phones record. A short GIF makes a short video, so play it 3 or 5 times for a clip of a few seconds. We quote no app's length or size rules here: check them in the app you post to.
Can I convert a GIF to WebM or MOV?
Not with this tool: it writes MP4 with H.264 video only. That file plays on phones, computers and in every current browser, so it works where a WebM or MOV would.
Why is the MP4 so much smaller than the GIF?
A GIF stores each frame as a picture with simple compression, and H.264 stores only what changes between frames. In our tests a 9.16 MB GIF became a 376 KB MP4 at the standard quality.
Does the MP4 loop like the GIF?
A video file plays once, and looping is up to the app that shows it. To get a longer clip, choose 2, 3 or 5 times and the GIF is written that many times in a row.
What happens to the transparent parts of a GIF?
They take the color you pick, white unless you change it, because H.264 video has no see-through pixels.
Sources: W3C, GIF89a specification, MDN, Image file type and format guide, caniuse, WebCodecs API
Open-source code this tool runs on your device: Mediabunny (MPL-2.0), unmodified, reads and writes the video and audio files.