What Is HEIF?
Published June 3, 2026
HEIF stands for High Efficiency Image File Format. It is an ISO standard (ISO/IEC 23008-12) published by the Moving Picture Experts Group, the same body behind MP4 and HEVC video compression. HEIC is simply Apple's branded implementation of HEIF that uses HEVC for the image data inside the container. Understanding HEIF helps explain why your iPhone photos are so much smaller than the JPEGs of a decade ago, and why so many devices and websites still struggle to open them.
What HEIF actually stores
HEIF is a container format, not a compression method. Think of it like a box that can hold multiple items. Inside a HEIF file you might find:
- A primary image encoded with HEVC compression
- A thumbnail or preview image for faster loading
- A depth map (used by iPhone Portrait mode)
- Multiple images in one file, used for burst photos or Apple's Live Photos
- Non-destructive editing instructions that let you revert changes later
This container design is part of why an HEIC file from an iPhone can be a single file that also contains the still image and the short video clip of a Live Photo. JPEG, by contrast, stores exactly one image per file and has no concept of multiple items or metadata beyond what fits in EXIF tags.
The container: ISOBMFF
HEIF is built on ISOBMFF, the ISO Base Media File Format. That is the same container used by MP4 video files. ISOBMFF is extensible: you can add new types of data without breaking backward compatibility. This extensibility is why HEIF can carry depth maps, HDR gain maps, and even brand-specific extensions like Apple's Live Photo metadata. JPEG uses a sequential byte stream that cannot easily accommodate extra data types.
The practical result is that a HEIF file is structured more like a small video file than a traditional photograph. This is also why some older image viewers and web uploaders get confused: they expect the flat byte layout of JPEG and do not know how to parse the HEIF container.
Why HEIF produces smaller files than JPEG
The size advantage comes from HEVC, the compression codec inside the HEIF container. HEVC uses larger transform blocks, more sophisticated motion prediction, and better entropy coding than JPEG's 1992-era discrete cosine transform engine. At the same visual quality, a HEVC-compressed image is typically 40 to 50 percent smaller than an equivalent JPEG. Apple states that HEIF and HEVC offer "better compression than JPEG while preserving the same visual quality." Independent benchmarks consistently confirm this range.
The trade-off is processing power. Decoding HEVC requires more computation than decoding JPEG, which is why very old hardware or budget devices can feel sluggish when scrolling through a gallery of HEIC photos.
HEIF outside the Apple ecosystem
Apple is the most visible adopter, but HEIF appears elsewhere. Samsung has used HEIF as a capture option since the Galaxy S10 series, though it typically defaults to JPEG for maximum sharing compatibility. Canon adopted HEIF in some professional bodies, including the EOS-1D X Mark III, where the 10-bit HEIF option preserves more color information than JPEG for high-end workflows.
Google added HEIF reading support to Android 9 (API 28) in 2018, and Pixel phones since the Pixel 4 can save in HEIF, though they still default to JPEG. The Android media framework can decode HEIF natively, but app developers must explicitly enable it, which is why some Android gallery apps still show a generic icon instead of a preview.
In the camera industry, HEIF has been discussed as a replacement for JPEG in high-end and mirrorless cameras where storage efficiency and 10-bit color matter more than universal compatibility. Adoption outside mobile and pro Canon bodies remains limited.
HEIF vs HEIC vs HEIX: naming confusion
The terminology around these formats is needlessly confusing. Here is a quick guide:
- HEIF: the generic standard. A HEIF file could contain an image encoded with any supported codec.
- HEIC: Apple's branded HEIF variant that uses HEVC compression for the image data. Most iPhone HEIC files contain HEVC images. The .heic extension signals this specific codec choice.
- HEIX: a related Apple variant that uses JPEG 2000 instead of HEVC. It is rare and mainly used in specific Apple internal workflows.
- AVIF: not HEIF at all, but a competing container from the Alliance for Open Media that uses AV1 compression instead of HEVC. AVIF is royalty-free and gaining browser support faster than HEIF.
When you see a .heic file, you can assume it is a HEIF container with HEVC image data. When you see .heif, it could be the same container but with a different codec inside.
Why browsers and websites still struggle with HEIF
Chrome, Firefox, and Safari can all decode HEIC in certain contexts, but full native rendering in web pages remains inconsistent. Most web uploaders, content management systems, and social platforms explicitly reject HEIC uploads because their backend pipelines expect JPEG or PNG. The result: a file that looks fine in your iPhone Photos app produces an error message the moment you try to upload it for a print order or a job application.
This compatibility gap is the main reason people need to convert HEIC to JPEG. The conversion is straightforward if you have the right decoder. The catch is that many online converters solve the problem by uploading your photo to a server first, which creates a privacy risk you cannot control.
How to convert HEIF or HEIC locally
Because HEIF is a container and HEVC is a well-documented standard, the same libheif library that powers desktop applications like Preview on macOS and GIMP on Linux can be compiled to WebAssembly. This means a browser can decode HEIC entirely on your own device without sending the file to a server. The photo never leaves your computer, and you avoid queuing, upload limits, and retention policies you did not agree to.
Convert HEIC to JPG now
Use the converter on our homepage. It runs entirely in your browser with the same libheif decoder used by desktop apps. No upload, no account, no waiting.