HeyDreaming

Free · processed in your browser · free account to download

Convert WebM to MP4

Loading the tool…

Turn a browser recording or downloaded .webm video into an H.264 + AAC MP4 that opens in Mac video apps, social uploaders and messaging apps. Files up to 200 MB are converted in your browser and not uploaded.

How do I convert a WebM file to MP4?

Drop your .webm file into the box above and press Convert to MP4. Working in your browser tab (the first run takes longer), the tool decodes the VP8 or VP9 video and Opus or Vorbis audio and encodes a new H.264 + AAC MP4 you can preview and download.

How it works

01

Add your WebM file

Drag one .webm video into the drop zone, or click to select it. Files up to 200 MB are accepted.

02

Press Convert to MP4

The tool re-encodes the WebM streams to H.264 video and AAC audio. The first run in a tab takes a little longer.

03

Preview and download

Play the converted MP4 in the preview player, compare the old and new file sizes, and download the .mp4 copy.

Why convert WebM to MP4

Browser screen recorders (`MediaRecorder`), web games and chat forums often save clips as `.webm` with VP8 or VP9 video and Vorbis or Opus audio. While desktop browsers play WebM easily, QuickTime Player, older iOS versions, presentation apps, and many video editors and social upload forms either refuse `.webm` files or reject their codecs.

Converting to an `.mp4` container with H.264 video and AAC audio gives you a file that opens across Apple, Windows and Android software without extra codec packs.

What changes in the output file

Because the MP4 container does not support Vorbis audio or VP8 video across standard players, the tool re-encodes the video stream to H.264 (CRF 23, `veryfast` preset, `yuv420p`) and the audio stream to 128 kbps AAC with `faststart` enabled. Any odd pixel width or height is rounded down by 1 pixel (`trunc(iw/2)*2:trunc(ih/2)*2`) so `yuv420p` receives even dimensions.

A WebM encoded with VP9 is often more compact than H.264 at similar visual quality, so the resulting MP4 can be slightly larger than the source `.webm`. Transparent backgrounds in VP8/VP9 WebM clips are flattened because `yuv420p` H.264 does not store transparency.

What this tool does not do

It does not preserve WebM alpha transparency (H.264 yuv420p MP4 has no alpha channel), copy streams without re-encoding, or convert animated WebP images (use WebP to GIF for those).

See all free tools

Keep exploring

Related free tools

Questions

WebM to MP4: FAQ

Is my WebM file uploaded to a server?

No. Conversion runs inside your browser tab, so the video stays on your device and is not uploaded. The page sends usage events to Google Analytics, such as which tool ran, but never the video.

Why did the MP4 come out larger than my WebM?

Many WebM files use VP9 compression, which packs video more tightly than H.264 at CRF 23. If you need a smaller MP4 after converting, run the result through the Video Compressor page.

Is transparency kept when converting WebM to MP4?

No. Standard MP4 with H.264 (`yuv420p`) cannot store an alpha channel, so transparent areas in a WebM overlay are rendered opaque.

Why did my video lose 1 pixel on one side?

H.264 with yuv420p requires even width and height. Browser window recordings often have odd pixel dimensions, so the tool rounds odd sides down by 1 pixel.

Why is the first run slower?

The browser gets the video tools ready the first time you convert in a tab. Additional conversions in the same tab start right away.

What if my WebM has no sound?

The conversion still succeeds and produces a silent H.264 MP4.