What is a HEIC file?
The short answer
HEIC stands for High Efficiency Image Container. It is the file Apple has used for iPhone photos since iOS 11 in 2017. Inside the container sits an image compressed with HEVC — the same codec family used for 4K video — which is why a HEIC file is roughly half the size of the same photo saved as JPEG.
That one sentence explains almost every question people have about HEIC: smaller files are excellent on a phone, and awkward everywhere that does not ship an HEVC decoder.
Container and codec are two different things
Most explanations blur these together, which is why "HEIC" and "HEIF" seem to be used interchangeably and why a file sometimes arrives with an extension nobody recognises.
The container is HEIF, standardised as ISO/IEC 23008-12 (MPEG-H Part 12). It defines a box structure that can hold a single image, a burst, a depth map or an image sequence. The Wikipedia overview of HEIF is the most readable free description of that layout.
The codec is HEVC (H.265), standardised as ISO/IEC 23008-2. Apple brands the combination "HEIC" and registered the image/heic media type with IANA. Samsung and some Android vendors write .heif for the same thing. The two are not different formats; they are different names for one container.
| Extension | Container | Codec inside | Where you see it |
|---|---|---|---|
| .heic | HEIF | HEVC | iPhone, iPad, macOS |
| .heif | HEIF | HEVC | Samsung and some Android |
| .avif | HEIF (same box structure) | AV1 | Modern web images |
| .jpg | JFIF | JPEG (DCT) | Everything since 1992 |
Why Apple switched
Storage. A 12 MP photo saved as JPEG is about 3–4 MB at the quality phone cameras used; the same photo as HEIC lands closer to 1.5 MB. That ratio holds across a library, and it compounds:
| Photo library | As JPEG | As HEIC | Saved |
|---|---|---|---|
| 100 photos | ≈350 MB | ≈150 MB | 200 MB |
| 1,000 photos | ≈3.5 GB | ≈1.5 GB | 2 GB |
| 10,000 photos | ≈35 GB | ≈15 GB | 20 GB |
What HEIC can do that JPEG cannot
JPEG supports none of these. It was designed in 1992 for one 8-bit frame and that is all it does.
- Several images in one file. A Live Photo is a single HEIC holding a still plus a short video track.
- Depth data. Portrait mode stores a depth map alongside the image, which is how you can change background blur after the shot.
- Alpha transparency in the same container as a photograph.
- 10-bit colour and HDR gain maps, so highlights do not clip on a display that can show them.
- Lossless rotation and cropping, because the edits are stored as instructions rather than baked into pixels.
Why Windows, Chrome and older Photoshop struggle
HEVC decoding is covered by patents, and the licensing runs through several pools. Apple pays for it in hardware on every iPhone. Microsoft, Google and most software vendors leave the decoder out because shipping it means paying per copy.
The result on Windows 10 and 11 is a specific kind of failure: the system understands the HEIF container, but not the codec inside it. Photos shows "you need a new codec", Explorer cannot draw a thumbnail, and Word rejects the file as unsupported. Microsoft sells the missing pieces as Store packages — the HEIF Image Extensions are free, the HEVC one has historically cost about a dollar.
Browsers repeat the story. Safari opens HEIC because macOS and iOS decode it at the OS level. Chrome and Firefox do not, which is why MDN lists HEIC as unsupported in every browser except Safari.
Which devices open HEIC without extra software
| Where you are | Opens HEIC directly? | What happens instead |
|---|---|---|
| iPhone, iPad, macOS, Safari | Yes | Native decode, including Live Photo and depth |
| Windows 10 / 11 | No | Photos asks for a codec; Explorer shows a blank tile |
| Android 10 and newer | Mostly | Newer gallery apps decode; older ones show a grey box |
| Chrome, Firefox, Edge | No | Broken image icon; the file downloads but will not display |
| Photoshop, Lightroom | Recent versions | Older releases refuse the file outright |
| Gmail, Google Drive preview | No | Attachment downloads but does not render inline |
When to convert, and when to keep the original
Keep the HEIC when you are archiving, when you need the depth map or the Live Photo motion, or when storage is the constraint. Converting to JPG permanently discards data and roughly doubles the size, so convert the copies you need to share rather than the whole library.
- Job portals, visa applications and government forms, which usually accept only JPG or PDF
- Print shops, whose intake software predates HEVC by a decade
- Word, PowerPoint and Outlook on Windows
- Any upload form that rejects
.heicwith a generic "invalid file type" - Photo frames, car displays and older TVs reading from a USB stick
What conversion does to the metadata
Re-encoding through an HTML canvas — what a browser converter does — produces a brand-new JPG with no EXIF block at all. The GPS coordinates, the capture timestamp and the device model all disappear. That is usually the outcome you want before posting a photo publicly, but it also means the date is gone, which matters if you are using filenames and metadata as your archive index.
Tools that copy metadata across by default have the opposite problem: they preserve the GPS tag. What is inside a HEIC file covers that trade-off in detail.
Common questions
Is HEIC better than JPG?
For file size, yes — roughly half at matched visual quality — and it carries features JPEG has no concept of, such as depth maps and multiple images per file. For compatibility it is much worse. Most people should shoot HEIC and convert the files they need to send.
Does converting HEIC to JPG lose quality?
One pass of re-encoding at high quality is visually indistinguishable in normal viewing, but it is not lossless: the JPG is a new compression of an already compressed image. Convert once from the original, never convert a converted file twice.
Can I just rename .heic to .jpg?
No. The extension is a label, not a conversion. Renaming leaves HEVC data inside the file, so anything that could not open it before still cannot, and now it fails with a confusing error instead of a clean one.
Why do some of my files end in .heif instead of .heic?
Same container, different vendor naming. .heif generally comes from Samsung or Android cameras; .heic comes from Apple. Both are HEIF files and both convert the same way.
Do I lose Live Photos when I convert?
Yes. A JPG holds one still frame, so the motion and the depth map are dropped. If the motion matters, export the Live Photo as a video from the Photos app before converting.
Can I make my iPhone shoot JPG instead?
Settings → Camera → Formats → Most Compatible switches the camera to JPEG. You lose the storage savings and the HDR gain maps, so it is usually better to keep High Efficiency on and convert the few files you need to share.
Sources
- Wikipedia: High Efficiency Image File Format — container structure, brand names and adoption history
- IANA: image/heic media type — the registered MIME type for HEIC files
- MDN: Image file type and format guide — browser support for HEIC and the other formats on this site
- Microsoft Store: HEIF Image Extensions — the Windows package that adds HEIF container support