Convert an MP4 to WebM for embedding on a website. The picture is re-encoded to VP9 and the sound to Opus, unless the MP4 already holds those codecs.
WebM for web pages
A <video> element can play WebM with VP9 in every current browser. VP9 needs about 30% fewer bits than H.264 for the same picture, so a background video or product clip costs the page less to load. Keep the MP4 as a fallback source for older Safari versions.
Copied and re-encoded streams
- H.264 or HEVC video: re-encoded to VP9 at the source size.
- VP9 or AV1 video: copied unchanged.
- AAC or MP3 audio: re-encoded to Opus.
- Opus or Vorbis audio: copied unchanged.
The Plan section shows which applies to the loaded file before you convert.
Encoding time
Browsers often encode VP9 in software, so a WebM export usually takes longer than an MP4 one of the same clip. Frame size and frame rate are unchanged; to shrink the file further, use the Video Compressor, which can scale the frame down and target a size.