XMP vs EXIF vs IPTC vs C2PA: A Visual Comparison of Image Metadata
Four metadata formats, four eras, four purposes. Here is how EXIF, IPTC, XMP, and C2PA differ, what each one stores, and which platforms strip which.
These four formats all live inside an image file. They don't replace each other; they layer. Each has its own era, its own standards body, and its own typical contents. Knowing which is which makes the difference between an "AI metadata scan" you can cite and one that misses half the trail.
To find out which of the four a given file carries, the metadata removal guide scans a JPEG, PNG, WebP or HEIC file and names every AI trace it finds, along with the carrier it sits in.
EXIF (1994)
- Purpose: Camera settings. Built by digital cameras, for digital cameras.
- Format: TIFF tags inside an APP1 JPEG marker. Binary, fixed schema.
- Common contents: ISO, shutter, aperture, focal length, GPS, camera serial.
- Typical size: 1–4 KB on a DSLR shot.
- Limit: Designed for hardware, not software. EXIF has a
Softwarefield, but it's free-text — any tool can write anything, and nothing is signed.
IPTC (1970s, modernized early 2000s)
- Purpose: Newsroom photo credits and rights.
- Format: Binary IIM (Information Interchange Model) inside an APP13 marker.
- Common contents: Photographer, copyright, headline, caption, location keywords.
- Typical size: 0.5–2 KB.
- Limit: Static schema, hard to extend. Largely superseded by XMP for new fields, but Adobe and stock-photo workflows still write it.
XMP (2001)
- Purpose: A general-purpose, extensible metadata format that both Adobe apps and modern AI tools can write.
- Format: RDF/XML, often embedded inside an APP1 segment (alongside EXIF) or a PNG
iTXtchunk. - Common contents: Edit history, ICC profiles, AI-generator provenance (
parameters,dalle,openai), software version, keywords. - Typical size: 0.5–50 KB depending on what's stamped.
- Limit: Plain XML inside a binary container is awkward, and like EXIF it's unauthenticated — anyone can write any XMP block.
C2PA (2021)
- Purpose: Tamper-evident, cryptographically signed content provenance.
- Format: JUMBF (ISOBMFF) boxes, typically as APP11 in JPEG and as a chunk in PNG.
- Common contents: Signed manifest — issuer certificate, asserted actions (
c2pa.created,c2pa.actions,stitching,trainedAlgorithmicMedia), and a hash chain linking every prior version. - Typical size: 3–10 KB per assertion; grows with edit count.
- Limit: Adoption is partial; most editing tools strip credentials when they resave; almost no social platform renders them.
At a glance
- EXIF (1994) — unauthenticated. Carries camera settings, GPS, and serial numbers. Usually stripped on social upload.
- IPTC (1970s, modernized 2000s) — unauthenticated. Carries photographer, credit, caption, and keywords. Often stripped on social upload.
- XMP (2001) — unauthenticated. Carries edit history, ICC profiles, AI provenance, and keywords. Often stripped on social upload.
- C2PA (2021) — X.509 signed. Carries a signed manifest with issuer certificate and hash chain. Always stripped on social upload.
How they layer inside a single file
A modern JPEG from Adobe Lightroom might carry all four:
- EXIF in APP1 (camera settings from the original shot)
- XMP in APP1 (edit history, AI claims, color treatment)
- IPTC in APP13 (caption, photographer credit)
- C2PA in APP11 (signed provenance)
A scanner that walks the file segment by segment picks the ones it knows and reports them. AI Metadata Ninja's tool reports all four in one pass — useful, because a buyer running the same file through a competing scan might only see C2PA and miss an XMP dalle field from the same image.
Which metadata format should you clean before publishing?
For most creators the question is "clean AI-related fields, keep the rest". That question has two very different answers depending on which tool you use.
Our cleaner removes whole segments — but only the ones that name a generator. Each of these four formats lives in its own self-contained container, so when one qualifies, it goes as a unit:
- EXIF — dropped whole when
Softwareor a comment names a generator: camera body, lens, timestamps and GPS go with it. A camera EXIF that names no generator is left alone entirely, GPS included. - IPTC — dropped whole when
Sourcecarries a standaloneAItoken, taking copyright and creator credits with it. An IPTC block naming no generator keeps its caption, by-line and copyright. - XMP — dropped whole when it declares an Adobe AI namespace or carries a
parameters/dalle/ideogramblock. An ordinary Lightroom or Bridge packet,dc:creatorincluded, stays. - C2PA — dropped whole whenever a credential is present, signature included.
What that leaves untouched is the part that actually affects how the image looks: the compressed pixel data and the ICC colour profile, both byte-identical to the input. And an image with no AI provenance in any of the four comes back byte-identical too — nothing is dropped, because nothing qualified.
ExifTool does per-field removal. If you need "keep the camera settings, drop the GPS and the AI software tag", that is ExifTool's job, not a byte-level stripper's:
exiftool -gps:all= -software= photo.jpg # keep the camera, drop GPS + AI tag
exiftool -iptc:all= -xmp:all= photo.jpg # keep EXIF, drop credits and XMP
exiftool -c2pa:all= photo.jpg # drop only the credential
The trade-off is real and worth naming: per-field removal is more surgical but rewrites the file through a full EXIF parser, so it is slower and far easier to get subtly wrong across formats. A byte-level strip is all-or-nothing on a segment and all-or-nothing safe on pixels — and unlike a strip-everything tool, it will not touch a metadata block that has nothing to do with AI.
The takeaway
These four formats are not interchangeable. EXIF is hardware, IPTC is newsroom credit, XMP is general-purpose, C2PA is signed provenance. Knowing which is which tells you where to look for AI generators (XMP, C2PA), what to keep (IPTC credits), and what to strip when you publish.
Related reading
- What is a C2PA Content Credential? — the signed-manifest layer that often sits next to the XMP and EXIF trail.
- the metadata removal guide — the hub page covering the verb variants and the full cleaning workflow.
- How to remove AI EXIF data from a JPEG — the EXIF
Softwarefield that older AI tools write. - the AI label guide — where the IPTC digital source type and the AI disclosure fields sit among the four formats.