MP4, MOV, MKV or WebM: which video format should you upload?
What the letters after the dot actually mean, which format to export for the web, and what happens to your video after the upload.
Phones record MOV, screen recorders save MKV, editing apps offer a dozen export options. Which one should you pick when the video is going online? The short answer: MP4 with H.264. The longer answer helps you understand why, and when something else is fine too.
Container and codec: two different things
A video file has two layers:
- The container is the file type you see in the name:
.mp4,.mov,.mkv,.webm. It is a box that holds the video, the sound, subtitles and some information about the file. - The codec is how the picture and sound inside the box are compressed. Common video codecs are H.264, H.265 (also called HEVC), VP9 and AV1. For audio it is usually AAC or Opus.
Two MP4 files can therefore be very different inside. That is why a video sometimes plays on one device and not on another, even though both "play MP4".
The common formats at a glance
| Format | Typical source | Good to know |
|---|---|---|
| MP4 | most cameras, phones, editing apps | the safest choice for the web |
| MOV | iPhone, Mac, QuickTime | often H.265 inside, which not every browser plays |
| MKV | screen recorders, OBS | flexible, but browsers don't play it directly |
| WebM | web tools, browser recordings | made for the web, VP9 or AV1 inside |
| AVI, WMV, FLV | older software | dated, best converted |
What to export for the web
If you control the export, use these settings:
- Container: MP4
- Video codec: H.264 (or H.265 if your tool doesn't offer H.264 at high quality)
- Audio: AAC, 128 to 320 kbit/s
- Resolution: the same as your footage, up to 4K
- Bitrate: rather high than low. The online version can only be as good as what you upload.
What Vidlify does with your upload
You don't have to convert anything yourself. Vidlify accepts MP4, MOV, MKV, WebM, AVI, M4V, WMV, FLV, MPG, MPEG and 3GP.
After the upload, the video is converted into a stream that plays in every modern browser: H.264 video and AAC audio, split into several qualities from 360p up to the resolution of your file, maximum 4K. An iPhone video in HEVC or an MKV from OBS ends up playing on any phone or laptop, without you doing anything.
The original file is deleted after the conversion. If people need the exact file, for example to edit it, switch on Store videos as plain files before uploading. The video is then kept unchanged and offered as a download. More on that in How to share a 4K video without losing quality.
Quick answers
- My MOV from the iPhone won't play for a friend. It is probably H.265. Upload it to a video host that converts it, or export it as MP4 with H.264.
- Is MKV bad? No, it is a great format for recording. It just isn't made for browsers, so convert it or upload it to a host that does.
- Should I use AV1? It is very efficient, but not every device decodes it smoothly yet. For sharing, H.264 still works best everywhere.