AI image metadata
Stable Diffusion Metadata: Parameters, Prompts and Workflows in PNG Files
Published November 14, 2026 · 8 min read
PNGs from AUTOMATIC1111, ComfyUI, NovelAI and InvokeAI carry the full generation recipe in text chunks. Here is what each tool writes and how to read or remove it.
Why PNGs from AI tools are so chatty
JPEG has no standard place for a generation prompt, and its compression is lossy anyway. Diffusion tools therefore default to PNG and use the format's text-chunk system to store the entire generation recipe inside the image file. Anyone who opens the PNG in a text-aware viewer — or a metadata inspector — can read it.
What each tool writes
- AUTOMATIC1111 / Forge: a tEXt chunk named parameters with prompt, negative prompt, sampler, steps, CFG scale, seed and model hash.
- ComfyUI: chunks named prompt and workflow containing the complete node graph as JSON.
- NovelAI: an iTXt chunk named Comment with generation settings and model details.
- InvokeAI: an iTXt chunk named invokeai_metadata with the session graph.
- Adobe Firefly and DALL·E exports: XMP fields such as xmp:CreatorTool and Iptc4xmpExt:DigitalSourceType instead of PNG chunks.
Why you might want it gone
The recipe is not secret to you — it is your file. But prompts sometimes contain personal context, client names, or internal project vocabulary. Model and workflow details can also be commercially sensitive if you sell images or publish under a consistent style. And if you share a hand-edited version of an AI image without disclosing that, the embedded workflow will contradict you.
Selling AI images is another common case: stock platforms and buyers increasingly check provenance records, and an uncleaned PNG announces its origin instantly.
Reading it, then removing it
To see what your file carries, open it in the free image metadata cleaner — the report lists every text chunk, XMP field and C2PA record with its value. To remove it, let the cleaner re-encode the PNG (or export to JPG/WebP) and check the output report: the re-encoded copy carries only pixel data, and the re-scan shows zero remaining AI markers.
The image still looks identical. What changes is that the file stops telling everyone how it was made. For the limits of that claim — pixel watermarks like SynthID survive — read what metadata cleaning cannot remove.
Check your own files
Inspect and clean metadata from images and PDFs directly in your browser. Files are never uploaded to a server.
Strip a PNG's generation data →Related guides
- Does Removing EXIF Data Remove AI Labels?Short answer: it depends where the AI label is stored. A field-by-field breakdown of EXIF, XMP, PNG text chunks, C2PA records, and what a full cleaning pass actually removes.
- SynthID and Invisible Watermarks: What Metadata Cleaning Cannot RemovePixel-level watermarks like Google's SynthID survive metadata removal, re-encoding and screenshots. Understand what they are, what survives, and what that means for AI images.
- What Is C2PA? Content Credentials ExplainedC2PA Content Credentials are signed provenance records attached to photos and PDFs. Here is how the standard works, where it is stored, and what removing it does and does not mean.