Open Toolkit

Convert MP4 to WebM

MP4 videos to WebM (VP9) for websites and HTML5 video.

Free, no sign-up, no credit card. Your files stay on your device.

How to convert MP4 to WebM

  1. Choose your MP4 videos, or drop them on the page.
  2. Check what the page says under each video. Converting takes a while.
  3. Select "Convert to WebM", wait for the progress bar, then download each video.

About MP4 to WebM

Where MP4 files come from

MP4 with H.264 is what phones and cameras record and what most apps share. Websites often want WebM as well, for smaller files and for browsers and platforms that prefer open formats.

What changes

  • The picture is converted to VP9 (VP8 where the browser can't make VP9) and the sound to Opus, at a high quality setting.
  • Size and frame rate stay the same. The rotation of a phone video is applied to the pixels, because WebM has no rotation setting.
  • The file size depends on the video and the browser's encoder. At the high quality setting used here, the sample WebM came out about a tenth larger than the MP4.

Measured

A one-minute 1080p sample at 30 frames a second with H.264 video and AAC sound (a synthetic test pattern, which is easier to encode than real footage), converted in Chrome on a laptop.

MP4 file 61.1 MB
WebM file (VP9 and Opus) 68.6 MB
Time (Chrome, laptop) 4.8 seconds; real footage takes longer

In your browser

Needs a browser that can make VP9 and Opus. Chrome, Edge, and Firefox can; Safari makes VP9 video from 16.4 and Opus sound from 26. Few browsers use the graphics chip for VP9, so it is slower than making H.264.

Limits

  • Most browsers make VP9 without the graphics chip, so long or high-resolution videos take a while, and much longer on phones.
  • HEVC (H.265) MP4s from recent iPhones can be converted only where the browser decodes HEVC, such as Safari.

Other options

  • WebM to MP4: the reverse, for phones, TVs, and editors.
  • Mute video: background videos usually play muted; drop the sound first.
  • Video converter: convert videos between MP4, MOV, WebM, and MKV, or save the sound as MP3 or M4A.

Questions

Why convert MP4 to WebM?

WebM is the web's own, royalty-free video format. Websites use it for background and HTML5 videos, and some web platforms and tools ask for it.

Are my videos uploaded?

No. Your files are processed on your device. We never upload them.

How long does it take?

The picture is converted frame by frame, so expect a good fraction of the video's length on a computer, and longer on a phone. On a computer, the page shows an estimate under each video before you start.

Will WebM play on an iPhone?

Recent versions of Safari play WebM on Mac and iPhone, but older iPhones and many apps can't, so keep the MP4 for them.

Something not working? Report a problem