MP4 to WebM
Make a royalty-free WebM copy of an MP4 for a web page or an HTML5 video tag.
or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.
Downloads a small public example. Your own files are not used.
- Runs on your device
- No sign-up or watermark
- No fixed file size cap
The short answer
To convert MP4 to WebM, open the video here and press Convert to WebM. The picture is re-encoded to VP8 and the sound to Vorbis by ffmpeg running in your browser, so the file is never uploaded. Quality runs from 20 to 50 and you can cap the height at 1080p, 720p or 480p.
A worked example
See a real input and result
This synthetic sample produced 1 output file from 1 input file. These are synthetic demonstration files, not someone’s documents.
Input sample
- input-1-clip.mp45 KB
Actual output
- Input count
- 1
- Output count
- 1
- Files converted
- 1
- Before
- 5 KB
- After
- 8 KB
- Change
- 59% larger
- Input 1 dimensions
- 160 × 120 px
- Input 1 duration
- 0.500 s
- Output 1 dimensions
- 160 × 120 px
- Output 1 duration
- 0.544 s
- Input bytes
- 5394
- Downloadable output bytes
- 8576
Settings used: height: 0 · crf: 40
This synthetic sample only; results depend on the input. The audio had to be re-encoded to Vorbis to fit the WebM container. WebM is ideal for the web but some desktop editors still will not open it. Encoding runs on your own machine with a WebAssembly build of ffmpeg. That is slower than a data centre and the engine is a 31 MB one-time download — but your footage is never uploaded, and there is no queue.
Ran through this tool on . Use “Try sample files” above to run it yourself.
How to convert MP4 to WebM for the web
- STEP 1
Choose the MP4s
Pick one or more MP4 files. MOV, MKV and AVI are accepted too.
- STEP 2
Cap the height
Keep original, or limit it to 1080p, 720p or 480p. A lower cap is the surest way to a small WebM.
- STEP 3
Set the quality
The slider runs from 20 to 50, lower is better; 34 is the default and suits most web video.
- STEP 4
Convert to WebM
Press Convert to WebM, then save each file. The summary tells you whether the audio was copied or re-encoded.
What is WebM, and when do you want it?
WebM is an open, royalty-free video format built on the Matroska container, carrying VP8, VP9 or AV1 video with Vorbis or Opus audio. Every current browser plays it, which is why it shows up as the second source in HTML5 video tags and as the format some sites ask for.
For most other uses MP4 is still the safer file: some desktop editors and older devices will not open WebM. Convert when a page, a platform or a tool specifically wants it.
What survives, and what does not
This tool encodes VP8 with libvpx in realtime mode, single-threaded, with a 2 Mbps ceiling on the video bitrate. VP9 and Opus are deliberately not used: in this WebAssembly build both exhaust the browser’s memory. The tool first tries to copy the audio across untouched; an MP4’s AAC audio is not allowed in WebM, so in practice it is re-encoded to Vorbis.
What you keep
Resolution, or a lower cap you choose
The main audio track, copied when it is already WebM-legal and otherwise converted to Vorbis
A file every modern browser can play natively
What you lose
Some quality, since the video is re-encoded
Efficiency: VP8 in fast realtime mode is often no smaller than the H.264 MP4 you started with
VP9 and AV1, which this build cannot encode
Subtitle tracks and extra audio tracks
Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.
MP4 to WebM at a glance
| Input | MP4 (also MOV, MKV, AVI, WebM) |
|---|---|
| Output | WebM, VP8 video, Vorbis audio |
| Video bitrate ceiling | 2 Mbps |
| Batch | Yes |
| Engine | ffmpeg.wasm with libvpx |
| First-use download | About 32 MB |
| Works offline | After the first use |
If something goes wrong
The WebM is larger than the MP4
H.264 from a phone or camera is already efficient, and fast VP8 is not better at it. Cap the height at 720p or raise the quality number to 40 or more.
Fine detail looks soft or blocky
The video bitrate is capped at 2 Mbps, which is thin for 1080p action. Lower the height cap so the bits go further, or keep the MP4 for that clip.
My editor will not open the WebM
Many desktop editors still lack WebM support. That is a limit of the editor; keep the MP4 for editing and use the WebM only for the web.
MP4 to WebM questions
Is WebM smaller than MP4?
Not automatically. WebM with VP9 or AV1 can beat H.264, but this tool uses VP8 in fast mode, which is roughly comparable. Expect similar sizes unless you lower the quality or the resolution.
Which codec does this MP4 to WebM converter use?
VP8 for the picture, encoded with libvpx, and Vorbis for the sound. VP9 and Opus are not offered because they run out of memory in this browser build of ffmpeg.
Does my MP4 get uploaded?
No. The conversion runs in your tab with a WebAssembly copy of ffmpeg served by this site. Only the 32 MB engine is downloaded, once.
Will a WebM play on iPhone and Mac?
Recent Safari versions on Mac and iPhone play WebM in the browser, as do Chrome, Firefox and Edge. Some native apps and older devices still do not, so keep the MP4 as well.
Can I convert MP4 to WebM in bulk?
Yes. Select several files together; they are converted in turn with the same height cap and quality, and each is saved separately.