MP4 vs WebM: which should you use?
MP4 vs WebM at a glance
| MP4 | WebM | |
|---|---|---|
| Full name | MPEG-4 Part 14 | WebM |
| File extension | .mp4 | .webm |
| Introduced | 2001 | 2010 |
| Created by | ISO / MPEG | Google (open, royalty-free) |
| Compression | Container (depends on codec) | Container (depends on codec) |
| Support | Every browser, phone and video app | Chrome, Firefox, Edge; Safari has partial support |
When to use MP4
MP4 is the most widely supported video file type. It is a container that usually holds H.264 or H.265 video with AAC audio, and plays almost everywhere.
- Sharing video anywhere
- Uploading to social media
- Web video
When to use WebM
WebM is an open, royalty-free video format designed for the web. It uses VP8, VP9 or AV1 video with Opus or Vorbis audio.
- Video on websites
- Royalty-free projects