Why PNG files from AI tools carry your prompt
Most local image generators save the full prompt, settings and sometimes the whole workflow as hidden text chunks inside every PNG they create. It is a handy feature — you can drop an old image back in and get the same settings — but it also means anyone who downloads your PNG can read exactly how you made it.
That can include your negative prompt, seed, sampler, model and LoRA names, and in ComfyUI the complete node graph. If a prompt mentions a real person, a client or a private project, that text travels with the picture.
What it removes, tool by tool
| App | Chunk name | Typical content |
|---|---|---|
| Automatic1111, Forge | parameters | Prompt, negative prompt, steps, sampler, seed, model |
| ComfyUI | prompt, workflow | Executed graph and full editable workflow |
| InvokeAI | invokeai_metadata | Generation settings |
| Fooocus | fooocus | Prompt and style settings |
| NovelAI | Comment, Description, Software | Prompt and generation settings |
| Any C2PA tool | caBX | Content Credentials |
| Various | XMP with AI markers | AI source type, generator credit |
Other text chunks, the colour information and the image data are kept exactly. Because nothing is decoded or re-compressed, the cleaned PNG is pixel-for-pixel the same.
When this is useful
- Sharing finished art on forums, Discord or a portfolio without handing over the recipe.
- Sending work to a client when prompts include internal notes or brand names.
- Posting a set where your seeds and LoRAs are part of your style.
- Shrinking files. A ComfyUI workflow can be large; the metadata size calculator shows how much space it takes.
Some sites strip PNG text on upload and some keep it — it varies, so do not rely on the platform. Our AI export guides explain what different generators save.
Tips
- Keep a private copy of the original. Once the workflow chunk is removed it cannot be brought back from the clean file.
- Want to see what is inside first? The AI metadata checker shows the prompt and generator without changing anything.
- Converting to JPG later? Clean first, or use the AI-only metadata remover on the JPG.
Questions people ask about PNG prompts
Does converting to JPG remove the prompt? Often, because most converters do not copy PNG text chunks — but not always, and some apps copy the prompt into EXIF or XMP instead. Cleaning the PNG itself is the reliable route.
Will my image viewer still open the file? Yes. Text chunks are optional extras in the PNG format, so a PNG without them is a perfectly normal image that opens in every viewer, browser and editor.
What this tool does not do
It works on PNG metadata only. It does not change the picture, remove an invisible watermark or touch a visible logo. A PNG without its prompt is still an AI image, and some communities and platforms ask you to tag AI work — that stays your call and your responsibility.