Convert GIF to MP4

Turn an animated GIF into an MP4 that is usually a fraction of the size and looks better. The conversion runs entirely on your own device, so nothing is uploaded. Requires a Chromium browser — the tool will tell you if yours is not.

Your files never leave your browser

Drop a GIF here, or click to select

Up to 20 files, 50 MB each

Why GIFs are so large

GIF dates from 1987 and was never designed for video. It stores animation as a run of complete still frames, each limited to a 256-colour palette, with only very basic compression between them. Modern video codecs do the opposite: they store one full frame and then only what changed, which is why the same three-second clip can be twenty times smaller as MP4.

GIFMP4
Colours256 per frameMillions
Interframe compressionMinimalYes — the main saving
Transparency1-bit on/offNone
Typical size, 3s clip2–8 MB100–500 KB
Autoplays inlineAlwaysWith muted + playsinline

Making an MP4 behave like a GIF

The one real cost of switching is that a video element does not loop silently by default. Three attributes fix that, and the fourth stops iOS taking it fullscreen:

<video src="clip.mp4" autoplay loop muted playsinline></video>

muted is the load-bearing one: browsers refuse to autoplay anything that could make noise, so without it the video simply will not start.

Frequently Asked Questions

Why convert a GIF to MP4?

Size, almost entirely. GIF is a 1987 format that stores animation as a sequence of palette-limited still frames with no real interframe compression, so an animated GIF is routinely five to twenty times larger than the same clip as MP4. MP4 also supports far more than 256 colours, so gradients and video footage look better rather than banded.

Does this upload my GIF anywhere?

No. Decoding and video encoding both run on your own device through the browser WebCodecs APIs. You can watch your Network tab stay silent during the conversion, which is exactly why the tool is limited to browsers that implement those APIs rather than falling back to a server.

Why does it need Chrome?

The conversion uses ImageDecoder and VideoEncoder from the WebCodecs specification, which as of 2026 only Chromium browsers implement. Chrome, Edge, Opera, Brave and Arc all work. Safari and Firefox do not yet, and rather than quietly uploading your file to a server instead, the tool says so.

What happens to transparent areas?

MP4 has no alpha channel at all, so transparency has to become a solid colour. The tool defaults to white and lets you pick any colour before converting. If your GIF has a transparent background, choose the colour of the page it will sit on.

Will the MP4 always be smaller?

Nearly always, and often dramatically, but not universally. A very short GIF of a few flat-colour frames is already close to optimal, and video encoding adds container overhead that can exceed the saving. The result panel shows the before and after size either way, including when the file got bigger.

Does the MP4 autoplay like a GIF?

It can, but it needs three attributes rather than none: autoplay, loop and muted. Browsers block autoplay for anything with an audio track, so muted is what makes it behave like a GIF. Add playsinline as well so iOS plays it in place instead of going fullscreen.

Related tools