EXIF and photo metadata: how they work
How photo metadata are structured: EXIF, XMP, IPTC and maker data, date and time fields, GPS, thumbnail, JPEG and HEIC formats, and what happens to metadata on social networks, in chats and in screenshots.
The most useful fields
| Field | What it indicates | Watch out |
|---|---|---|
| DateTimeOriginal | Moment of capture, in the device clock’s time | Depends on how the clock was set |
| OffsetTimeOriginal | Time zone of the shot | Present only on more recent devices |
| GPSDateStamp and GPSTimeStamp | Date and time from the satellites, in UTC | Useful to check the device clock |
| GPSLatitude and GPSLongitude | Position of the shot | Variable precision; sometimes the last known position |
| Make, Model, BodySerialNumber | Make, model, serial number | The serial number is not always there |
| Software | Program that saved the file | May reveal a pass through an editing program |
| Thumbnail | Preview embedded in the file | May show the image as it was before a crop |
Besides EXIF, photos may contain XMP data, used by editing programs also to record edit history, IPTC data, used by photographers and agencies, and private maker notes, which sometimes record the shutter count or internal identifiers. Recent smartphones often save in HEIC format, which keeps equivalent metadata.
Where they are kept and where they are lost
| Path of the photo | Metadata |
|---|---|
| Original on the device, in the backup or in the cloud | Normally complete |
| Sent as a file or document in chat, or attached to an email | Normally complete |
| Sent as a photo in messaging apps | Largely removed, image recompressed |
| Posted on social networks | Largely removed |
| Screenshot | Those of the device that took the screenshot, not of the photo |
| Passed through an editing program | They may remain, change or disappear |
EXIF and photo metadata: step-by-step procedure
The stages of a forensic examination of a photo’s metadata: finding the original, acquisition with hash, full extraction, internal consistency, comparison with context, looking for edits, linking to the device, documentation.
The pages of this topic
Back to the overviewEXIF and photo metadata: tools
The tools for reading and analysing photo metadata: ExifTool, Exiv2, system viewers, JPEG compression analysis, forensic image authentication software, Content Credentials.
EXIF and photo metadata: mistakes to avoid
The most common mistakes in analysing photo metadata: working on social media copies, trusting the date without checking the clock, confusing local time and UTC, taking the position as certain, ignoring the file’s path, hasty conclusions.
EXIF and photo metadata: value in court
The value of metadata and digital photographs as evidence: provenance, integrity, consistency, limits, external confirmation; art. 2712 of the Italian Civil Code and challenges in civil proceedings, photos as documents in criminal proceedings.
EXIF and photo metadata: case study
Six photos produced in a dispute between a condominium and a cleaning company: five consistent with the stated date, one taken days earlier and passed through an editing program.
EXIF and photo metadata: checklist
The checks for a correct examination of a photograph’s metadata.
EXIF and photo metadata: frequently asked questions
Short answers to the most common questions about the metadata of digital photographs.