Our official iOS app is live on the App StoreDownload free

EXIF vs IPTC vs XMP: The Three Metadata Standards

· 4 min read

Short answer

In EXIF vs IPTC vs XMP: EXIF is written by the camera and holds capture data including GPS, IPTC is written by people and holds descriptive and rights information, and XMP is an extensible container that can carry either and survives editing best. One file often holds all three.

Ask where a photo's metadata lives and the honest answer is "in up to three places at once, written by different systems, sometimes disagreeing with each other". Which one you are reading decides what you can trust.

What does each standard actually store?

EXIF holds what the camera measured: exposure, lens, timestamp, GPS. IPTC holds what a person asserted: caption, creator, copyright, keywords. XMP is a container format that can hold either, plus editing history.

EXIFIPTCXMP
Written byThe camera, automaticallyA person or softwareEditing software
Typical contentsExposure, lens, time, GPSCaption, creator, rights, keywordsAnything, plus edit history
FormatFixed binary tagsFixed record structureExtensible XML
Holds GPS?Yes — the primary sourceRarelyYes, if copied there
Survives editingOften partiallyUsuallyBest of the three
Can live outside the fileNoNoYes — as a sidecar
The three standards compared

The division is really measured versus asserted. EXIF is a record of what the hardware observed. IPTC is a record of what somebody claimed. That difference matters whenever provenance is the question rather than curiosity.

Which one holds the GPS coordinates?

EXIF, in almost every case. The camera writes the GPS tag group at capture. Editing software sometimes copies those coordinates into XMP as well, which is why a file can carry two versions that have drifted apart.

When they disagree, EXIF is the original and XMP is the copy — so EXIF is usually the one to trust, unless the location was corrected deliberately in an editor. The tag structure itself is covered in how to read photo coordinates.

What is an XMP sidecar file?

A separate .xmp file stored alongside the image, holding metadata and edit instructions without modifying the original. RAW workflows use them because RAW files are meant to stay untouched.

Sidecars have a consequence people discover the hard way: send the image alone and every edit and keyword stays behind. Send the sidecar without the image and you have shipped the description of a photograph and not the photograph.

Does any of this matter for a normal photo?

Mostly no. A phone photo shared normally carries EXIF and nothing else, so EXIF is the only block involved. The distinction starts to matter once an editor has touched the file, or when metadata has been removed and you want to confirm it is gone.

It also matters when metadata is evidence. IPTC and XMP fields are written by people and software, so they carry an author's claim rather than an instrument's measurement — and both are trivially editable. That is worth knowing before treating any of it as proof.

How can you tell which blocks a file has?

A metadata tool will group them for you. exiftool -G photo.jpg prefixes every tag with its block — [EXIF], [IPTC] or [XMP] — which makes duplicated fields and disagreements between blocks visible at a glance.

This is the fastest way to confirm a metadata removal actually worked. A file that still lists an [XMP] GPS group after you stripped EXIF has not been cleaned, and no built-in viewer on either operating system would have told you.

It is also how the disagreements surface. A 2019 capture date in EXIF next to a 2024 modification date in XMP is not a contradiction — it is two facts about two different events, and reading them as one is a common mistake.

Frequently asked questions

Is XMP better than EXIF?
They do different jobs. EXIF records what the camera measured and cannot be extended; XMP is a flexible container that survives editing better. Most files benefit from having both.
Why does my photo have two different timestamps?
Usually because EXIF holds the capture time and XMP holds a modification time written by an editor. They are not in conflict — they describe different events.
Do social platforms strip IPTC and XMP too?
Re-encoding on upload generally discards all metadata blocks together. Some platforms preserve a small IPTC subset for rights information, but it should not be relied on.
Can I add IPTC data to my own photos?
Yes. Most photo managers let you set caption, creator, copyright and keywords, all of which are written into the IPTC or XMP block and travel with the file.

Sources

  1. Exif 3.0 (CIPA DC-008-2023)Camera & Imaging Products AssociationThe EXIF standard itself.
  2. IPTC Photo Metadata StandardIPTCDefines the descriptive and rights fields.

Keep reading