Article
Nov 29, 2026
Getting to Know HEIF: Image Containers, Storage Efficiency, and Supported Features
The HEIF image format, short for High Efficiency Image File Format, is a container standard (ISO/IEC 23008-12) for storing one or more images, image sequences, and related data. It does not prescribe a single compression method. HEIC, which uses HEVC, and AVIF, which uses AV1, are the two best-known ways of filling a HEIF container.
Because people often use HEIF and HEIC as if they were the same thing, it helps to separate the standard from its products. The HEIC guide covers the practical problem of phone photos. This guide stays one level up: what HEIF defines, how it organizes pictures and extras, how it differs from a plain image format, and why compatibility depends on the codec inside instead of the extension outside.
Key Points
- HEIF is a container built on the ISO base media file format, the same family used for MP4.
- The container is separate from the codec, so the compression inside can change over time.
- It can store multiple images, tiles, thumbnails, alpha and depth images, metadata, and sequences.
- HEIC (HEVC) and AVIF (AV1) are HEIF-family formats with different licensing and support.
- Opening a HEIF file depends on having a decoder for the codec inside it.
- A constrained profile called MIAF improves interoperability.
KEY TAKEAWAY
“HEIF is a box, not a recipe. What the box contains, and whether your software can unpack it, depends on the codec inside.”
A Container Designed for Images
Older image formats combine two jobs: they define how pixels are compressed and how the file is laid out. HEIF separates them. It borrows the box structure of the ISO base media file format, where a file is a series of nested boxes, and defines how still images, collections, and sequences are described inside those boxes. The compression of each picture is left to a codec such as HEVC or AV1.
This design lets the same container serve different purposes. A phone can store efficient photographs with a hardware HEVC encoder, a website can deliver royalty-free AV1 images, and future codecs can reuse the same structure. It also explains why a file with a .heif extension is not guaranteed to open on a given device: the container may be understood while the codec is not.
Concept | Meaning in HEIF | Example |
| Item | A unit of data inside the file, such as a picture, thumbnail or metadata block | The main photo and its thumbnail |
| Item type | Tells decoders how to interpret the data | hvc1 for HEVC, av01 for AV1 |
| Derived image | An image built from other items without duplicating data | A grid of tiles forming one large picture |
| Auxiliary image | An image that supports another | An alpha plane or depth map |
| Property | A setting attached to an item | Dimensions, rotation, color information, crop |
| Sequence | Timed images stored as a track | Bursts and animations |
What HEIF Can Store
- Several pictures in one file: bursts, edited versions and alternatives.
- Tiles: a large image split into blocks that are coded and decoded independently.
- Transparency: an auxiliary alpha image linked to the main picture.
- Depth and other auxiliary data: used for portrait effects and computational photography.
- Non-destructive edits: rotation, mirroring, and cropping stored as properties instead of rewritten pixels.
- Metadata: EXIF, XMP, and color descriptions.
- Image sequences: short animations and burst series.
Non-destructive properties are worth highlighting. In a JPG, rotating a picture means either re-encoding the pixels or relying on an orientation flag. In HEIF, rotation and cropping are first-class properties, so a viewer can apply them without touching the compressed data.
Codecs and File Extensions
Extension | Typical codec | Notes |
| .heic | HEVC (H.265) | iPhone and iPad photos; HEVC patent licensing applies |
| .heif | Any supported codec, often HEVC | General extension; contents may vary |
| .avif | AV1 | Royalty-free; developed by the Alliance for Open Media |
| .avci | AVC (H.264) | Rare, for AVC-coded images |
| .heics and .heifs | Image sequences | Animations and bursts |
Extensions are conventions, and some programs treat .heif and .heic the same way while others are stricter. A file labeled .heif may therefore contain HEVC data that needs an HEVC decoder.
MIAF: Making Interoperability Practical
Because HEIF allows so many options, two independent implementations could produce files that the other cannot read. The Multi-Image Application Format, MIAF, narrows the choices into a profile with defined constraints on codecs, brands, and structures. Files produced by common cameras and phones, and AVIF files for the web, follow MIAF-style constraints, which is why they tend to open consistently across supporting software.
How HEIF Differs From Plain Image Formats
Question | HEIF | JPG | PNG |
| Is it a container standard? | Yes | Single fixed method | Single fixed method |
| Several images per file? | Yes | No | No |
| Alpha transparency? | Via auxiliary image | No | Yes |
| Depth or auxiliary data? | Yes | No | No |
| Non-destructive rotation? | Yes, as properties | Orientation flag only | Limited |
| Universal support? | No | Yes | Yes |
Compatibility
Compatibility is determined by whether a decoder exists for the codec inside the container. Apple platforms handle HEIF with HEVC natively. Many Android and Windows systems rely on codec support that may be built in or installed. Browsers focus on AVIF, a HEIF profile, rather than on HEIC. When a .heif file will not open, the missing piece is nearly always the codec. As a safe fallback, JPG opens everywhere.
Advantages and Limits
Advantages | Limits |
| A flexible container that survives codec changes | Naming confusion among HEIF, HEIC and AVIF |
| Efficient storage with modern codecs | Support depends on the codec, not only the extension |
| Rich features: alpha, depth, tiles, sequences | HEVC-based files bring licensing complications |
| Open ISO standard with the MIAF profile | Limited browser support apart from AVIF |
Converting HEIF Files
The SnapZain Image Format Converter lists HEIC and AVIF among its accepted inputs but does not list a separate .heif extension, so a .heif file may or may not be accepted. Renaming is not a safe fix. If the tool does not accept it, use a local program that decodes the file, or re-export it as HEIC or JPG from the source device. For files that are accepted, JPG and PNG are the safest outputs. The page warns that HEIC and AVIF rely on server codecs, so a particular file can fail. See the AVIF guide for the royalty-free member of the family.
Diagnosing a HEIF File That Will Not Open
Check | How | What it tells you |
| Real extension | Look at the file name and any registered type | Whether it is .heic, .avif or generic .heif |
| Codec inside | Use a metadata or media inspection tool | Whether HEVC, AV1 or another codec is used |
| Decoder availability | Test in a program known to support that codec | Whether the problem is the codec or the file |
| File integrity | Check the size and try a second copy | Whether the transfer damaged the file |
| Fallback | Ask for a JPG or standard HEIC export | A quick way to move forward |
Working through these checks in order usually isolates the cause in a few minutes.
HEIF Terms at a Glance
Term | Meaning |
| ISOBMFF | The box-based file structure that HEIF reuses |
| Item | A unit of stored data, such as a picture or metadata block |
| Brand | A short code that tells readers which features a file uses |
| Derived image | An image described by instructions, such as a tile grid |
| Auxiliary image | A supporting image such as alpha or depth |
| MIAF | A constrained profile that improves interoperability |
Knowing these few terms makes specifications, documentation, and error messages far easier to read and to search for.
In everyday photo workflows, the practical advice is simple. Let the device store whatever format it prefers, check which extension and codec your files actually use before choosing tools, and keep one universally readable copy of anything you must share. When you build software that reads HEIF, rely on a maintained library instead of parsing boxes yourself, because the number of optional features makes hand-written readers fragile.
Common HEIF Mistakes
- Treating HEIF as one compression format: check which codec the file uses.
- Forcing compatibility by renaming: the extension does not change the codec.
- Expecting every browser to show HEIF: browsers mostly support AVIF, not HEIC.
- Dropping extras silently: conversion to a flat format loses depth data and sequences.
Continue Reading
- Understanding Digital Image Formats: A Guide to File Types and Applications - the complete overview of digital image formats and how to choose between them.
- HEIC Image Technology: Efficient Storage, Image Quality, and Device Compatibility - see the HEVC-based HEIF files used on iPhones.
- Exploring AVIF Images: Advanced Compression, Visual Quality, and Features - see the AV1-based HEIF profile designed for the web.
- SnapZain Image Format Converter - convert images between the formats listed on the tool page.
Conclusion
HEIF is best understood as a modern container for images rather than a single format. Whether it appears as HEIC on a phone or as AVIF on a website, the container supplies structure while the codec supplies compression, and compatibility depends on both. With that model in mind, the apparent chaos of extensions becomes manageable.
Frequently Asked Questions
How large is a typical HEIF file compared with a JPG?
With modern codecs such as HEVC or AV1, it is often much smaller at similar visual quality, though savings depend on the picture and the encoder settings.
Is HEIF a compression method?
No. It is a container. The compression is determined by the codec inside, such as HEVC or AV1.
Who developed HEIF?
The Moving Picture Experts Group developed it, and it was first published as ISO/IEC 23008-12 in 2015.
Why do I see both .heif and .heic extensions?
Both belong to the same family. .heic normally means HEVC-coded images, while .heif is a general extension whose contents may use other codecs.
Is AVIF a type of HEIF?
Yes. AVIF is a profile of the HEIF container using the AV1 codec.
What is MIAF?
The Multi-Image Application Format is a constrained profile that narrows HEIF options to improve compatibility between devices and software.
Can one HEIF file hold several images?
Yes. It can store multiple images, tiles, thumbnails, auxiliary images, and sequences.
What is a derived image?
An image that is described by instructions, such as a grid of tiles, instead of holding its own pixel data.
Why will my .heif file not open?
The program may lack a decoder for the codec inside, often HEVC. Install the needed support or convert the file with software that has it.
Is HEIF royalty-free?
The container is a standard, but HEVC-based use involves patent licensing, while AV1-based AVIF is intended to be royalty-free. Check terms for your use case.
What are image properties in HEIF?
Settings attached to an item, such as dimensions, rotation, mirroring, cropping, and color information.
Does HEIF support non-destructive rotation?
Yes. Rotation and cropping are stored as properties, so the compressed pixels need not be rewritten.
How does HEIF store transparency?
Through an auxiliary image that holds the alpha plane and is linked to the main picture.
What is ISOBMFF?
The ISO base media file format, a box-based file structure that HEIF reuses. MP4 video belongs to the same family.
Can HEIF store animations?
Yes, through image sequences. Support in viewers and editors varies.
What is an item type in HEIF?
A code that tells decoders how to interpret an item, for example, hvc1 for HEVC pictures and av01 for AV1 pictures.
Do browsers support HEIF?
Browsers mostly support the AVIF profile. HEIC is displayed by Safari but not by most other browsers.
Does HEIF replace JPG?
It offers better compression and more features, but JPG remains the universal fallback, so HEIF-family formats are usually paired with JPG.
Does the SnapZain converter list HEIF as an input?
Its page lists HEIC and AVIF but not a separate .heif extension, so a .heif file may not be accepted.
What should I do with a .heif file I cannot open?
Check the codec, try software with HEVC or AV1 support, or ask the sender to export a JPG or a standard HEIC.
Why does HEIF matter to website owners?
AVIF, a HEIF-based format, offers efficient delivery of photographs, so understanding the family helps in choosing formats and fallbacks.