Logo
Back to Blog
Tools August 16, 2026 7 min read

HEIC vs HEIF vs HEVC: Three Names for One Photo

O

OmniWebKit Team

Tooling

Share:
Article Cover Image

You have a photo that will not open, and every explanation online uses three acronyms interchangeably. HEIC, HEIF, HEVC. They are not synonyms, and the difference between them is exactly what decides whether your file opens.

Here is the short version. HEIF is the box. HEVC is what squeezed the picture. HEIC is a HEIF box with an HEVC picture inside. Understanding heic vs heif takes about two minutes and saves a lot of confused searching.

The heif container explained in one paragraph

HEIF is a filing system, not an image format. It defines how a picture, its metadata, its thumbnail and any extras get wrapped into a single file.

Structurally it is a flat sequence of chunks. Each one declares its type and its length, then its content. One chunk holds an index of everything present, another holds the actual compressed data.

Crucially, HEIF says nothing about how the picture was compressed. That is somebody else's job, which is where the second acronym comes in.

What does hevc have to do with it?

HEVC, also called H.265, is a video codec standardised in 2013. It compresses moving pictures very efficiently, and a still photo is just a video that stopped after one frame.

Apple took that codec, pointed it at single frames, and put the output in a HEIF box. That combination is HEIC.

The video heritage explains something that puzzles Windows users constantly. The package you install to see photos is called HEVC Video Extensions, which sounds wrong until you know the decoder is the same one that plays 4K video.

It also explains the licensing. HEVC is covered by patents, so the decoder costs money to distribute. That single fact is behind almost every HEIC frustration: Windows not shipping it, free tools being scarce, and manufacturers bundling it on some laptops and not others.

We hit the same wall building our own tools. Our image toolchain will happily write AVIF and flatly refuses to write HEIC — the error is literally that the compression is unsupported. The licence is why.

So is heic the same as heif in practice?

Close enough to be interchangeable in conversation, and not close enough for a file that will not open.

Think of it as a promise. A file named .heic promises HEVC inside. A file named .heif promises only that the container is HEIF and leaves the codec open. If your decoder handles HEVC and nothing else, the first promise is the one you want.

In real life almost every .heif you meet is also HEVC, because that is what phones write. The distinction only bites when something unusual produced the file.

Reading the brand to settle it

Four ASCII characters at byte eight of the file record which flavour you have. That is the ftyp brand, and it is the first thing any well-written reader checks.

BrandMeaningCodec inside
heicHEVC stills, what an iPhone writesHEVC, 8-bit
heixThe ten-bit variantHEVC, 10-bit
mif1Generic HEIF, codec unspecifiedUnknown from the brand alone
msf1Generic HEIF image sequenceUnknown from the brand alone
avifSame container, different codecAV1

Files usually list several compatible brands as well as one major brand. An iPhone photo typically declares heic as its major brand and lists mif1 among the compatible ones, which tells a strict reader that the generic profile is also satisfied.

What the mif1 brand meaning costs you in practice

A file marked mif1 is honest about being underspecified, and some tools handle that badly.

Our own signature table used to recognise exactly two brands. Everything else fell through to a default that assumed MP4, so a generic HEIF photo was reported as a video file with complete confidence. We fixed it while building this cluster, and it is worth knowing because plenty of other tools make the same shortcut for the same reason.

If a tool tells you your photo is a video, that is usually what happened. You can identify an unfamiliar HEIF file and see the brand written out rather than guessed.

Avif in a heif container, and why it breaks things

AVIF is the same container with AV1 inside instead of HEVC. AV1 is royalty-free, which is why the web adopted it fast while phones stayed on HEVC.

The trap is that both files look structurally identical. A HEIC decoder opens an AVIF, walks the boxes successfully, reaches the picture data and fails, because it is looking at a codec it has never heard of.

This shows up most often when an export tool writes AVIF and keeps the .heic extension. The fix is a rename rather than a conversion, and it is genuinely easier: most current browsers open .avif directly with no decoder install at all.

Why two file extensions confuse everyone

Because the naming was never designed for people. HEIF came from a standards body describing a container. HEIC came from Apple shipping a product. One name describes structure, the other describes a specific combination, and both ended up as file extensions users see.

The practical rule: trust the header, not the name. A name is a label anyone can change and it has no effect on the bytes. Most software reads the first few bytes and decides from there, which is why renaming a HEIC to .jpg never makes it open.

What this means for your photos

If you are just trying to see a picture, none of this matters and a browser-based HEIC viewer handles it regardless of brand.

It starts mattering when something fails. A file rejected by one program and accepted by another is usually a brand or codec mismatch, and knowing which acronym is which turns a mystery into a two-second check.

If you are weighing up whether to keep using the format at all, the comparison worth reading is whether HEIC beats JPG in practice rather than the specification differences. And if you have already decided against it, you can stop your iPhone writing HEIC in two settings, though it only affects photos you take from that point on.

The one-line summary

HEIF is the container, HEVC is the codec, HEIC is both together, and AVIF is the same container with a free codec instead of a licensed one.

Everything frustrating about heic vs heif traces back to that licence. It is why Windows charges for half the support, why free tools are scarce, and why the web went a different way entirely. The format is good. The licensing is the reason it feels difficult.

Frequently Asked Questions

If HEIC and HEIF are the same thing, why do both extensions exist?

+
They are not quite the same. HEIF is the container and can hold pictures compressed several different ways. HEIC specifically means HEVC inside that container, which is what Apple writes. A file named .heif is making a weaker promise about what is inside it.

Can a HEIF file contain something other than HEVC?

+
Yes, and that is the whole reason the distinction matters. AVIF is a HEIF container holding AV1-compressed pictures. The structure is identical and the codec is not, so a HEIC decoder reads the boxes correctly and then fails on the image data.

What does the mif1 brand actually mean?

+
It marks a generic HEIF file that does not commit to a specific codec. A reader seeing mif1 knows it has a valid HEIF container and has to look further to learn what compressed the picture. Apple files list mif1 as a compatible brand alongside heic.

Why does my HEIC show up as an MP4 in some tools?

+
HEIF and MP4 are both built on the ISO base media format, so they share the same box structure at the top level. A tool that checks only the outer structure and knows a short list of brands guesses video. Our own signature table had exactly this bug.

Is HEVC only used for photos?

+
No, video is its main job. HEVC was designed as a video codec and standardised in 2013, and using it for still pictures came later. That is why the Windows decoder package is named HEVC Video Extensions even though you are installing it to see photos.

What is the difference between heic and heix brands?

+
Bit depth. The heic brand signals HEVC Main or Main Still Picture profile at eight bits per channel; heix signals Main 10, which carries ten bits. More bits means smoother gradients, and browsers flatten both to eight bits when decoding anyway.

Does the file extension have to match the brand inside?

+
No, and mismatches are common. Some export tools write AVIF and keep a .heic name. Most software reads the header rather than the name, so the file behaves as what it really is — but software that checks the extension first will refuse before looking.

Why did Apple pick HEVC when it needs a patent licence?

+
Compression efficiency, and Apple was already paying for HEVC in its video stack. The licence cost is a problem for everyone downstream rather than for Apple, which is why free HEIC tools are scarce while free JPEG tools are everywhere.

Is AVIF replacing HEIC?

+
On the web, largely yes, because AV1 is royalty-free and browsers adopted it quickly. On phones, no. Apple keeps writing HEIC and the installed base is enormous, so both formats will be around for years in different places.

Can I tell what my file is without special software?

+
The four characters at byte eight are the brand and they answer it directly. Any hex viewer shows them, and our file checker reads them and explains what each one means, which is faster than counting bytes by hand.

Tags

#HEIC#HEIF#HEVC#Image Formats