AI Image Metadata Explained: C2PA, XMP, EXIF and PNG Data
A comprehensive overview of every key metadata architecture utilized in digital images and how they interact in the modern generative AI era.
Digital images are complex container files that encapsulate both visual raster arrays and multi-layered diagnostic metadata. Understanding how these systems differ is essential for privacy, technical auditing, and content authenticity.
1. C2PA (Content Credentials)
The newest metadata standard, C2PA packages cryptographic assertions signed by digital certificates. In JPEG files, it lives in APP11 markers; in PNG files, it lives in caDX chunks. Unlike legacy tags that can be edited with basic hex editors without notice, C2PA binds a cryptographic hash of the image pixels to the manifest. If any pixels are altered, the signature breaks.
2. XMP (Extensible Metadata Platform)
XMP is an XML data packet stored inside image containers (APP1 in JPEG, iTXt chunks in PNG). It is designed to describe document properties, copyright licenses, and complex editing histories using Dublin Core and custom namespaces. Generative tools like Adobe Firefly store prompt and model information here.
3. EXIF (Exchangeable Image File Format)
Established in 1995 for digital cameras, EXIF records hardware parameters: camera body manufacturer, lens serial, shutter speed, aperture, and capture timestamp. It also includes the Software tag, which indicates what program last saved or edited the file.
4. PNG Text Chunks (tEXt, zTXt, iTXt)
The PNG specification allows key-value text chunks. The open-source AI community (Stable Diffusion, Automatic1111, ComfyUI) standardized on writing 'parameters', 'prompt', and 'workflow' chunks containing complete JSON graphs and sampler recipes directly into these blocks.
Audit Your Image Metadata
Inspect C2PA, XMP, EXIF, and PNG chunks with our in-browser checker.