HEIC vs HEIF: What's the Actual Difference? (iPhone Photo Format Explained)
Almost every article about iPhone photos uses HEIC and HEIF interchangeably — they are not the same thing. HEIF is a container format standard defined by MPEG, similar to how MKV or MP4 are containers for video. HEIC is Apple's specific implementation that uses the HEVC (H.265) codec inside that container. The distinction matters for understanding compatibility, conversion, and why certain tools open one but not the other.
What Is HEIF (High Efficiency Image File Format)?
HEIF is a container format standard developed by the Moving Picture Experts Group (MPEG) and finalized in 2015. It was designed to store images, image sequences, and derived images (like thumbnails and depth maps) with much higher compression efficiency than JPEG.
As a container, HEIF can hold image data compressed with different codecs:
- HEVC (H.265) — the most common codec inside HEIF; this combination is called HEIC
- AVC (H.264) — allowed by the standard, rarely used in practice
- AV1 — a newer combination used by Android devices (creates .avif files)
- JPEG — HEIF can even contain JPEG-compressed data for backward compatibility
Think of HEIF like a ZIP file — the format defines how data is structured and stored, but doesn't dictate the compression algorithm used inside. Different codecs are plugged in depending on the device, platform, or use case.
What Is HEIC Specifically?
HEIC stands for High Efficiency Image Container — it is the HEIF container profile that uses HEVC (H.265) video compression to encode still images. Apple adopted HEIC as the default iPhone photo format starting with iOS 11 and iPhone 7 in September 2017.
HEVC was originally a video codec designed to compress 4K video efficiently. Apple's engineers realized that applying video-grade inter-prediction compression to still images produced dramatically smaller files than JPEG's older Discrete Cosine Transform (DCT) algorithm. The result: HEIC files are approximately 50% smaller than JPEG at equivalent visual quality.
| Property | HEIF (Container) | HEIC (Apple's Profile) | JPEG (Reference) |
|---|---|---|---|
| Type | Container format | HEIF + HEVC codec | Codec + container |
| Defined by | MPEG (ISO/IEC 23008-12) | Apple Inc. | JPEG Committee (1992) |
| File extensions | .heif, .heic, .avif | .heic, .heics (sequences) | .jpg, .jpeg |
| Color depth | Up to 16-bit | 10-bit standard | 8-bit |
| Transparency | Supported | Supported (alpha channel) | Not supported |
| Image sequences | Supported (Live Photos) | Supported | Not supported |
| File size vs JPEG | ~50% smaller (HEVC) | ~50% smaller | Reference |
| Universal browser support | No | No | Yes (100%) |
Why Apple Chose HEIC for iPhones
The switch from JPEG to HEIC was driven by a single, quantifiable problem: storage. A 12-megapixel iPhone photo is approximately 4 MB as JPEG. The HEIC equivalent is 1.5–2 MB — the same photo at the same quality, using half the storage. On a 64 GB iPhone, this effectively doubles the number of photos you can store.
Beyond storage, HEIC offered several technical improvements JPEG cannot match:
- 10-bit color depth: Captures 1,024 shades per channel vs JPEG's 256 — important for HDR photos and the wide color gamut of iPhone screens
- Wide color (Display P3): HEIC can encode colors that JPEG simply cannot represent, preserving the vibrant colors iPhones capture
- Transparency: HEIC supports an alpha channel — JPEG does not (which is why iPhone portrait mode depth maps are stored as HEIC, not JPEG)
- Image sequences: Live Photos (photo + 1.5s video clip) are stored as a single HEIC file with an embedded video track
- Metadata depth: HEIC stores depth maps, focus maps, and HDR gain maps alongside the main image in one file
Compatibility: Where HEIC Works and Where It Doesn't
Works Natively
Apple devices (iOS 11+, macOS 10.13+), Windows 11 with HEVC codec, Samsung Galaxy (Android 9+), Chrome 86+, Firefox 116+, Edge 18+.
Needs Codec Install
Windows 10/11 without the HEVC Video Extensions (free or $0.99 on Microsoft Store). Without it, HEIC shows as an unknown file type.
No Support
Older Android phones (pre-Android 9), most image editing software without plugins (Photoshop CS6 and earlier), web hosting platforms that strip HEIC.
Partial Support
Adobe Lightroom (reads HEIC since 2018, limited editing), Google Photos (displays but converts for sharing), social media platforms (auto-convert on upload).
How to Stop Your iPhone from Shooting HEIC
If you regularly share photos with Windows users or upload to platforms that don't support HEIC, switching to JPEG at capture time is the simplest solution:
- Open Settings on your iPhone
- Scroll down to Camera
- Tap Formats
- Select Most Compatible (instead of High Efficiency)
This switches photo capture to JPEG and video capture to H.264. Storage usage increases approximately 2× for photos. A better middle-ground is keeping HEIC on the phone and enabling automatic conversion when transferring to a computer: Settings → Photos → Transfer to Mac or PC → Automatic. This keeps HEIC on the device (saving storage) but sends JPEG to your computer automatically.
Convert HEIC to JPG Instantly
Convert your iPhone photos to JPEG for universal compatibility — no upload, no app install, works in any browser.
HEIF vs AVIF: The Newer Relative
AVIF (AV1 Image File Format) is another HEIF-based format — it uses the HEIF container with the AV1 codec instead of HEVC. Android phones have started shooting AVIF (notably Google Pixel devices), and web browsers support it broadly. AVIF is typically 20–30% smaller than HEIC at equivalent quality, but encoding is slower and software support is still catching up.
The lineage: JPEG (1992) → HEIC/HEIF (2015) → AVIF (2019) → JPEG XL (2022). Each generation achieves ~30–50% better compression than the previous at equivalent quality.