Skip to content
heic.fyi

Learn

HEIC vs HEIF: what's the difference?

HEIC and HEIF are not competing formats. HEIF is the container standard. HEIC is the name for a HEIF file whose pictures are compressed with HEVC, and it is what an iPhone saves. So every HEIC file is a HEIF file, but not every HEIF file is a HEIC. Below: how to tell them apart, which devices write which extension, and when renaming a file actually helps.

By the heic.fyi teamUpdated 10 min read

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: heic or heix for HEVC, avif for AV1, mif1 for generic HEIF. Our 8-bit HEIC said heic; our 10-bit HEIC said heix.
  • 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
  1. Is HEIF the same as HEIC?
  2. What is the difference between HEIF and HEIC?
  3. What do .heic, .heif, .hif, .heics, .heifs and .avif mean?
  4. How to tell what a file really is
  5. Which devices write HEIC, HEIF or .HIF?
  6. Will a .heif or .hif file open where .heic opens?
  7. Should I rename .HIF or .HEIF to .HEIC?
  8. HEIC vs HEIF: which is better?
  9. HEIC vs HEIF vs JPEG
  10. HEIC vs HEIF on iPhone
  11. 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.

HEIF is the container; the codec inside decides what the file is calledOne container, HEIF (ISO/IEC 23008-12), can hold pictures compressed with different codecs. With HEVC inside, the file is a HEIC: extension .heic, brand heic or heix. With AV1 inside it is an AVIF: .avif, brand avif. With AVC, JPEG, VVC or EVC, or uncompressed pixels, it is usually just called HEIF and carries the generic brand mif1, plus a codec-specific brand where the standard defines one. Every row uses the same container; software also needs the matching decoder to show the picture.HEIF: the containerISO/IEC 23008-12. Boxes, image items, thumbnails,Exif, depth and gain maps. No codec of its own.CODEC INSIDEWHAT THE FILE IS CALLEDHEVC (H.265)HEIC.heicbrand:heic, heixAV1AVIF.avifbrand:avifAVC (H.264)HEIF.heifbrand:mif1 + codec brandJPEGHEIF.heifbrand:mif1 + codec brandVVC, EVCHEIF.heifbrand:mif1 + codec brandUncompressedHEIF.heifbrand:mif1Same container in every row. To show the picture,software also needs the decoder for the codec inside.
One container, several codecs. HEVC inside makes a HEIC, AV1 inside makes an AVIF, and other codecs are usually just called HEIF. ISO lists brands for HEVC, AVC, JPEG, VVC and EVC in the 2025 edition of the standard; uncompressed pixels use ISO/IEC 23001-17. Sources: ISO, IANA, Nokia's HEIF pages, the AVIF specification.

What is the difference between HEIF and HEIC?

HEIF, HEIC and AVIF side by side
HEIFHEICAVIF
What it isThe container standardHEIF with HEVC-coded imagesHEIF with AV1-coded images
CodecAny: HEVC, AVC, JPEG, VVC, EVC, AV1, uncompressedHEVC (H.265)AV1
Usual extension.heif (.heifs for sequences).heic (.heics for sequences).avif
Brand in the filemif1 (msf1 for sequences)heic, heix (hevc, hevx for sequences)avif (avis for sequences)
Media typeimage/heifimage/heicimage/avif
Patent licenceDepends on the codec insideHEVC is licensed through patent poolsAOMedia grants a royalty-free patent licence
Native in browsersDepends on the codecSafari 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?

File extensions, the brands they normally carry, and the registered media types
ExtensionNormally holdsBrand(s)Media type
.heicOne or more HEVC still images (an iPhone photo)heic, heix (also heim, heis)image/heic
.heicsAn HEVC image sequence, such as a burst or animationhevc, hevx (also hevm, hevs)image/heic-sequence
.heifStill images in any codecmif1image/heif
.heifsAn image sequence in any codecmsf1image/heif-sequence
.hifEither of the above; used by camerasWhatever is inside, usually heic or heiximage/heif or image/heic
.avifAV1 still images or sequencesavif, avisimage/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.

The brands in four real files we made: two HEIC, two AVIFBrands read from the ftyp box of four files generated for this article with open-source encoders. 8-bit HEIC: major brand heic, compatible mif1, heic, miaf. 10-bit HEIC: major brand heix, compatible mif1, heix, miaf. AVIF still: major brand avif, compatible avif, mif1, miaf, MA1B. AVIF animation: major brand avis, compatible avis, avif, msf1, iso8, mif1, miaf, MA1A. All four list mif1 or msf1, the generic HEIF brands, so all four are HEIF files; the codec brand tells them apart.8-bit HEICpillow-heif, 8-bit inputmajorheicHEVC, Main or Main Still (8-bit)alsomif1heicmiaf10-bit HEICpillow-heif, 16-bit inputmajorheixHEVC, Main 10 or range extensionsalsomif1heixmiafAVIF stillpillow-avif-pluginmajoravifAV1 still imagealsoavifmif1miafMA1BAVIF animationFFmpeg, libaom-av1majoravisAV1 image sequencealsoavisavifmsf1iso8mif1miafMA1A
Real ftyp boxes from four files we made for this article (not camera or iPhone files). The same encoder wrote heic for an 8-bit image and heix for a 10-bit one. All four also list the generic mif1 or msf1 brand, which is why every one of them is a HEIF file. Reproduce with scripts/benchmarks/heic-vs-heif-brands.py.
  • heic means HEVC Main or Main Still Picture profile. Both are 8 bits per sample with 4:2:0 colour sampling, according to the profile definitions.
  • heix means 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.
  • mif1 and msf1 are the generic HEIF brands for still images and sequences. On its own, mif1 tells a reader the structure, not the codec.
  • avif and avis mean AV1, and miaf declares 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?

What the makers' own documentation says, checked 2026-10-11
Device or softwareWhat it writesWhat the source says
iPhone (iOS 11 and later), iPad, Apple Vision Pro.HEICApple'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 screenshotsApple: screenshots are captured in HEIF when the Screenshot app's capture format is set to HDR.
Samsung Galaxy S26HEIF (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 generalDevice-dependentAndroid 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 PQThe 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:2Sony'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).HIFFujifilm'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 HLGNikon'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.
A .heif or .hif file will not open: should you rename it?First read the brand in the file's ftyp box, for example with a HEIC inspector. If it is heic or heix, the file holds HEVC and is a HEIC in all but name: renaming .hif or .heif to .heic helps apps that only accept the .heic extension, but the computer still needs an HEVC decoder. If it is avif or avis, it is an AVIF: name it .avif, and it needs an AV1 decoder. If only the generic brand mif1 is present with another codec, renaming changes nothing; open or convert it with software that has that codec. Renaming never changes the pixels.A .heif or .hif file won't open1. Read the brand at the start of the file(HEIC Inspector shows it). 2. Follow its row.heic · heixA HEIC in all but nameRenaming .hif or .heif to .heic helps appsthat filter by extension. Still needs HEVC.→ Rename can helpavif · avisAn AVIF fileName it .avif. Needs an AV1 decoder,not HEVC.→ Rename to .avifmif1 + otherGeneric HEIF, another codecRenaming changes nothing. Open or convertit with software that has that codec.→ Convert instead
Check the brand first, then decide. Renaming only changes the label that software reads before it opens the file; it never changes the pixels, and it cannot add a missing decoder.

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 heix file can store 10 bits per channel; a heic file 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

The three names people compare, in practice
HEICHEIF (other codecs)JPEG
What it isHEIF container + HEVCHEIF container + another codecA codec and its own file format
Typical sourceiPhone, many Android phonesCameras (as .HIF), some toolsEverything
Size at equal qualityAbout 18% smaller than JPEG at quality 85 in our testDepends on the codecBaseline
Bit depth8-bit (heic) or 10-bit and more (heix)Depends on the codec8-bit
Opens natively inApple platforms, Safari 17+, Android 9+ (device optional)Varies; often only maker softwareEvery 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

How we research and correct: editorial policy.

Written by the heic.fyi team · Last updated: · Spotted an error? Tell us.