How much metadata can PNG, JPEG, and WebP actually hold?
PNG, JPEG, and WebP each support metadata differently, which affects what an AI generator or camera can embed and what survives a format conversion. These pages describe container capability, not what any specific tool chooses to write.
File formats
PNG
PNG supports plain-text tEXt/iTXt chunks and an optional eXIf chunk, which is why Stable Diffusion tools commonly target PNG.
Read →File formatsJPEG
JPEG stores EXIF in an APP1 segment defined by the CIPA EXIF specification, plus optional XMP; re-encoding can alter or drop it.
Read →File formatsWebP
WebP’s RIFF container supports optional EXIF and XMP chunks, but support across tools is less consistent than JPEG.
Read →Machine-readable version: /data/file-formats.json