Complete Guide to Video File Formats: MP4, WebM, MOV and Friends
Video · Published 2026-11-03 · Updated 2026-11-15 · 8 min read · By Tool Magic Lab Editorial Team

Table of contents
Most video confusion comes from one misunderstanding: the file extension names a container, not the compression inside it. An MP4 file is a box; the video inside might be encoded with H.264, H.265 or AV1, and whether a given player can open it depends on the codec, not the box. With that distinction clear, the format zoo becomes a short, sensible list.
The containers that matter
**MP4 (.mp4)** — the universal default. Plays in every browser, phone, TV and editor; usually carries H.264 (maximum compatibility) or H.265/HEVC (smaller files, patchier support in some browsers). If you must pick one format blind, pick MP4 with H.264.
**WebM (.webm)** — the web-native container from Google, carrying VP9 or AV1 video and Opus audio. Excellent compression and royalty-free, native in Chrome/Firefox/Edge; Safari support arrived later and older Apple devices may refuse it. Ideal for web playback where you control the audience's browsers, risky for files you send to unknown devices.
**MOV (.mov)** — Apple's QuickTime container, standard in iPhone recordings and Mac editing workflows. Often contains the same H.264/H.265 codecs as MP4; converting MOV to MP4 is frequently a re-wrap (fast, lossless) rather than a re-encode — the Video Converter on Tool Magic Lab will tell you which it is doing.
**AVI (.avi)** — a 1992 container still found in old archives and some cameras. Large, inconsistent codec support, no modern streaming features. Convert archive AVIs to MP4 for safe keeping.
**MKV (.mkv)** — a flexible open container loved by archivists (multiple audio/subtitle tracks, chapters). Weak device/browser support for playback; a storage format, not a sharing format.
Codecs in thirty seconds
H.264: the compatibility king, decent compression. H.265/HEVC: roughly 25–50% smaller at equal quality in ideal comparisons, but licensing and browser support are uneven (Safari yes, Chrome historically no for hardware reasons). VP9: YouTube's workhorse, royalty-free. AV1: the newest, best compression, increasingly supported, slower to encode. When a file 'won't play', it is almost always the codec — the fix is conversion, and the Video Format Converter exists for exactly that.
Resolution, bitrate and the size equation
File size ≈ bitrate × duration. Resolution sets the ceiling on quality, bitrate decides how much of that ceiling you keep, and the codec decides how efficiently bitrate becomes picture. That is why a well-encoded 1080p WebM can be smaller and prettier than a sloppy 720p MP4. Our Video Bitrate Calculator and Video File Size Calculator let you run the numbers before you export, and the Resolution and Aspect Ratios guide covers the display side.
Choosing, by destination
- Website playback: MP4 (H.264) as the safe baseline, WebM/AV1 as the progressive enhancement.
- Sending to a person: MP4/H.264, no exceptions — it plays everywhere.
- Editing: keep the camera original (often MOV/MP4 HEVC) and convert only copies.
- Archiving: keep originals; add an MP4 access copy if the original is exotic.
Frequently asked questions
**Is converting formats lossy?** Re-encoding is; re-wrapping (changing container, same codec) is not. A good converter tells you which it did.
**Why does my MOV play on my Mac but not in the browser?** The browser may lack the HEVC codec the MOV contains. Convert to MP4 with H.264.
**Which format is smallest?** At equal quality, AV1/WebM usually wins, H.265 next, H.264 last — balanced against who can actually play the file.
Written by the Tool Magic Lab Editorial Team. Tool Magic Lab content is produced with AI assistance and editorially reviewed for accuracy — see our AI Usage Disclosure and Editorial Policy.

