What are HEIF and HEIC?

HEIF (High Efficiency Image File Format) is a container for pictures, the way MP4 is a container for video. HEIC is the most common kind: a HEIF file whose pictures are compressed with HEVC, the same codec used for 4K video. iPhones have saved photos as HEIC by default since 2017, and many Android and Samsung phones can too.

Why phones use it

HEIF, HEIC, AVIF: which is which

NameWhat it isExtensions
HEIFThe container format itself.heif, .hif
HEICHEIF with HEVC-compressed pictures.heic
AVIFThe same container with AV1-compressed pictures; royalty-free and read by all current browsers.avif

Why it sometimes won't open

HEVC is covered by patents, so software makers pay to include it and some don't. Windows needs two add-ons from the Microsoft Store, most web browsers other than Safari can't show HEIC at all, and many upload forms accept only JPG or PNG. The picture is fine; the program just can't read it.

What to do about it

What's stored besides the picture

Like JPG, a HEIC file carries metadata: when and where the photo was taken, the camera and its settings, and a colour profile. The metadata viewer shows all of it. It's worth a look before you share a photo publicly, because the location is often in there.