Videos · Compared
MP4 vs MOV vs WebM: which video file should you use?
MP4, MOV and WebM are video containers, file formats that package compressed video and audio together. MP4 is the most widely supported and the usual choice for sharing. MOV is Apple's QuickTime format, common from cameras and editing on a Mac. WebM is an open format built for the web around royalty free codecs.
The extension on a file decides where it will open before anyone sees the picture. Choosing the right container for each stage, capture, editing and delivery, avoids the most common reason a finished video refuses to play.
Nuwan Madhusanka · Co-founder
5 min read · Published
| MP4 | MOV | WebM | |
|---|---|---|---|
| Origin | MPEG-4 Part 14, derived from the ISO base media file format | Apple's QuickTime file format | Web Media, based on Matroska, introduced in 2010 |
| Typical video codecs | H.264, HEVC, VP9, AV1 | H.264, HEVC and editing codecs | VP8, VP9, AV1 |
| Typical audio codecs | AAC, MP3, Opus, FLAC | AAC and uncompressed audio | Opus, Vorbis |
| Playback on the web | The broadest device and browser support | Mainly Apple devices; no longer widely used online | Widely supported in modern browsers |
| Best for | Sharing, uploading and embedding | Capture and editing on Apple systems | Open, royalty free web delivery |
Containers hold, codecs compress
A container is the box rather than its contents. It stores one or more streams of compressed video and audio, keeps them in sync, and carries information such as duration, subtitles or chapter points. MDN's media reference traces the family tree: MP4 is derived from the ISO base media file format, which was itself derived from Apple's QuickTime file format, the one behind files ending in .mov. WebM comes from a different line, based on the Matroska format and designed specifically for modern web environments. So MP4 and MOV are close relatives with a similar internal structure, while WebM is a separate design that deliberately limits itself to a small, openly licensed set of codecs.
How each one is used
MP4 is the general purpose delivery format. MDN's advice is that if you can provide only one format, choose the one available on the broadest selection of devices and browsers, which for video means MP4. YouTube's recommended upload settings also specify MP4, with the index, known as the moov atom, placed at the front of the file so playback can begin before the whole file arrives. MOV remains common as a capture and editing format on Apple systems and professional cameras, but MDN notes it is no longer widely used on the internet because its support is mainly on Apple devices. WebM requires support for VP8 and VP9 video with Vorbis and Opus audio, and the WebM Project publishes the format and its codecs under open licences.
When the choice matters
It matters at every handover. A MOV straight from an editing workstation can be much larger than an MP4 exported from the same timeline, and a recipient on Windows or Android may struggle to preview it. It matters on web pages, where offering WebM alongside MP4 lets a browser pick the open format while devices that prefer MP4 still play. It matters for recordings made in a browser, which are often saved as WebM, and which may need converting before an editing tool or upload form will accept them. And it matters for any platform or form with a fixed list of accepted containers, where the wrong extension simply fails at the upload step before quality is ever considered. A simple rule covers most teams: keep MOV or the original camera file as the master, deliver MP4 to people and platforms, and add WebM only where you control the web page that plays it.
Common mistakes
Renaming a file from .mov to .mp4 is the classic one. It changes the label, not the contents, and it only works when the codecs inside happen to suit the new extension; converting with a real export is the reliable route. The second is assuming a WebM will be accepted everywhere because it plays in a browser, when many upload forms and editing tools still expect MP4. The third is sending an editing MOV as the final file, which wastes storage and fails to preview for many recipients. The fourth is forgetting the audio track: a container can hold audio in a codec the destination cannot play, which produces a silent video that looks like a missing soundtrack.
Where it shows up in the product
The video builder here takes all three as input and produces one as output. An uploaded clip can be an MP4, WebM or MOV file up to 200 MB, trimmed by start and end time and set either to cover its box or to fit inside it. Every export is an MP4 with H.264 video at 30 frames per second, which is the file to upload, attach or embed. The share link is not a file at all but a live player page that draws the video in the viewer's browser, so anything that needs a download needs the exported MP4. The one WebM output in the wider product comes from the slides module, where the presentation recorder saves WebM files with VP9 or VP8 video and Opus audio.
Questions people ask
Is WebM better quality than MP4?
Neither container has better quality, because quality comes from the codec and its settings. A WebM with AV1 and an MP4 with AV1 at the same bitrate look the same. The differences people notice come from the codecs or export settings inside the two files, such as an older VP8 WebM compared with a well encoded H.264 MP4.
Can MOV files play on Windows?
Often, with a modern player that includes the right decoders, but not always, because a MOV can hold codecs Windows does not ship with. MDN also notes that Apple stopped supporting QuickTime for Windows in early 2016 and that it should not be installed. Converting to MP4 is the dependable way to share a MOV with Windows users.
Which format suits a website background video?
Offer an MP4 with H.264 as the baseline, and add a WebM version if you want an open alternative for browsers that choose it. Keep the clip short, muted and compressed firmly, because background videos load before anyone asks for them. Place the MP4 index at the front of the file so playback starts quickly.
Why is a MOV from my phone so large?
Phones record at high bitrates to preserve detail for editing, and many save MOV files with HEVC or H.264 at a generous data rate. The container is not what makes the file large; the bitrate is. Exporting to an MP4 at a sensible delivery bitrate usually shrinks it considerably with no visible change on a phone screen.
Does converting between containers lose quality?
Only if the video is re-encoded. Moving the same compressed streams into another container, often called remuxing, keeps quality intact and finishes quickly, as long as the new container supports the codecs inside. Converting a VP9 WebM into an H.264 MP4 needs a re-encode, which costs some quality and is best done once, from the best available source.
Make one with videos
The button opens the generator with this use case already described. Change the wording to match your own.
Create a video with OneCraftRelated questions
- What is a video codec?What is a video codec? How H.264, H.265, VP9 and AV1 compress video, how a codec differs from a container such as MP4, and which codec to choose.
- What is video bitrate?What is bitrate in video? How Mbps affects quality and file size, constant versus variable bitrate, recommended upload rates, and common export mistakes.
- What is an SRT file?What is an SRT file? The plain text SubRip caption format explained cue by cue, how it differs from WebVTT, and the mistakes that break captions on upload.
Step by step in the builder: Export one video for YouTube, Reels and TikTok.
Written and checked by the OneCraft team. Last checked .