HEIF Image Extension: What It Is and How It Works
In this article
The HEIF image extension refers to the file format with the .heif or .heic extension, which stands for High Efficiency Image Format. It is a standard developed by the Moving Picture Experts Group (MPEG) as part of the MPEG-H standard, designed to store images and image sequences more efficiently than older formats like JPEG. HEIF uses advanced compression based on the HEVC (High Efficiency Video Coding) standard, allowing it to produce higher quality images at roughly half the file size of comparable JPEGs. It is not slang or a made-up term, but a legitimate, standardized image container format adopted by major technology companies, most notably Apple, which began using .heic (a variant of HEIF) as the default photo format starting with iOS 11 in 2017.
Background and Development
HEIF was introduced in 2015 as part of the MPEG-H Part 12 standard. It was designed to address the limitations of long-standing image formats like JPEG, which uses lossy compression and does not support modern features such as transparency, image sequences, or non-destructive editing. The format leverages the same compression technology used in HEVC (H.265) video encoding, making it significantly more efficient. Unlike JPEG, which stores a single image per file, HEIF can store multiple images, thumbnails, depth maps, audio, and metadata in a single container. This makes it ideal for smartphones and cameras that capture burst shots, Live Photos, or portrait mode images with depth data.
How HEIF Works
HEIF operates as a container format, meaning it doesn’t define how images are compressed, but rather how they are stored and organized. The actual image data inside a HEIF file is typically compressed using HEVC, which achieves better compression ratios by analyzing larger blocks of pixels and predicting redundancy across frames. This results in improved image quality at smaller file sizes. Key technical capabilities of HEIF include:
- Support for 16-bit color depth (vs. JPEG’s 8-bit), enabling smoother gradients and richer color
- Lossless and lossy compression options
- Storage of multiple images (e.g., burst photos, animations) in one file
- Inclusion of auxiliary data like depth maps, transparency (alpha channels), and image thumbnails
- Non-destructive editing support—edits can be saved as instructions without altering the original image data
For example, when you take a burst of 10 photos on an iPhone, they can be stored as a single HEIF file rather than 10 separate JPEGs, saving storage space and keeping related images grouped.
File Extensions and Variants
The HEIF standard supports several file extensions, depending on the implementation and platform:
- .heif – The generic extension for High Efficiency Image File format, used across various systems
- .heic – High Efficiency Image Container, specifically used by Apple for single or multiple images encoded with HEVC
- .heifs – Used for HEIF image sequences, such as animated images or video-like bursts
- .hevm – For HEIF files with embedded audio (rare)
Apple’s adoption of .heic has made it the most widely recognized variant, though it is fully compliant with the HEIF standard. Some Android devices and newer cameras also support HEIF, though they may use .heif or other variants.
Compatibility and Usage Challenges
Despite its technical advantages, HEIF faces adoption hurdles due to limited compatibility with older software and operating systems. Many programs, especially those not updated after 2017, do not support HEIF files. This can lead to issues when sharing photos with users on Windows PCs, older versions of Android, or web platforms that only accept JPEG or PNG.
Common problems include:
- Email clients rejecting .heic attachments
- Photo printing services unable to process HEIF files
- Web browsers failing to display .heif or .heic images
- Legacy editing software (e.g., older versions of Photoshop) not recognizing the format
Apple attempts to mitigate this by automatically converting HEIF photos to JPEG when shared via Messages, AirDrop, or email to non-Apple devices. However, users must be aware of this behavior, especially if they need the original format preserved.
Converting and Viewing HEIF Files
Viewing and converting HEIF files is straightforward on modern systems:
- On macOS (10.13 High Sierra or later): Preview and Photos apps support HEIF natively.
- On Windows 10 and 11: Install the “HEIF Image Extensions” from the Microsoft Store to enable viewing in File Explorer and Photos app.
- On Linux: Use tools like
libheifor image viewers such as GIMP (with plugin support). - Online converters: Websites like CloudConvert or Zamzar can convert .heic to .jpg or .png.
- Command-line tools:
heif-convert(from libheif) allows batch conversion in terminal environments.
When converting, users should be aware that switching from HEIF to JPEG may result in quality loss and larger file sizes, especially for images that used 16-bit color or transparency.
HEIF vs. JPEG and Other Formats
Compared to JPEG, HEIF offers clear advantages:
- File size: HEIF files are typically 40–50% smaller than JPEGs at similar visual quality.
- Color depth: Supports 16-bit vs. JPEG’s 8-bit, reducing banding in gradients.
- Features: Supports transparency, image sequences, and non-destructive edits—JPEG does not.
- Flexibility: Can store multiple images and metadata in one file.
However, JPEG remains more universally supported. Compared to PNG, HEIF offers better compression for photos (PNG is lossless and best for graphics), and unlike WebP, HEIF is standardized by MPEG and supports advanced features like image sequences and depth maps. WebP, while efficient, lacks the same level of hardware support in cameras and mobile devices.
Frequently Asked Questions
What does HEIF stand for?
HEIF stands for High Efficiency Image Format, a standardized file format developed by MPEG for storing images more efficiently than JPEG.
Why does my iPhone save photos as HEIC?
Starting with iOS 11, Apple uses HEIC (a form of HEIF) as the default photo format because it provides better image quality in smaller file sizes, helping save storage space on devices.
Can Windows open HEIF files?
Yes, Windows 10 and 11 can open HEIF files after installing the free HEIF Image Extensions from the Microsoft Store.
Is HEIF better than JPEG?
Technically, yes—HEIF offers better compression, higher color depth, and more features. However, JPEG is more widely supported, making it more practical for sharing across platforms.
How do I convert HEIF to JPEG?
You can convert HEIF to JPEG using built-in tools on macOS (via Photos app), Windows (with HEIF extensions), or online converters like CloudConvert. Command-line tools like heif-convert also work for batch processing.
Are there any privacy risks with HEIF?
No more than any other image format. HEIF can store metadata like location and timestamps, just like JPEG. Users concerned about privacy should review or strip metadata before sharing files.