Convert GIF to MP4, right in your browser
Turn an animated GIF into a light MP4 video that social networks and chat apps handle better. The conversion runs on your device, so the GIF never leaves it.
How it works
- 1
Choose or drop your animated GIF. The first time, a 32 MB converter is downloaded from vidmini.com to read it.
- 2
Keep MP4 as the output format. Vidmini reads every frame of the GIF on your device.
- 3
Click GIF to MP4, then download the MP4 video. Nothing was uploaded.
Why convert a GIF to MP4?
GIF is a format from the 1980s that stores each frame as a separate image with at most 256 colors. It is universally supported, but very inefficient for animation: a few seconds of GIF can weigh several megabytes. An MP4 video with H.264 compresses motion far better, so the same animation is typically many times smaller.
That is why most social networks and chat apps convert GIFs to video behind the scenes, and why many of them prefer you to post an MP4 directly. A smaller file also uploads faster, loads faster on a website and plays smoothly instead of stuttering on slower devices.
How Vidmini reads a GIF
The video engine of a browser cannot decode an animated GIF as a video. Vidmini therefore uses its fallback converter, FFmpeg compiled to WebAssembly, which runs inside the page on your own device. It reads the GIF frame by frame, then Vidmini encodes the video with your browser’s WebCodecs API.
On first use, the converter (about 32 MB) is downloaded from vidmini.com. Only the program is downloaded; your GIF stays on your device. The fallback accepts files up to 1 GB, far above the size of any normal GIF, and it is slower than native conversions such as MOV to MP4.
What changes in the MP4
The result is an MP4 with H.264 video and no audio track, since a GIF has no sound. The frames are re-encoded, so this is not a lossless copy, but the GIF’s limited palette already defines what the picture looks like, and the MP4 reproduces it closely.
H.264 requires even dimensions. If your GIF is, for example, 481 × 271 pixels, the width and height are rounded to even numbers. MP4 with H.264 also has no transparency, so transparent areas of a GIF will not stay see-through.
A GIF usually loops forever, while an MP4 plays once in most players unless the app loops it. If you want a short clip to last longer, "Continue with this file" sends the MP4 to the Loop Video tool, which repeats it 2, 3, 4, 5 or 10 times without re-encoding.
Private, and ready for the next step
Everything runs in your browser with WebAssembly and WebCodecs: no upload, no account, no watermark and no tracking cookies. The page only talks to vidmini.com to load its own code.
From the result, you can also compress the MP4 further or resize it to a format like 1080 × 1920 for Stories and Reels, without selecting the file again.
Frequently asked questions
How much smaller will my MP4 be?
It depends on the animation, but an MP4 is typically far smaller than the GIF it comes from, often several times smaller, because H.264 stores only what changes between frames instead of full images.
Will the MP4 have sound?
No. GIF files contain no audio, so the MP4 has a video track only.
Why is my video one pixel narrower or shorter than the GIF?
H.264 video needs even width and height. GIFs with odd dimensions are rounded to even numbers so the MP4 can be encoded and played everywhere.
Does the MP4 loop like a GIF?
The loop is decided by the player: many apps loop short videos, others play them once. To make the clip itself longer, use the Loop Video tool after converting; it repeats the video without re-encoding.
Why does the first conversion take a moment?
Browsers cannot read GIFs as video, so Vidmini downloads its 32 MB fallback converter the first time and decodes the GIF on your device before encoding the MP4. Your file is never uploaded.
Can I turn a video back into a GIF?
Yes. The Video to GIF tool does the opposite: pick a start time, a length of 2 to 15 seconds, a width and a frame rate.