Key takeaways
- Every HEIC is a HEIF; not every HEIF is a HEIC. HEIF (ISO/IEC 23008-12) is the container. HEIC means HEVC-compressed pictures inside it. AVIF is the same container with AV1 inside.
- The brand inside the file decides, not the extension. The first bytes name a brand:
heicorheixfor HEVC,aviffor AV1,mif1for generic HEIF. Our 8-bit HEIC saidheic; our 10-bit HEIC saidheix. - Neither is “better”. Size and quality come from the codec and the encoder. A .heif holding HEVC is the same thing as a .heic.
- Cameras use .HIF. Canon, Fujifilm and Nikon document HEIF stills with a .HIF extension, and Adobe says the same of Sony. Fujifilm's manual says to rename them .HEIC for a computer.
- Opening one needs the codec, not just HEIF. Windows needs HEVC Video Extensions for .heic, .hif and .heif files, and the AV1 extension for .avif, according to Microsoft.
On this page
- Is HEIF the same as HEIC?
- What is the difference between HEIF and HEIC?
- What do .heic, .heif, .hif, .heics, .heifs and .avif mean?
- How to tell what a file really is
- Which devices write HEIC, HEIF or .HIF?
- Will a .heif or .hif file open where .heic opens?
- Should I rename .HIF or .HEIF to .HEIC?
- HEIC vs HEIF: which is better?
- HEIC vs HEIF vs JPEG
- HEIC vs HEIF on iPhone
- How we checked
Is HEIF the same as HEIC?
Almost. HEIF, the High Efficiency Image File Format, is a container: a box-based file structure, standardised as ISO/IEC 23008-12, that holds one or more images plus thumbnails, metadata and extra layers. It does not compress anything itself. The compression comes from a codec stored inside. When that codec is HEVC (also called H.265), the file is called HEIC and normally ends in .heic. iPhones, iPads and many Android phones write exactly that.
So the honest answer to “HEIC vs HEIF” is that HEIC is one kind of HEIF. The words are used loosely: Apple's support pages and Samsung's camera menu say HEIF, while the files they produce are HEIC. To see what any file really is, open it in the HEIC Inspector, which reads the brand stored in the file rather than trusting its name.
What is the difference between HEIF and HEIC?
| HEIF | HEIC | AVIF | |
|---|---|---|---|
| What it is | The container standard | HEIF with HEVC-coded images | HEIF with AV1-coded images |
| Codec | Any: HEVC, AVC, JPEG, VVC, EVC, AV1, uncompressed | HEVC (H.265) | AV1 |
| Usual extension | .heif (.heifs for sequences) | .heic (.heics for sequences) | .avif |
| Brand in the file | mif1 (msf1 for sequences) | heic, heix (hevc, hevx for sequences) | avif (avis for sequences) |
| Media type | image/heif | image/heic | image/avif |
| Patent licence | Depends on the codec inside | HEVC is licensed through patent pools | AOMedia grants a royalty-free patent licence |
| Native in browsers | Depends on the codec | Safari 17 and later only (16.9% of usage) | Chrome 85+, Edge 121+, Firefox 93+, Safari 16.4+ (96.3%) |
Extensions, brands and media types from IANA's registrations and Nokia's HEIF technical page; AVIF from the AOMedia specification. Browser support and usage share from Can I use, checked 2026-10-11. Licensing details are in HEIC vs JPG.
The standard's abstract (opens in a new tab) describes HEIF as an interoperable storage format for a single image, a collection of images and image sequences, and says it “specifies brands” for images coded with HEVC, AVC, JPEG, VVC and EVC. AVIF, from the Alliance for Open Media, is defined as a conformant HEIF file holding AV1. Uncompressed pixels can be carried too, under a separate standard, ISO/IEC 23001-17; libheif, the open-source library our tools use, lists encoders and decoders for all of these.
What do .heic, .heif, .hif, .heics, .heifs and .avif mean?
| Extension | Normally holds | Brand(s) | Media type |
|---|---|---|---|
| .heic | One or more HEVC still images (an iPhone photo) | heic, heix (also heim, heis) | image/heic |
| .heics | An HEVC image sequence, such as a burst or animation | hevc, hevx (also hevm, hevs) | image/heic-sequence |
| .heif | Still images in any codec | mif1 | image/heif |
| .heifs | An image sequence in any codec | msf1 | image/heif-sequence |
| .hif | Either of the above; used by cameras | Whatever is inside, usually heic or heix | image/heif or image/heic |
| .avif | AV1 still images or sequences | avif, avis | image/avif |
IANA's registrations list .hif as a valid extension for all four HEIF and HEIC media types. heix and hevx mark HEVC's Main 10 or range-extension profiles (for example 10-bit); heim, heis, hevm and hevs are for layered HEVC. Source: IANA, Nokia, Library of Congress.
Two details trip people up. First, .hif is not a separate format: it is a short extension that the Library of Congress (opens in a new tab) says was added to the standard in a 2020 corrigendum and is used by Canon for HEVC-coded HEIF. Second, sequence files (.heics, .heifs) are not Live Photos. An iPhone Live Photo is a still image and a separate movie; see Live Photos and HEIC.
How to tell what a file really is
A HEIF file has no fixed magic number. IANA's registration (opens in a new tab) says so explicitly; instead, the file starts with an ftyp box that lists a major brand and the compatible brands the file conforms to. We generated four small files with open-source encoders and read those boxes back.
heicmeans HEVC Main or Main Still Picture profile. Both are 8 bits per sample with 4:2:0 colour sampling, according to the profile definitions.heixmeans a higher HEVC profile: Main 10 or the range extensions. Our 10-bit encode switched to it on its own, and the HEIC Inspector showed the Range Extensions profile inside.mif1andmsf1are the generic HEIF brands for still images and sequences. On its own,mif1tells a reader the structure, not the codec.avifandavismean AV1, andmiafdeclares conformance with MIAF, a set of interoperability rules that the AVIF specification requires.
Software that “supports HEIF” may still fail on a given file, because reading the container and decoding the codec are separate jobs. A program can parse every box of an AVIF and still show nothing if it has no AV1 decoder. HEIC File Checker and the HEIC Inspector both report the brand and the codec, so you know which decoder is missing.
Which devices write HEIC, HEIF or .HIF?
| Device or software | What it writes | What the source says |
|---|---|---|
| iPhone (iOS 11 and later), iPad, Apple Vision Pro | .HEIC | Apple's support page (opens in a new tab) calls it HEIF; Apple's WWDC 2017 session says the extension “will be .HEIC because of the HEVC codec”. Settings > Camera > Formats > High Efficiency. |
| Mac (macOS Tahoe 26 and later) | HEIF screenshots | Apple: screenshots are captured in HEIF when the Screenshot app's capture format is set to HDR. |
| Samsung Galaxy S26 | HEIF (optional) | Samsung's camera guide (opens in a new tab): Photo format can save Photo mode pictures as HEIF to save space. Samsung does not state the extension. |
| Android in general | Device-dependent | Android decodes HEIF (.heic, .heif) from Android 9 and can encode it from Android 10; AVIF decoding from 12 and encoding from 14. Whether the camera app uses it is up to the maker. |
| Canon (e.g. EOS R5) | .HIF, with HDR PQ | The EOS R5 manual: with HDR PQ shooting on, “shots are captured as HEIF or RAW images”. Canon's Digital Photo Professional lists HEIF files as .HIF or .HEIC. |
| Sony (e.g. FX30) | 10-bit HEIF, 4:2:0 or 4:2:2 | Sony's help guide offers HEIF(4:2:0) and HEIF(4:2:2), both 10-bit. An Adobe product manager refers to these as Sony .HIF files. |
| Fujifilm (e.g. X-H2) | .HIF | Fujifilm's manual (opens in a new tab): HEIF pictures are stored as .HIF, and “the extension must be changed to .HEIC” before a computer can view them; USB upload does this automatically. |
| Nikon (e.g. Z6III) | .HIF, with HLG | Nikon's reference guide: with the HLG tone mode, pictures are stored in HEIF format (extension “*.HIF”), and colour space is fixed at BT.2100. |
Only what each maker documents. We did not have these devices, so we did not check the brands their files carry. Camera HEIF is often 10-bit or HDR, which is where heix comes in; check a sample in the HEIC Inspector.
The pattern is clear even with gaps. Phones write .heic. Cameras write .HIF, usually for 10-bit or HDR pictures, and the manufacturers expect you to view them in their own software or convert them. Sony's support page, for example, recommends converting to JPEG for playback on other devices and to TIFF for editing, because TIFF keeps the 10-bit gradation. A per-brand reading of the makers' manuals, the 10-bit and 4:2:2 profiles and what opens these files is in HIF files: HEIF from Canon, Sony, Nikon and Fujifilm.
Will a .heif or .hif file open where .heic opens?
If it holds HEVC, the decoding is identical, so the question is whether the software looks at the extension first. Some do. Three documented cases:
- Windows. Microsoft's HEIF Image Extension listing says the HEVC Video Extensions package must be installed to view images in HEIF files “that use the .heic, .hif or .heif file extensions”, and the AV1 Video Extension for .avif. All three HEVC extensions are treated alike. See opening HEIC on Windows.
- Photoshop. An Adobe Photoshop product manager wrote in May 2026 that Sony .HIF files “aren't currently supported in Photoshop”, that Photoshop recognises only .heic and .heif, and that renaming .hif to .heif may work on a Mac but is unlikely to on Windows. That is a forum answer from Adobe staff, not documentation.
- Fujifilm. Its manual tells you to change .HIF to .HEIC before viewing on a computer, and says a USB upload from the camera renames them for you.
Should I rename .HIF or .HEIF to .HEIC?
Only when the brand says HEVC (heic or heix) and an app refuses the file because of its name. In that case renaming is harmless and is exactly what Fujifilm recommends. Rename a copy, not the original, so your file names still match any sidecar or catalogue entries. Do not rename an AVIF to .heic: the extension would then promise HEVC and the file holds AV1. If the file still will not open, the problem is the decoder, not the name: convert it with a tool that has its own HEVC decoder, such as HEIC to JPG.
HEIC vs HEIF: which is better?
Neither, because they are not alternatives. A .heif file holding HEVC is bit-for-bit the same kind of file as a .heic, and compresses the same. What does differ:
- The codec inside. HEVC and AV1 are close in efficiency. In our HEIC vs JPG measurements, matching a JPEG saved at quality 85 took a median 82% of the JPEG's bytes as HEIC and 80% as AVIF. AV1 is royalty-free; HEVC is not, which is why only Safari displays HEIC.
- Bit depth. A
heixfile can store 10 bits per channel; aheicfile is 8-bit. Camera HEIF is often 10-bit. In 2017 Apple said iPhone photos use HEVC's Main Still Picture profile, which is 8-bit; we found no current Apple statement on bit depth, so check your own file. - Compatibility. .heic is the most widely recognised name; .hif is the least.
HEIC vs HEIF vs JPEG
| HEIC | HEIF (other codecs) | JPEG | |
|---|---|---|---|
| What it is | HEIF container + HEVC | HEIF container + another codec | A codec and its own file format |
| Typical source | iPhone, many Android phones | Cameras (as .HIF), some tools | Everything |
| Size at equal quality | About 18% smaller than JPEG at quality 85 in our test | Depends on the codec | Baseline |
| Bit depth | 8-bit (heic) or 10-bit and more (heix) | Depends on the codec | 8-bit |
| Opens natively in | Apple platforms, Safari 17+, Android 9+ (device optional) | Varies; often only maker software | Every browser and OS |
Size figure from our 25-photo HEIC vs JPG benchmark with the x265 encoder, not Apple's. For sharing, convert to JPEG with HEIC to JPG.
HEIC vs HEIF on iPhone
There is no separate HEIF setting on an iPhone. Settings > Camera > Formats offers High Efficiency, which Apple's documentation describes as HEIF for photos and HEVC for video, and Most Compatible, which writes JPEG and H.264. The High Efficiency photos you get are .HEIC files. Apple lists iPhone 7 and later as able to capture HEIF. When you share to a device that cannot read it, Apple says the photo “might automatically be shared in a more compatible format, such as JPEG”. More in HEIC on iPhone.
Try it here
Check what your file really is
Drop in a .heic, .heif, .hif or .avif. It is read in your browser and never uploaded.
How we checked
Brands. We wrote a 512 × 384 synthetic gradient as an 8-bit HEIC and a 10-bit HEIC with pillow-heif 1.8.0 (libheif 1.23.4, x265 4.2), as an AVIF still with pillow-avif-plugin 1.6.0, and as a one-second AVIF animation with FFmpeg's libaom-av1 encoder, then parsed each file's ftyp and meta boxes. The script is scripts/benchmarks/heic-vs-heif-brands.py in the site's repository. These are encoder defaults, not camera or iPhone files, and other software can list compatible brands in a different order or add more.
Devices. Every device statement comes from the maker's own manual or support page, opened on 2026-10-11, and is limited to what that page says. Where a maker does not state the extension (Samsung) or a brand, we say so rather than guess. The Sony .HIF statement comes from an Adobe staff reply in Adobe's community forum, and is marked as such.
Frequently asked questions
Try it yourself
Related reading
Sources
- ISO/IEC 23008-12:2025 — Image file format (HEIF), edition 3 — ISO/IEC, checked
- ISO/IEC 23001-17:2024 — Carriage of uncompressed video and images in ISO base media file format — ISO/IEC, checked
- Media types: image/heic and image/heif — IANA, checked
- Media types: image/heic-sequence and image/heif-sequence — IANA, checked
- HEIF — High Efficiency Image File Format (technical information) — Nokia Technologies, checked
- HEIF, High Efficiency Image File Format — Format description — Library of Congress, checked
- AV1 Image File Format (AVIF) v1.2.0 — Alliance for Open Media, checked
- High Efficiency Video Coding — Wikipedia, checked
- High Efficiency Image File Format — Wikipedia, checked
- libheif — HEIF and AVIF decoder and encoder — strukturag (GitHub), checked
- HEIF/HEIC image format — browser support — Can I use, checked
- Using HEIF or HEVC media on Apple devices — Apple Support, checked
- WWDC 2017 session 513: High Efficiency Image File Format — Apple Developer, checked
- Use camera features on Galaxy S26 — Samsung Support (US), checked
- Supported media formats — Android Developers, checked
- EOS R5 Advanced User Guide: HDR PQ Settings — Canon, checked
- Digital Photo Professional: Supported Image Formats — Canon, checked
- ILME-FX30 Help Guide: JPEG/HEIF Switch (Photo Capture) — Sony, checked
- Characteristics of HEIF format — Sony, checked
- X-H2 Owner's Manual: Image Quality Setting (Still Photography) — Fujifilm, checked
- Z6III Reference Guide: Tone Mode — Nikon, checked
- Sony .HIF files in Photoshop (Adobe Community answer) — Adobe Community (staff reply), checked
- HEIF Image Extension (Microsoft Store listing) — Microsoft Store, checked
- AVIF image format — browser support — Can I use, checked
- Alliance for Open Media Patent License 1.0 — Alliance for Open Media, checked
How we research and correct: editorial policy.
Written by the heic.fyi team · Last updated: · Spotted an error? Tell us.