H.264 or HEVC: which to export and why
HEVC produces roughly half the file size at the same quality and will be rejected or silently re-encoded by a surprising number of things. Here is the decision, per destination.
Your export dialog offers H.264 and HEVC. One is older and universally understood; the other is more efficient and occasionally rejected. Neither is "better" — the right answer depends entirely on where the file is going.
What the difference actually is
Both are codecs: ways of compressing video by describing what changed between frames rather than storing every frame whole.
H.264 (AVC) dates from 2003. It is the most widely supported video codec in existence. Every browser, every phone, every editing tool, every upload form, every smart TV made this century handles it.
HEVC (H.265) arrived in 2013 and achieves roughly the same visual quality at about half the bitrate. A 1GB H.264 file becomes a 500MB HEVC file that looks the same.
The efficiency is real. The catch is licensing: HEVC carries patent royalties, which is why support is inconsistent outside the Apple ecosystem and why some platforms never adopted it.
The decision, by destination
Uploading to a platform — YouTube, Instagram, TikTok, LinkedIn. Use H.264.
This surprises people, because HEVC would upload faster. But every platform re-encodes what you upload into its own formats regardless. Your file is an input to their encoder, not the thing viewers watch. What matters is that the upload is accepted without complication and that the encoder gets clean data. H.264 at a generous bitrate is the safest input, and any size saving you made is irrelevant because the file is discarded after processing.
Sending to a client or colleague. Depends on what they use. If you know they are on a recent Mac or iPhone, HEVC halves the transfer. If you do not know, or if it might be opened on an older Windows machine or dropped into a presentation tool, H.264. The cost of guessing wrong is a file that will not play, which is worse than a file that is large.
Archiving your own work. HEVC, if your hardware decodes it efficiently. Half the storage for the same quality, and you control the playback environment.
Embedding on your own website. H.264 in an MP4 container. It is the only combination that works everywhere without a fallback. HEVC in a browser is still patchy.
Editing later. Neither, ideally — both are delivery codecs, designed to be decoded rather than scrubbed. If you are handing footage to someone else to edit, a higher-quality intermediate is kinder. For most people this is theoretical; for anyone doing real post work it is not.
The things that matter more than the codec
Bitrate. A badly compressed HEVC file looks worse than a well-compressed H.264 file. The codec sets the efficiency ceiling; the bitrate decides what you actually get. If you have one dial, this is the one.
Resolution and frame rate. Match your source. Upscaling adds nothing, and converting frame rates introduces judder.
The container. MP4 and MOV are wrappers; both can hold either codec. MP4 is more universally accepted by upload forms. MOV is fine within the Apple world and occasionally rejected elsewhere. When in doubt, MP4.
Colour. HEVC is the usual vehicle for HDR. If your footage is HDR and you export to H.264 SDR, it will look flat and washed out unless the conversion is handled properly. If you do not know whether your footage is HDR, it probably is if it came from a recent iPhone.
The compatibility question in practice
HEVC playback works on: recent Macs, iPhones and iPads, Windows 10 and 11 with the HEVC extension installed — which is not installed by default and costs money from the Microsoft Store — Safari, and Edge. It does not reliably work on: older hardware, some Android devices, Firefox on some platforms, and a long tail of set-top boxes and TVs.
"It plays on my machine" is the least reliable compatibility test available, because your machine is an Apple one and Apple has the best HEVC support of anybody.
The short version
- Uploading anywhere: H.264, high bitrate.
- Sending to someone whose setup you do not know: H.264.
- Storing your own finished work: HEVC.
- Your own site: H.264 in MP4.
- Unsure: H.264. The file is bigger and it plays.
Doing this in Garfi
Garfi Video Editor exports MOV or MP4 in either H.264 or HEVC, up to 4K where the hardware supports it — so the choice above is a dropdown rather than a second tool.
Because projects save as portable .gvideo packages, producing a second export in a different codec later is opening the project rather than rebuilding it. That matters more than it sounds: the most common version of this problem is discovering three weeks later that the client cannot open the HEVC file.
There is no watermark on exports, no account, no developer cloud backend and no generative AI. It is a free download with an export trial you start yourself — fourteen days, no automatic renewal — and a one-time purchase unlocks export permanently. Editing and saving projects remain available either way.