HEIC vs HEIF: What's the Difference?
Short answer: HEIF is the container; HEIC is what's inside it. HEIF (High Efficiency Image File Format) is a wrapper standard from MPEG that can hold images compressed with different codecs. HEIC is the specific kind of HEIF file the iPhone creates — one whose image is compressed with HEVC (H.265). So *every HEIC is a HEIF, but not every HEIF is a HEIC.* In everyday use they mean the same photo. The distinction only bites you when a file won't open because its `.heic`/`.heif` extension doesn't match the codec inside — and the simplest fix there is converting to JPG.
Got a HEIC or HEIF that won't open?
Convert it to JPG in your browser — free, no upload →If you have ever inspected an iPhone photo and seen it called both HEIC and HEIF, you are not imagining things — and the two are not in conflict. The short version: HEIF is the container format, and HEIC is the specific HEIF file your iPhone produces. Every HEIC file is a HEIF file. The reverse is not always true. Here is the difference in plain English, and the one situation where it actually matters.
The One-Sentence Answer
HEIF is the box; HEIC is one particular thing that comes in that box. A HEIF box filled with HEVC-compressed image data, labeled .heic, is what Apple ships.
Quick Comparison
| HEIF | HEIC | |
|---|---|---|
| What it is | A container / file format | A HEIF file using a specific codec |
| Full name | High Efficiency Image File Format | High Efficiency Image Coding |
| Defined by | MPEG (ISO/IEC 23008-12) | Apple’s adoption of HEIF + HEVC |
| Image codec inside | Can be HEVC, AV1, and others | HEVC (H.265), specifically |
| Typical extension | .heif | .heic |
| Relationship | The superset (the wrapper) | A subset (one kind of HEIF) |
| Who uses it | Various devices/standards | iPhone & iPad since iOS 11 (2017) |
If you read only one row, read the last-but-one: HEIC = HEIF + HEVC.
What HEIF Actually Is
HEIF (High Efficiency Image File Format) is a 2015 standard from MPEG — the same standards body behind MP4 and HEVC. Crucially, HEIF does not define how the image pixels are compressed. It only defines the container: how to store one or more images, plus extras like thumbnails, depth maps, alpha channels, image sequences, and metadata, in a single tidy file.
Think of it like a .zip or an .mp4: the wrapper tells you how things are packed, not what codec produced them. That flexibility is the whole point of HEIF.
What Makes a HEIF File a HEIC
A HEIF file becomes a HEIC when the image inside it is compressed with the HEVC codec (H.265) — the same efficient video codec used by 4K streaming. Apple chose this combination for the iPhone in iOS 11 and gave it the .heic extension. That is the only thing separating “a HEIF file” from “a HEIC file”: the codec inside.
This is why people say HEIC and HEIF interchangeably — in the Apple world, virtually every HEIF you encounter is a HEIC. They are not wrong in practice; they are just skipping the technical distinction.
Where AVIF and .hif Fit In
Two relatives cause extra confusion:
- AVIF is built on the same underlying ISO container family, but uses the AV1 codec (royalty-free) instead of HEVC. So AVIF is a cousin, not a HEIC. We break it down in What Is AVIF?.
- .hif is the extension Canon uses for its HEVC-encoded HEIF photos. Same family, different label.
The takeaway: the extension (.heic, .heif, .hif) is just a name a manufacturer picked. What determines whether something opens is the codec inside.
Why the Difference Bites You in Practice
For 99% of viewing and sharing, the distinction is academic — both open on Apple devices and both need the HEVC codec on Windows. But it surfaces in one annoying scenario: a file won’t open because its extension doesn’t match the codec inside.
A typical case: an app exports HEVC-encoded HEIF but saves it as .heic (or vice versa), and a picky viewer refuses it. The quick experiment:
- Make a copy of the file.
- Rename the copy’s extension from
.heifto.heic— or the other way. - Try opening it again.
If that works, it was a labeling mismatch. If it still fails, the file genuinely contains something the app can’t decode — and renaming won’t save you. (For the broader set of Windows open failures, see HEIC Files Not Opening on Windows 11? 8 Fixes.)
How to Stop Worrying About It Entirely
Whether your file is technically HEIC, HEIF, or .hif, the compatibility headache is the same — and so is the fix. Convert it to JPG and it opens everywhere, on every device, with no codec to install.
PixFlip’s HEIC to JPG converter handles all of them. It runs entirely in your browser via WebAssembly — the file is never uploaded to a server, there is no size limit, and it’s free. Drag in a single photo or a whole folder; get JPGs back. Need a different output? It also does HEIC to PNG and HEIC to WebP, with the full set at /heic-converter.
Bottom Line
HEIF is the container standard; HEIC is the HEVC-encoded HEIF file your iPhone makes. Every HEIC is a HEIF, not every HEIF is a HEIC, and AVIF is the AV1-based cousin. In daily life they’re the same photo — and when any of them won’t open outside Apple, converting to JPG fixes it the same way.
For the more common question of whether to keep these files at all, see HEIC vs JPG: Which Should You Use?, and to stop your iPhone making them in the first place, Why Are My iPhone Photos HEIC?.
Got a HEIC or HEIF that won't open?
Convert it to JPG in your browser — free, no upload →Frequently Asked Questions
Is HEIC the same as HEIF?
Not quite — HEIF is the container (the file wrapper) and HEIC is a specific HEIF file that uses the HEVC codec for its image data. Apple's iPhone produces HEIC, which is why people use the terms interchangeably. Technically every HEIC file is a HEIF file, but a HEIF file could use a different codec and not be a HEIC.
Why do some files say .heif and others .heic?
It comes down to which codec the camera used and which extension the manufacturer chose. Apple labels its HEVC-encoded HEIF photos as .heic. Some other devices save HEVC-encoded HEIF as .heif, and Canon uses .hif. All three are HEIF-family files; the extension is just a label and does not always reflect the codec inside.
Can I just rename a .heif file to .heic to open it?
Sometimes. If the file is HEVC-encoded HEIF saved with the wrong extension, renaming .heif to .heic (or the reverse) can make a picky app accept it. Make a copy first. If renaming does not help, the codec inside genuinely is not what the app expects — convert the file to JPG instead, which removes the guesswork entirely.
Is AVIF a kind of HEIF?
They are close cousins. AVIF uses the same ISO base media file container that HEIF is built on, but encodes its image with the royalty-free AV1 codec instead of HEVC. So AVIF is not a HEIC, and most tools treat AVIF as its own format. If you want the full picture, see our guide What Is AVIF?
Does it matter which one my photos are?
For viewing and sharing, no — the compatibility problem is identical for both. Apple devices open them natively; Windows needs the HEVC codec; many websites and Android apps reject both. If a HEIC or HEIF photo is giving you trouble anywhere outside Apple, converting it to JPG solves it the same way.