.heic ยท .heic .heif

What Metadata Does a HEIC File Contain?

HEIC (and its container name HEIF) is the format iPhones and recent Android phones save photos in by default. It is not just a smaller JPEG: alongside the picture it packs the full camera EXIF and several extra images no photo viewer ever shows. That is where the exact location, a depth map of the scene, and an HDR gain map ride along, out of sight.

Scan a HEIC / HEIF file

What a .heic file reveals

A HEIC straight off a phone carries the exact latitude and longitude where the shot was taken, accurate to a few metres. It usually comes with the altitude (which can tell you the floor of a building), the compass bearing the camera was pointing, the GPS timestamp in UTC, and the camera make and model. Together those pin not just where you stood but which way you were facing and on what device.

The part other tools miss is the extra imagery. Portrait mode and LiDAR write a depth map: a second image recording how far away each part of the scene was, which describes the physical space including how close the subject stood. Recent cameras also write an HDR gain map, a companion image used to brighten the photo on an HDR display, which fingerprints the capture pipeline. Neither is shown when you open the picture.

HEIC stores large photos as a grid of separately encoded tiles. Those tiles can cover more area than the canvas the viewer shows, so fully encoded pixels sit outside the visible frame: content that was cropped out but is still present in the file. The container also records its own rotation and mirror transforms separate from the EXIF orientation tag, so the stored pixels can be in a different orientation from what you see.

Most metadata inspectors walk a HEIC only far enough to reach the EXIF, XMP and ICC blocks and then stop, dropping everything that describes the container. A scan here reads the colour signalling (CICP), the bit depth, and, on HDR files, the content light level and the mastering display it was graded on. If the image carries C2PA Content Credentials, the signing tool and any AI-generation claim are surfaced too.

Key fields

GPS Coordinates
Exact latitude and longitude where the photo was taken, accurate to a few metres, drawn from the camera EXIF.
GPS Bearing
The compass direction the camera was pointing at the moment of capture.
GPS Altitude
Elevation in metres, which can indicate the floor level within a building.
Depth Map
A second image recording how far away each part of the scene was; describes the physical space and is shown by no viewer.
HDR Gain Map
A companion image recent iPhone and Android cameras write to brighten the photo on HDR displays; identifies the capture pipeline.
Images In This File
How many separately coded pictures the container really holds. A viewer shows the primary one; the others travel with the file and nothing indicates they are there.
Stereo Pair
A spatial photo stores a full picture for each eye. A flat viewer shows only one of them.
Embedded Thumbnail
A separate smaller copy of the picture stored beside it. Editors do not always regenerate it, so it can preserve an earlier version.
Overlay Composite
The visible picture is composited from several stored images, each present in full including whatever the composite covers up.
Image Sequence
The file is a timed sequence rather than one photo, which is how a burst or short motion clip is stored in HEIF.
Pixels Outside the Canvas
When the tile grid encodes more area than the displayed canvas, cropped-out image data is still fully present in the file.
Tiled Image
The rows and columns of separately encoded tiles a phone camera stores a large HEIC as.
Stored Rotation / Mirror
A rotation or flip recorded in the container, separate from the EXIF orientation tag.
Camera Make & Model
The device that took the photo, e.g. iPhone 16 Pro.
Colour Signalling (CICP)
The colour primaries and transfer function declared in the container rather than in an ICC profile.
Content Light Level
The peak and average brightness an HDR HEIC was mastered for.
Date Time Original
The exact date and time the photo was captured, recorded by the camera clock.

This is a selection. The full field manual documents the fields read from each format.

Questions about HEIC / HEIF metadata

Does a HEIC photo contain my GPS location?

Yes, if location was enabled when the photo was taken. The file stores the exact latitude and longitude, and usually the altitude, the compass bearing the camera faced, and a UTC GPS timestamp. That is enough to place you at a specific spot, facing a specific direction, at a specific time.

What is the depth map and gain map hidden inside a HEIC?

The depth map is a second image recording how far away each part of the scene was, written by portrait mode or LiDAR; it describes the room and how close the subject was. The HDR gain map is another companion image used to brighten the photo on HDR screens. No ordinary viewer displays either, but both travel inside the file.

Can a HEIC contain more of the picture than I can see?

It can. HEIC stores large photos as a grid of tiles, and those tiles sometimes cover more area than the canvas the viewer shows. The extra rows and columns are fully encoded pixels that were cropped out of the displayed image but remain in the file.

Why do other metadata tools show almost nothing for my HEIC?

Most of them walk the file only far enough to find the EXIF, XMP and ICC blocks and then stop. Everything that describes the container, the depth map, gain map, tile grid, stored rotation and colour signalling, gets dropped. This scanner reads those container boxes directly.

How do I remove the metadata from a HEIC?

Yes, and without converting it. The EXIF item that holds the GPS position, the camera model and the Apple maker note is overwritten in place, as are any XMP and IPTC items, and the movie header timestamps a burst photo carries are zeroed. What comes back is still a HEIC of exactly the same length, with the coded picture, the depth map and the HDR gain map all intact - none of which survives converting to JPEG. The ICC colour profile is deliberately kept, since removing it would change how the photo renders.

File X-Ray reads HEIC / HEIF files entirely in your browser - the file never leaves your device. For this format you can also download a clean copy with the metadata removed. Scan a file now.

All supported formats