Updated March 8, 2026

By Jack Smith, iOS Developer at DB Labs

Photo Formats

HEIF vs HEIC: What's the Difference?

People use HEIF and HEIC interchangeably, but they are technically different things. If your iPhone saves photos as .heic files and you have wondered what HEIF is and how it relates, this article explains it clearly.

The Simple Answer

HEIF (High Efficiency Image Format) is the container standard — the format specification itself, developed by the Moving Picture Experts Group (MPEG). HEIC (High Efficiency Image Container) is the specific file extension Apple uses when images inside a HEIF container are encoded with the HEVC (H.265) video codec. All iPhone photos saved as .heic are HEIF files, but HEIF files can use other extensions too (.heif, .avif) depending on the codec and platform.

What Is HEIF?

HEIF stands for High Efficiency Image Format. It is an image container format standard developed by the Moving Picture Experts Group (MPEG) and formally published as ISO/IEC 23008-12. The standard was finalized in 2015, and Apple adopted it as the default iPhone camera format in 2017 with iOS 11.

HEIF is a container, not a codec. Think of it like a shipping box: the box can hold different types of contents. A HEIF container can store images encoded with different codecs — most commonly HEVC (H.265), but also AVC (H.264), AV1, and others. HEIF supports:

  • Single still images
  • Image sequences (like Live Photos)
  • Burst photo sets
  • Depth maps (Portrait mode data)
  • Alpha channel (transparency)
  • HDR metadata
  • 16-bit color depth
  • Image thumbnails embedded in the file

The HEIF container is what makes all of these features possible in a single file. A JPEG cannot store Live Photo animation data. A PNG cannot embed depth map information. HEIF can hold all of it in one compact package.

What Is HEIC?

HEIC stands for High Efficiency Image Container. It is the file extension Apple chose to use specifically when the image data inside a HEIF container is encoded with the HEVC (H.265) codec. The .heic extension is an Apple convention, not a separate standard — it is Apple's specific implementation of HEIF.

When your iPhone camera captures a photo and saves it, iOS creates a HEIF file containing HEVC-compressed image data and names it with the .heic extension. The choice of HEVC is what gives HEIC its remarkable file size efficiency — HEVC was originally developed for video compression but proves equally powerful for still images.

Key point: HEIC is a subset of HEIF. Every .heic file is a valid HEIF file. But a file saved as .heif might use a different codec than HEVC inside, which is why the extensions differ.

HEIF vs HEIC: Side-by-Side

Attribute HEIF HEIC
Full name High Efficiency Image Format High Efficiency Image Container
What it is Container format standard (ISO) Apple's extension for HEVC-encoded HEIF
File extension .heif .heic
Codec inside HEVC, AVC, AV1, or others HEVC (H.265) only
Used by Android, some cameras Apple (iPhone, iPad, Mac)
Defined by MPEG / ISO standard Apple implementation

Other HEIF Variants: AVIF and HEIF

The HEIF container is flexible enough to hold content encoded with codecs other than HEVC. Two notable variants have emerged:

AVIF

AVIF (AV1 Image File Format) stores images encoded with the AV1 codec inside a HEIF container. AV1 is an open, royalty-free codec developed by the Alliance for Open Media. Google Chrome, Firefox, and most modern browsers support AVIF. It offers compression efficiency similar to HEIC but without Apple's hardware-accelerated HEVC decoding advantages on iPhone. Safari added AVIF support in iOS 16.

.heif Extension

Some Android phones and non-Apple devices save HEIF files using the .heif extension rather than .heic. The content may use HEVC or another codec. These files are technically valid HEIF but may not have the specific HEVC codec assumption that .heic carries. Most modern software handles both extensions identically.

Compatibility by Platform

Platform HEIC (.heic) Support HEIF (.heif) Support
iPhone / iPad Native (iOS 11+) Native
Mac Native (macOS High Sierra+) Native
Windows 11 Native Native
Windows 10 Free codec from Microsoft Store required Free codec required
Android 9+ Supported Supported
Android 8 and older Third-party app required Third-party app required
Google Photos Full support Full support
Adobe Lightroom Full support (2018+) Full support

In practice, HEIC and HEIF files open identically on all modern platforms. The distinction matters more for developers writing image processing software than for everyday users. For a deeper dive into HEIC specifically, see our HEIC glossary page. For the full picture of iPhone photo formats including ProRAW and JPEG, see our iPhone photo format comparison.

Practical tip: If someone sends you a .heif file and your software cannot open it, try renaming it to .heic — they are often interchangeable. If that does not work, convert it to JPEG using a free online converter or the Preview app on Mac (File → Export → JPEG).

Managing large photo libraries in HEIC format is straightforward on iPhone. If your storage is growing regardless of format, the fastest fix is removing photos you no longer need. Use Swype Photo Cleaner to swipe through your camera roll and delete unwanted shots quickly.

Clean Up Your HEIC Photo Library

Swype Photo Cleaner works with all iPhone photo formats — HEIC, JPEG, ProRAW, and PNG. Swipe left to delete, right to keep. Clean your camera roll in minutes.

Free · iPhone · iOS 16+ · 100% on-device, zero uploads

Download on theApp Store

Free · iPhone · iOS 16+

Frequently Asked Questions

What is the difference between HEIF and HEIC?

HEIF (High Efficiency Image Format) is the container standard developed by MPEG. HEIC (High Efficiency Image Container) is the specific file extension Apple uses when the image content is encoded with HEVC (H.265) compression. Think of HEIF as the box and HEIC as what Apple puts in that box. All HEIC files are HEIF files, but not all HEIF files use the HEIC extension.

Are HEIF and HEIC the same file format?

They are closely related but not identical. HEIF is the broader format standard, while HEIC is a specific profile of HEIF used by Apple. All HEIC files are HEIF files, but not all HEIF files use the HEIC extension. Android devices may save HEIF files with a .heif extension, even though the underlying technology is similar.

Why does iPhone use HEIC instead of HEIF?

Apple chose the .heic extension to specifically identify files encoded with HEVC (H.265) compression inside the HEIF container. This distinction matters for software that needs to know which codec to use for decoding. Using .heic tells the operating system and apps exactly what decoder to apply, whereas .heif is more ambiguous about the codec inside.

Can Android devices open HEIC files from iPhone?

Android 9 (Pie) and later versions support HEIC natively. Older Android versions may need a third-party app to open .heic files. When you share HEIC photos via iMessage, email, or AirDrop to an Android device, iOS may automatically convert them to JPEG depending on the sharing method and the receiving device's capabilities.