HEIC vs HEIF vs HEVC: What's the Difference, Explained Simply
Three nearly identical words that people mix up constantly: HEIC, HEIF and HEVC. At first glance they look like typos of one another. In reality they are three different things: a box, a way of packing, and the specific combination of the two. One simple analogy and you'll never confuse them again.
Why the three "HE*" terms get muddled
You take a photo on your iPhone, copy it to your computer, and there it is: IMG_0420.HEIC, a file Windows flatly refuses to open. You search for the problem, and the advice keeps tossing around HEIF and HEVC too. All three words start with "HE", end in a consonant, and sound like variations on a single name. No wonder people treat them as synonyms — but that's a mistake.
In truth, you're looking at three different layers of one technology. One decides how the image is compressed. Another decides what it's packaged into. The third is simply a specific combination of the first two that Apple settled on. Once you see which is which, the confusion disappears for good.
The one-line version
HEIF is the container (the box). HEVC is the codec (the compression method). HEIC is a HEIF file whose image is compressed with HEVC. That's the photo format on your iPhone.
The key analogy: box, packing method, finished parcel
Imagine you're mailing a parcel. There are three separate things going on:
- The packing method — how you fold and squeeze the contents so they take up less space. That's the codec.
- The box — what you put it all into, along with the label, address and packing slip. That's the container.
- The finished parcel — a specific box with specific contents, packed a specific way. That's the file format you hold in your hand.
Video has worked this way for years. An .mp4 file is the box (the container), while the video inside is compressed with the H.264 or H.265 codec. Nobody confuses "MP4" with "H.264", even though they live in the same file. HEIF, HEVC and HEIC follow exactly the same pattern — the names are just less familiar.
HEIF is the container (the box)
HEIF (High Efficiency Image File Format) is an image container defined by the international standard ISO/IEC 23008-12 and developed by the MPEG group (the same people behind MP3 and MPEG video). HEIF on its own doesn't compress anything — it only defines how to organise already-compressed data and everything that travels with it.
And quite a lot travels with it. HEIF can hold far more in a single file than an ordinary JPEG:
- Multiple images at once — for example a burst sequence or a Live Photo (a short photo-video clip).
- A thumbnail and preview — so a gallery scrolls instantly.
- EXIF, GPS and a colour profile — camera model, capture coordinates, orientation, the Display P3 profile.
- A depth map and layers — the data behind "portrait" background blur and non-destructive edits.
HEIF is built on the same base structure as the MP4 format, called ISOBMFF (the ISO Base Media File Format). Think of it as "MP4 for pictures": a versatile box you can pack different things into.
HEVC is the codec (the packing method)
HEVC (High Efficiency Video Coding), also known as H.265, is a video codec. A codec is the algorithm that compresses pixels when you save and decompresses them when you view. HEVC arrived in 2013 as the successor to the hugely popular H.264, squeezing the same video to roughly half the size at comparable quality.
"Hold on — what does a video codec have to do with photos?" Fair question. The answer is simple: a single video frame is just a photograph. Modern video codecs are extremely good at compressing one standalone frame (this is called intra-frame compression). HEIC takes that exact mechanism and applies it to a single still image. So your iPhone photo is technically compressed by the same codec that handles 4K video.
Why this saves space
It's the efficient HEVC codec that lets a HEIC photo take up about half the space of the same shot as a JPEG, with no visible loss of quality. The codec does the heavy lifting; the container just packages it neatly.
HEIC is HEIF compressed with HEVC
Now it all clicks into place. HEIC isn't a brand-new format built from scratch — it's a specific special case of HEIF: a HEIF container in which the image is compressed with the HEVC codec. The "C" on the end hints at codeC / Container — it's "HEIF on the HEVC codec."
This is exactly the format Apple made standard for its camera starting with iOS 11 (2017). When the "High Efficiency" format is selected in iPhone settings, every shot is saved as .heic — that is, HEIF + HEVC. Back to our analogy: HEIC is the finished parcel, a HEIF box with its contents packed the HEVC way.
.heic vs .heif: why there are two extensions
In practice you'll run into both extensions, and the difference between them mirrors that "container ↔ codec" relationship perfectly:
| Extension | What it means | Codec inside |
|---|---|---|
.heic | Specifically HEIF with the HEVC codec | HEVC (H.265) |
.heif | General: "a HEIF container", codec unspecified | Could be anything |
Apple usually tags its photos with .heic because the contents are HEVC. The .heif extension is more general: it describes only the box, not the packing method. So the rule is simple: every HEIC is a HEIF, but not every HEIF is a HEIC. It's like "every SUV is a car, but not every car is an SUV."
Don't trust the extension alone
An extension is a hint, not a guarantee. A file ending in .heif may actually contain HEVC inside (making it a HEIC in all but name), and vice versa. What's really in the box is something only a program reading the file's header can tell you for sure.
HEVC patents and why HEIC won't open everywhere
If HEIC is so efficient, why did Windows refuse to open it out of the box for years, and why don't websites display .heic directly? The reason isn't technical — it's legal.
The HEVC codec is encumbered by a thicket of patents owned by several companies and patent pools. To legally bake an HEVC decoder into an operating system or browser, a vendor has to pay licensing royalties. That suits Apple fine — it controls both the hardware and the software. Microsoft, on the other hand, pushed HEVC support into a paid Windows add-on, and browser makers mostly chose to steer clear of the licensing altogether.
The practical takeaway: the HEIC problem is really an HEVC-codec problem, not a container problem. HEIF itself is an open standard; the "heavy" part is the patented compression inside it. That's why the most reliable move is to convert the photo to a universal format — HEIC to JPG or HEIC to PNG — both of which open absolutely everywhere.
Where AVIF and AV1 fit in
Since HEIF is just a box, you can put a different codec inside it too — not only HEVC. And that's where AVIF enters the picture.
AVIF uses the same base container design (ISOBMFF) as HEIF, but the frames inside are compressed with the AV1 codec instead of HEVC. The crucial difference is licensing: AV1 was developed by an alliance of major companies (Google, Apple, Microsoft, Amazon, Netflix and others) and is royalty-free. That's why browsers happily built in AVIF support, and today Chrome, Firefox and Safari all display it — unlike HEIC.
In short: AVIF is the conceptual twin of HEIF, just on a free codec. Same idea of a modern image, same kind of box — minus the legal baggage that HEVC drags along.
How to open and convert HEIC
Now that it's clear the licensed HEVC codec is the real "culprit", the most reliable path is obvious: don't fight codecs — convert the photo into a format everyone understands. JPG and PNG open in any program, any browser and any messenger.
Upload the .heic
Drag a shot from your iPhone into an online converter — no codecs to install on your computer.
Pick a format
JPG for universal reach and small size, PNG if you need lossless.
Download the result
EXIF and GPS are preserved and orientation is fixed automatically — the photo opens anywhere.
Open your HEIC in a couple of seconds
The free FormatZ converter unpacks the HEIF container, decodes the HEVC inside and hands you an ordinary JPG — right in your browser, with no codec installs and no sign-up.
Convert HEIC to JPGNeed a lossless format for further editing? Use HEIC to PNG. And the full list of supported conversions is always on the all formats page.
Frequently asked questions about HEIC, HEIF and HEVC
.heic extension. The .heif extension is more general: it can hold a different codec inside. In short, every HEIC is a HEIF, but not every HEIF is a HEIC.

