Convert WebM to MP4

Converting WebM to MP4 turns a file that only browsers reliably play into one that everything plays. The VP9 or AV1 video inside is re-encoded as H.264 and the Opus audio as AAC, which is why the result opens in QuickTime, imports into Premiere and saves to a phone. It runs in your browser, so the recording never leaves your machine.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. MP4 cannot hold everything a WebM can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Video is re-encoded rather than copied, so some detail is lost even at the highest setting. Subtitle tracks and chapters are not carried over. Where the soundtrack is a format the browser cannot decode — AC-3, E-AC-3, DTS and TrueHD, common on disc and streaming rips — the picture converts and the result is silent.

Up to 100 files at once. Mixed formats are fine.

Where your WebM came from, and why it will not open

Almost nobody sets out to make a WebM. It arrives. A browser-based screen recorder wrote one, a Discord or WhatsApp Web voice message downloaded as one, a page used the browser’s own MediaRecorder to capture a camera, or a download tool saved the stream a site was already serving. Google published the format in 2010 precisely so that video could be delivered on the web without licence fees, and browsers do all read it.

Everything else largely does not. QuickTime has no VP9 decoder, Premiere and After Effects will not import one without help, PowerPoint refuses the file, and a phone’s camera roll will not take it. That gap — every browser yes, almost every desktop application no — is the whole reason this conversion is one of the most searched-for on the internet, and it is why MP4 is the answer rather than a codec pack.

This is a genuine re-encode, and it costs real time

Some container conversions are a matter of rewriting a header and copying the compressed data across untouched. This is not one of them. WebM holds VP8, VP9 or AV1; the MP4 written here holds H.264, because H.264 is the codec every device made in the last twenty years can decode in hardware. Two different codecs means every frame is decoded back to pixels and compressed again from scratch.

Budget accordingly. A one-minute clip at 1080p is usually done before you have switched tabs. A forty-minute screen recording of a meeting is minutes of sustained work on your own CPU and GPU, and the tab has to stay open while it happens. Anyone promising an instant WebM to MP4 conversion is either copying a stream a device will not play or has not started yet.

What ends up inside the MP4: H.264 High profile and AAC

The video track is written as H.264 at High profile, level 3.1 — in codec-string form, `avc1.64001f`. The audio, which in a browser-made WebM is nearly always Opus, is written as AAC. That pairing is deliberate: an MP4 containing AV1 is a perfectly valid MP4 that a television will refuse to play, and a conversion that produces a file the destination rejects has not solved anything.

The practical consequence is that the MP4 is playable by default everywhere an MP4 is expected — iOS and Android, Windows Media Player, QuickTime, every editor, every social platform’s uploader. High profile rather than Baseline is worth knowing about only in one place: extremely old hardware players that predate it. Everything from the last decade and a half handles it.

Setting the resolution while the WebM is being re-encoded

Because every frame is being rebuilt anyway, changing the resolution costs nothing extra. The control offers 2160p, 1440p, 1080p, 720p, 480p and 360p alongside keeping the original size, and the width follows the height automatically so nothing is ever stretched.

Asking for more than the source has is quietly ignored. A 720p screen recording set to 4K would be four times the file with not one pixel of new detail in it, so the request is treated as "leave it alone". The useful direction is downward: a 4K capture dropped to 1080p has a quarter of the pixels, and the MP4 shrinks roughly in proportion.

Screen recordings and camera footage behave differently here

Most WebM files that need converting are screen recordings, and screen content is unusually kind to a re-encode. Flat interface panels, solid blocks of colour and unmoving text compress extremely well and survive a second pass with almost nothing visible lost. A recorded software demo converted to MP4 generally looks identical to the WebM beside it.

Camera footage is the harder case. Grain, hair, foliage and fast motion are exactly what a codec spends its bits on, and asking a second codec to describe the first one’s approximations shows. If the WebM came out of a webcam and the result is going into an edit rather than straight to a viewer, raise the quality band before converting rather than after.

What the WebM carries that the MP4 will not inherit

Picture and sound cross over in full: every video track and every audio track the browser can decode, in the order the WebM held them, because MP4 has no practical ceiling on how many it can store. What does not survive is everything that is neither — no subtitle tracks, no chapter marks. For a browser-made capture this is almost always academic, because those files contain one video track and one audio track and nothing else.

Transparency is the one that occasionally surprises people. VP9 in WebM can carry an alpha channel — it is how animated overlays are delivered on the web — and H.264 has no alpha channel at all. A transparent WebM converted to MP4 comes back opaque, and no setting changes that. If the transparency is the point, keep the WebM and use it in a `<video>` element.

When your browser refuses to write the MP4

The H.264 encoder used here belongs to the browser and the machine, not to this page. Chrome, Edge and Safari have one on essentially every current computer and phone. Some Firefox installations, particularly on Linux, do not, and in that case the conversion stops before it starts with a sentence saying so rather than failing halfway through.

There is no software fallback, and that is a decision rather than an omission. An H.264 encoder compiled to WebAssembly is tens of megabytes to download and roughly an order of magnitude slower than the hardware encoder sitting idle next to it. Telling you to open the same page in a different browser is a better answer than a fifty-megabyte download that then takes an hour.

Converting a folder of WebM recordings at once

Drop up to a hundred files together. Each one converts on its own with its own progress, and once more than one has finished they can be downloaded as a single ZIP. This is the ordinary case for anyone whose screen recorder has been quietly producing WebM for months.

Because nothing is uploaded, a batch costs no bandwidth and hits no daily limit — the only constraint is how much work your machine wants to do at once. It is also the point at which the local approach stops being about privacy and starts being about not spending an afternoon watching an upload bar.

The recording stays on the machine that made it

Screen recordings are the single most sensitive category of file most people convert. They contain inboxes, dashboards, customer names, internal tooling and whatever else happened to be on screen, and the usual route for this conversion is to hand all of that to a website you found ten seconds ago.

Here the video is decoded, re-encoded and muxed inside the tab, using codecs the browser already has. Nothing carrying the file is sent anywhere, there is no account, and there is no queue behind other people’s uploads. The check takes ten seconds if you want to make it: open developer tools, watch the network tab, convert something and see what moves.

How to convert a WebM file into an MP4

  1. Drop your WebM onto this page, or click to choose one. Several at once is fine.
  2. Set the resolution and quality if you want them changed, then convert — every frame is re-encoded to H.264 in your browser.
  3. Download the MP4.

WebM and MP4: two containers holding different codecs

WebM compared with MP4
WebMMP4
Full nameWebM VideoMPEG-4 Video
File extension.webm.mp4
Media typevideo/webmvideo/mp4
CompressionLossy — file size is bought with qualityLossy — file size is bought with quality
First published20102001
Published byGoogleMPEG
SpecificationISO/IEC 14496-14
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Opens in a browserEvery browserEvery browser
Considered insteadMKVMKV, MOV

Opening the result

MP4 is a container rather than a single format. What actually plays is the codec inside it — usually H.264, HEVC and AV1 — which is why two files with the same extension can behave differently on the same device.

VLC reads both WebM and MP4, so there is a way to check the result against the original without a second tool.

What each format is for

MP4 comes from MPEG and dates from 2001, specified as ISO/IEC 14496-14. VLC, HandBrake and Adobe Premiere Pro all read it.

WebM to MP4: what people ask before they convert

Is my WebM uploaded to a server?

No. The decoding and the H.264 encoding both run inside your browser, using the same hardware codecs your machine already uses to play and record video. The file never leaves the device. You can confirm it: open your developer tools, watch the network tab, and convert something — nothing carrying the video is sent.

Why does this take minutes when other conversions take seconds?

Because every frame is genuinely re-encoded. A WebM holds VP8, VP9 or AV1, and an MP4 that plays everywhere holds H.264 — those are different codecs, so the picture has to be decoded back to pixels and compressed again. Nothing can be copied across. A one-minute 1080p clip is usually quick; a forty-minute screen recording is a coffee.

Will the MP4 look worse than the WebM?

Slightly, and it is unavoidable for the reason above. Compressed video re-compressed loses a little more. On a screen recording — flat interface panels, solid text — it is very hard to see. On camera footage with grain or fast motion it is visible if you look for it. The quality control under the result is the lever; raise it if the MP4 is going into an editor.

Why will my WebM not play in QuickTime or import into Premiere?

Because neither ships a VP9 decoder by default. WebM is a web format: browsers all read it, and desktop video software largely does not. That is the entire reason this page exists, and it is why converting to MP4 rather than installing a codec pack is the shorter path.

Can I make the MP4 smaller at the same time?

Yes, with the resolution control. Dropping a 4K screen recording to 1080p cuts the pixel count by three quarters and the file size roughly with it. Asking for a resolution larger than the source has is ignored rather than honoured — upscaling invents no detail and only makes the file bigger.

Does the MP4 keep the subtitles or chapters?

No. Subtitle tracks and chapter marks are dropped — the engine reads video tracks and audio tracks and never sees the rest. Every audio track does come across, including a second soundtrack. For a browser-made recording this almost never matters, because those files have neither subtitles nor a second track.

Not sure which you need?

This page converts one into the other. If you are choosing rather than converting, WebM vs MP4 answers which to use, for what, and what each is bad at.

More about these formats