Home·File extensions

.heif

Images · image/heif

Opens with

PhotosPreview

Formats that hold photos and drawings. The same picture can differ hugely in size and quality depending on the format.

MIME typeimage/heif
CategoryImages
Opens in a browserNo
Plain textNo
Registered typeYes

How to read this

  • An extension is a label, not the contents. Rename a file to .png and if the bytes inside are JPEG, it is still a JPEG.
  • A MIME type is how the internet names a file kind. Browsers look at that value, not the extension, to decide whether to display or download.
  • A MIME type starting with x- was never registered as a standard. Plenty are in wide use, but they are not official names.
  • Video extensions name a container. The same .mp4 may play on one device and not another, depending on the codec inside.

Frequently asked questions

Q. What is a .heif file?

It belongs to the images category and its MIME type is image/heif. The contents are binary, so opening it in a text editor shows garbage.

Q. What opens a .heif file?

Photos, Preview all handle it. In a browser it does not display — the browser downloads it instead.

Q. What is the MIME type of .heif?

image/heif. The first half, image, names the broad kind; the second half, heif, names the exact format. It is a registered standard name.

Q. Can I convert a .heif file to another format?

Yes — open it and re-save through a converter. Renaming alone changes only the label; the bytes stay put, and programs that check the real format may refuse to open it.

Q. My .heif file will not open.

First check that Photos is installed. If it still fails, the download may have been cut short, or the file may only be named .heif while holding a different format inside.

Same group