H.264 vs H.265: Which Video Codec Should You Actually Use?
A plain-English comparison of H.264 and H.265 (HEVC): file size, quality, compatibility, encoding speed, and when each one is the right call.
When you compress a video, the codec is the engine doing the work. It decides how pictures become data and therefore how small the file can get at a given quality. The two codecs you will meet most are H.264 (also called AVC) and H.265 (also called HEVC). Understanding the trade-off between them is the most useful single thing you can learn about video compression.
What the two codecs are
H.264 was standardized in 2003 and became the default for almost everything: web video, Blu-ray, video calls, and phone cameras for a decade. It is mature, fast to encode and decode, and supported by essentially every device made in the last fifteen years.
H.265 followed in 2013 with one goal: the same visual quality at roughly half the bitrate. It gets there with larger and more flexible block sizes, better motion prediction, and smarter filtering. The cost is more computing power to encode and decode, plus a messier licensing situation that slowed its adoption in browsers.
File size: the headline difference
At equal perceived quality, H.265 files are typically 30 to 50% smaller than H.264. The gain is largest for high resolutions like 4K and smallest for low-resolution clips. That gap is often the difference between a video that fits a messaging limit and one that does not.
| Factor | H.264 (AVC) | H.265 (HEVC) |
|---|---|---|
| Size at equal quality | Baseline | About 30 to 50% smaller |
| Playback support | Universal | Very good, not universal |
| Encoding speed | Fast | Slower, more CPU |
| 4K and HDR | Possible, inefficient | Designed for it |
| Best for | Guaranteed playback | Smallest files |
The catch: compatibility
Modern phones, Macs, recent Windows PCs with hardware support, and most smart TVs play H.265. Browser support is the weak spot: Safari plays it, Chrome and Edge play it on systems with hardware decoding, and Firefox support depends on the platform. Older devices and some editing tools still refuse H.265 files. H.264 plays everywhere.
A simple decision guide
- Archiving footage to save disk or cloud space: H.265. You control playback.
- Sending to a modern phone, or posting to a platform that re-encodes anyway: H.265 saves upload time.
- Sharing with an unknown audience, older computers, or legacy editing software: H.264.
- Embedding on a web page: H.264 in MP4, or VP9 in WebM. See MP4 vs MOV vs MKV vs WebM.
How the BoltCompress levels map to codecs
| Level | Codec (MP4, MOV, MKV) | Video bitrate vs original |
|---|---|---|
| Fast & Light | H.264 | About 75% |
| High Efficiency | H.265 | About 45% |
| Maximum Savings | H.265, slow preset | About 25% |
WebM output always uses VP9 and AVI output always uses H.264, because those containers handle other codecs poorly. Our how it works page shows the exact settings.
What about AV1?
AV1 is a royalty-free codec that beats H.265 by a further 20 to 30% in many tests. YouTube and Netflix use it heavily, but encoding is slow and hardware decoding is only common in recent devices. We cover it in detail in what is AV1.
Summary
It comes down to one question: do you value smaller files or guaranteed playback more? H.265 is the modern default when you know the destination supports it. H.264 is the safe fallback that plays anywhere. If you are unsure, compress one copy each way and test both on the device that matters.
Quick answers
Is H.265 better than H.264?
For file size, yes: at the same visual quality H.265 files are typically 30 to 50% smaller. H.264 is still the better pick when the video must play on any device.
Why will my H.265 MP4 not play on iPhone or Mac?
Apple players need HEVC files tagged as hvc1. Files tagged hev1 (a common encoder default) often refuse to play in QuickTime and Safari even though the video itself is fine.
Try it on your own video
Upload a video, see the estimated size for each level, and download a smaller file. Free, no install.
Open the compressor