.heif File Extension

Learn what a .heif file contains, which apps open HEIF images, how Poly supports them, and when to convert one.

File extension details for .heif

Full Support
File typeHigh Efficiency Image File Format image
MIME type
EncodingBinary HEIF container based on ISO Base Media File Format; image codec varies
Operating systemsWindows, macOS, Linux, iOS, iPadOS
Opens withApple Photos, Apple Preview, Microsoft Photos, GIMP
Poly supportYes. Poly provides rich support for decodable HEIF images.
Indexed by PolyYes. Poly indexes filenames, supported metadata, and visual similarity.
Preview in PolyYes. Poly displays the primary image in its image viewer.
Poly agentYes. The Poly agent can understand the rendered primary image.

What kind of file is a .heif?

A .heif file is a High Efficiency Image File Format container. It normally uses the image/heif MIME type. Unlike JPEG or PNG, HEIF does not specify one image codec. A file can hold a primary image, thumbnails, multiple full-resolution images, derived images, depth or alpha data, and EXIF or XMP metadata.12

That flexibility makes the suffix less specific than it first appears. HEVC-coded HEIF images generally use .heic, while AV1 Image File Format images generally use .avif. The .heif suffix is appropriate for a general HEIF container whose codec-specific form is not better expressed another way.

There is no fixed magic number for every .heif file. A typical file contains an ftyp box near the beginning, but MP4 and other ISO Base Media File Format files do too. Reliable identification requires parsing that box and checking for the mif1 compatible brand, then inspecting the contained image items to determine which codec is needed.1

Renaming photo.heic, photo.jpg, or photo.avif to photo.heif does not change its container, codec, or media type.

How do I open a .heif on my computer?

  • On macOS, open supported HEIF images with Photos or Preview. Apple includes HEIF support in macOS High Sierra 10.13 and later.3
  • On iPhone and iPad, Photos supports HEIF on iOS 11 and later and current iPadOS versions.3
  • On Windows, Microsoft Photos may require both the HEIF Image Extensions and a codec extension appropriate to the image data.4
  • On Linux, GIMP and tools based on libheif can open or convert supported codecs. GIMP can export HEIF or HEIC with lossy or lossless compression and 8-, 10-, or 12-bit color.5

An app may recognize the HEIF container but lack the decoder for its primary image. When a file will not open, inspect it with a format-aware utility such as heif-info, ffprobe, or MP4Box rather than trusting the suffix.

Poly support for .heif

Poly recognizes .heif filenames, creates thumbnails, opens the primary image in its image viewer, extracts dimensions and readable EXIF fields, and supports visual similarity and color search. The Poly agent can reason about the rendered primary image.

Support depends on whether the image codec can be decoded. Poly presents the primary image rather than every image, sequence, depth map, or relationship stored in the container. Text visible inside an ordinary image is not indexed as document text. HEIF metadata can include camera details and location, so review it before sharing a personal image.

History of .heif

HEIF version 1 became ISO/IEC 23008-12 in June 2015.2 The format applied box-based container techniques familiar from video to still images, allowing coded images and their metadata or relationships to travel together. IANA registered image/heif in July 2018 and lists .heif and .hif as file extensions.1

Apple brought HEIF into mainstream photo workflows with iOS 11 and macOS High Sierra in 2017. Apple devices commonly save camera photos with the more specific .heic suffix because those images use HEVC.3

Working with .heif and alternatives

Choose an output based on what must survive:

FormatBest fitMain tradeoff
JPEGBroad sharing compatibilityLossy, no alpha, usually one flattened image
PNGLossless pixels and ordinary transparencyLarger for photographs; flattens HEIF structure
AVIFModern web deliveryDifferent codec requirements
Original HEIFMultiple images, HDR, depth, edits, or rich metadataLess universal app and browser support

Apple Photos and Preview can export a supported HEIF image as JPEG or PNG.3 Conversion may preserve the appearance of the primary image while dropping auxiliary images, edits, metadata, or HDR information. Keep the original until you have checked the output.

Footnotes

  1. Internet Assigned Numbers Authority. image/heif Media Type Registration. 2 3
  2. Apple Developer. High Efficiency Image File Format. Overview of ISO/IEC 23008-12 and HEIF container capabilities. 2
  3. Apple Support. Using HEIF or HEVC Media on Apple Devices. 2 3 4
  4. Microsoft Support. Photos App Video Editor Error: Can't View This File Type.
  5. GIMP Documentation. Export Image as HEIF/HEIC.
© Poly Corp. 2026