YouTube to MP4 — The Complete Quality & Format Guide (2026)
By Sardar Ali Khan · Last updated 2026-05-06
Quick answer."YouTube to MP4" means downloading a YouTube video as a file with the .mp4 extension. MP4 is a container, not a codec — what's actually inside the file (H.264, H.265, VP9, AV1) determines how it looks and how big it is. YouTube serves higher resolutions in VP9 inside WebM, so most MP4 conversions involve a re-encode that costs you some visual quality. This guide explains exactly what that means and how to minimise the loss.
How YouTube actually streams video — the bit you need to know
When you watch a YouTube video in your browser, you're not downloading one file. You're receiving an adaptive bitrate stream— YouTube's player constantly negotiates with the server about how much bandwidth your connection can handle and switches between multiple parallel streams in real time. The server has typically pre-encoded the same source video into 6–10 different combinations of resolution and codec, and serves whichever combination matches your current network conditions.
The combinations roughly look like this: 144p H.264 in MP4, 240p H.264, 360p H.264, 480p H.264, 720p H.264, 1080p VP9 in WebM, 1440p VP9, 2160p (4K) VP9 or AV1. Audio is served as a separate AAC or Opus stream that the player muxes (combines) with the video on the fly. This split — separate video and audio streams that the player combines — is called DASH(Dynamic Adaptive Streaming over HTTP) and it's the default for almost every video YouTube serves today.
Why does this matter for downloading? Because a converter has to do the muxing for you. If it grabs only the video stream, the file you get has no audio. If it grabs the wrong audio stream (or one with a different sample rate), you can end up with sync issues. And if it grabs a high-resolution VP9 video stream and tries to wrap it in an MP4 container without re-encoding, some players won't play it because MP4 + VP9 is a non-standard combination. Most reliable converters resolve this by re-encoding to H.264 inside MP4, which guarantees universal playback at the cost of visual quality.
MP4 is a container, not a codec — why this matters
A common mistake: thinking "MP4" describes the video quality. It doesn't. MP4 is a container — it's a wrapper that holds a video stream, an audio stream, subtitles, and metadata. The actual video quality depends on the codec inside the container.
The most common video codecs you'll see inside an MP4 are:
- H.264 (AVC) — universal compatibility, larger file size for the same quality. The default if you want it to play everywhere.
- H.265 (HEVC) — 30–50% smaller for equivalent quality, but limited browser support.
- AV1 — even better compression than H.265, royalty-free, supported by Chrome/Firefox/Edge/Safari 17+.
- VP9 — Google's codec, normally found inside WebM (not MP4). What YouTube serves natively for higher resolutions.
How to download YouTube as MP4 — 4 steps
- Copy the YouTube URL. Share → Copy link, or copy from the address bar.
- Choose a tool. A browser-based converter is fastest for one-off downloads. A desktop tool like a yt-dlp wrapper is more reliable, supports playlists, and gives you finer codec/resolution control.
- Pick a resolution. 1080p is the practical default; 4K only if the source is genuinely 4K and you actually need it.
- Download. Output bitrate and codec are set by the tool — see the next section for what you actually get.
1080p / 4K / 720p — what you actually get
1080p MP4 from YouTube
YouTube delivers 1080p as VP9 in WebM. Most browser converters re-encode this to H.264 inside MP4 so the file plays everywhere. The re-encode is technically lossy, but in practice the difference is invisible at sensible viewing distances. Expect ~50–150 MB per 10 minutes for typical content.
4K MP4 from YouTube
Source-side, 4K on YouTube is VP9 or AV1 inside WebM. Re-encoding to H.264 MP4 at 4K produces large files (often >1.5 GB per 10 minutes) and loses some detail in fine textures. If you want true bit-for-bit 4K, you usually want the source WebM rather than an MP4.
720p / 480p
YouTube serves these as H.264 inside MP4 natively, which means many converters just download the file as-is — no re-encode, no quality loss, fast. If your end use is mobile playback or storage-constrained backups, 720p MP4 is often the sweet spot.
Bitrate, frame rate and the rest of the spec
Resolution alone doesn't determine quality. A 1080p video at 2 Mbps will look noticeably worse than the same 1080p video at 8 Mbps — same pixel count, less data per frame to describe what's in those pixels. Bitrate (megabits per second of video data) is the single biggest determinant of how good a given resolution looks.
YouTube targets roughly these bitrates for upload-recommended encodes (these are approximations and have shifted over the years):
- 720p, 30 fps: ~5 Mbps
- 1080p, 30 fps: ~8 Mbps
- 1080p, 60 fps: ~12 Mbps
- 1440p, 30 fps: ~16 Mbps
- 2160p (4K), 30 fps: ~35–45 Mbps
- 2160p (4K), 60 fps: ~53–68 Mbps
What you actually get from a converter is usually lower than this — converters typically re-encode at a more conservative bitrate to keep file sizes manageable, especially when transcoding from VP9 to H.264. Frame rate is preserved by default (a 60 fps source produces a 60 fps output), but some converters silently drop to 30 fps to save bandwidth, which produces visibly choppier motion in panning shots and gaming footage. If frame rate matters for your use, verify it after download with a tool like MediaInfo or VLC's codec info panel.
Why your MP4 looks worse than YouTube
Three reasons, in order of likelihood:
- Codec re-encode. VP9 source → H.264 MP4 output costs visible quality, especially in motion-heavy scenes.
- Resolution downgrade. Some converters silently default to 720p even when 1080p is available.
- Frame-rate changes. A 60 fps source converted to 30 fps will look judder-y in panning shots.
H.264 vs H.265 vs VP9 vs AV1 — comparison table
| Codec | File size (vs H.264) | Compatibility | Best for |
|---|---|---|---|
| H.264 / AVC | baseline | Universal — every browser, device, player | Default; share with anyone |
| H.265 / HEVC | ~50–70% of H.264 | Safari, modern hardware; patchy elsewhere | Apple ecosystem, hardware decode available |
| VP9 | ~60–75% of H.264 | Chrome/Firefox/Edge; Safari 14+ | Browser-native streaming, YouTube source |
| AV1 | ~50–60% of H.264 | Chrome 70+, Firefox 67+, Edge, Safari 17+ | Smallest files at modern compat |
File-size expectations by resolution
| Resolution | Codec | Per 10 minutes (typical) |
|---|---|---|
| 480p | H.264 MP4 | 30–80 MB |
| 720p | H.264 MP4 | 80–200 MB |
| 1080p | H.264 MP4 | 150–400 MB |
| 1080p | VP9 WebM | 100–250 MB |
| 4K | H.264 MP4 | 1.5–3 GB |
| 4K | AV1 WebM | 500 MB – 1.5 GB |
Audio inside MP4 — what gets muxed in
An MP4 file holds at minimum one video stream and one audio stream. The audio side is almost always AAC-LC(low complexity AAC) at 128–256 kbps, sample rate 44.1 or 48 kHz, stereo. AAC is the standard partner codec for H.264 in MP4 — they're designed to be muxed together and every MP4-aware player handles the combination natively.
If you grabbed the source as VP9 + Opus (YouTube's native combination for higher resolutions), the converter has to make a decision about audio. The cleanest path is to re-encode Opus to AAC alongside the video re-encode to H.264, producing a fully standard MP4. Some tools instead try to pass the Opus audio through unchanged into the MP4 container, which technically works in modern players but breaks compatibility on a lot of older hardware. If you find an MP4 file that plays on your laptop but is silent on your TV, this is usually the cause — check the audio codec with VLC's "Codec information" panel or MediaInfo.
For full audio-only extraction from a YouTube video — which is what an MP3 or AAC download is, fundamentally — see our YouTube to MP3 pillar.
HDR, 60 fps, and the things converters quietly drop
A few features of YouTube's source video survive the conversion to MP4 less reliably than basic resolution and frame rate:
- HDR (High Dynamic Range). YouTube delivers HDR content using HDR10 or HLG tagged inside VP9 or AV1. Re-encoding to H.264 strips the HDR metadata — you get a tone-mapped SDR (standard dynamic range) version that looks washed-out compared to the source. If you specifically need HDR, download as VP9 in WebM, not as H.264 in MP4.
- 60 fps. Most converters preserve frame rate, but the lower-effort browser-based tools sometimes drop to 30 fps silently. If you can see judder in panning camera shots compared to the YouTube playback, you've got a frame-rate downgrade.
- 5.1 surround. Almost no YouTube video has surround audio (uploads are stereo by convention), but for the rare cases where the source includes 5.1, a converter has to either preserve the 6-channel AAC (which most MP4 players handle) or downmix to stereo. Downmixing is usually the safer default for compatibility.
- Subtitles. YouTube serves subtitles as a separate text track. A few converters can embed them as closed-caption tracks inside the MP4, but most discard them. yt-dlp can fetch subtitles separately as .srt or .vtt files.
- Chapter markers. Newer YouTube videos have chapter markers in the timeline — these don't survive most conversions. yt-dlp's
--embed-chaptersflag preserves them as MP4 chapters.
Doing it on a specific device
- iPhone: built-in Files app + iOS Shortcuts is the cleanest browser-free route.
- Mac: a desktop yt-dlp wrapper handles 4K and playlists best.
- Android: in-browser converters work; native APK alternatives from outside Google Play frequently violate Play Store policies and have been flagged for malware in the past — avoid.
- Windows: the same desktop tools as Mac plus several long-running Windows-native options.
Step-by-step device guides with screenshots are on our roadmap and will appear under /guides as they ship.
Playlist / batch downloads
For multi-video downloads, switch from a browser tool to a desktop one. The cleanest open-source option is yt-dlp — it handles full playlists, channels, queue resumption, and rate-limit avoidance out of the box.
Is it legal?
See Is YouTube to MP3 / MP4 legal?— the same legal analysis applies whether you're saving audio or video.
yt-dlp for video — what it does that browser tools don't
For audio extraction we covered yt-dlp on the MP3 pillar. For video, the same tool does substantially more than any browser-based converter:
- Format inspection.
yt-dlp -F [URL]lists every available video and audio stream with its resolution, codec, bitrate and file size. You see exactly what's available and pick deliberately. - Codec-preserving downloads. Add
-f bestvideo+bestaudioand yt-dlp grabs YouTube's native streams without re-encoding — meaning you keep the source-quality VP9 video and Opus audio. Output ends up as .mkv or .webm, which plays in VLC and modern browsers. - Forced MP4 output.
-f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" --merge-output-format mp4tells yt-dlp to grab the best H.264 + AAC streams YouTube actually serves and mux them into an MP4 with no re-encoding. The fastest path to a high-quality MP4 with no transcoding loss. - 4K with codec choice. For 4K specifically, you can ask for AV1 (newer, better compression, smaller files) or VP9 (more universal browser support, larger files at the same quality). Browser tools rarely give you this control.
- Subtitles, chapters, thumbnails, metadata. Flags like
--write-subs,--embed-chaptersand--embed-thumbnailpreserve everything a YouTube video has alongside the raw video.
The trade-off is the command line. For a one-off it's overkill; for any recurring video archival, the time invested in learning yt-dlp pays back inside a week. If you want yt-dlp's power with a graphical interface, Stacher and Tartube both wrap it cleanly.
Why we don't host a YouTube-specific MP4 tool
Same reasoning as the MP3 side. YouTube's Terms of Service prohibit downloading without express permission, and the major ad networks that fund independent web tools refuse to work with sites whose primary purpose is YouTube downloading. So our converter handles sources where the legal picture is cleaner — file uploads, Creative Commons content, public-domain video, and platforms whose Terms allow personal-use saves.
For YouTube specifically, our recommendation is yt-dlp (or one of its GUI wrappers) for desktop and a clean browser-based tool like Cobalt.tools for one-off mobile use. Detailed scoring of the third-party options is on our YouTube to MP4 converters comparison.
Best YouTube to MP4 converters
A separately-tested ranking of popular YouTube → MP4 tools (scoring resolution accuracy, codec quality and reliability) is on our comparisons roadmap.
Frequently asked questions
Why does my YouTube MP4 download look worse than the original?
YouTube serves video in WebM (containing VP9 or AV1) for higher resolutions. When a converter re-encodes that to MP4 (H.264) so the file plays everywhere, you lose detail in the conversion. The output is technically the same resolution — but it's an H.264 re-encode of a VP9 source, not the source itself.
What's the difference between MP4 and WebM?
Both are container formats. MP4 most commonly contains H.264 video and AAC audio — it plays on virtually every device. WebM most commonly contains VP9 (or AV1) video and Opus audio — better quality at the same file size, but not universally supported. YouTube uses WebM internally for higher resolutions.
Can I really download 4K from YouTube?
Sometimes. The video has to be uploaded at 4K (many aren't), the source codec is normally VP9 or AV1, and you need a converter that can preserve that — or accept that it will be re-encoded down to H.264 MP4 at 4K (much larger file, slightly worse quality).
What's the file size for a 4K MP4 download?
Wildly variable depending on length and content. Rough rule of thumb for VP9 source re-encoded to H.264 MP4 at 4K: 1.5 to 3 GB per 10 minutes. AV1 is roughly half that for similar quality.
Is HEVC (H.265) better than H.264 for YouTube downloads?
Better quality at the same file size, yes — typically 30–50% smaller for equivalent visual quality. The trade-off is compatibility: H.265 isn't supported in older browsers or some media players. H.264 inside MP4 plays everywhere.
Will a 1080p MP4 from YouTube look the same as watching it on YouTube?
Not quite. YouTube's 1080p stream is highly optimised for streaming (low buffer, adaptive bitrate). A converter that downloads the same 1080p stream and re-packages it as MP4 may produce a slightly different visual experience — especially during high-motion scenes.
Related guides in this cluster
This pillar links to every supporting page on the site for the YouTube-to-MP4 question. Pick the resolution, batch, or format-specific guide you actually need:
Resolution-specific
- YouTube to MP4 1080p — the standard sweet spot, file sizes, the cleanest path.
- YouTube to MP4 4K — when 4K matters, hardware decode, true vs upscaled.
- Video resolution guide — 720p vs 1080p vs 4K, file sizes, what YouTube serves.
Bulk & playlists
- YouTube playlist to MP4 — batch download, naming, common pitfalls.
- YouTube playlist to MP3 — audio-only bulk extraction.
Format references
- MP4 format — container vs codec explained.
- WebM format — VP9/AV1, Opus audio, why YouTube uses it.
- MP3 format · AAC reference
Comparisons & tools
Audio side & legal
- YouTube to MP3 — pillar guide (audio side of the same conversion question)
- MP3 bitrate guide
- Is converting YouTube legal?
- Fair use & personal downloads
- YouTube ToS analysis