Skip to content
Delete Image Metadata

Remove Stable Diffusion Metadata From PNG Files

Automatic1111, Forge and ComfyUI write your whole generation recipe into the PNG. See what yours contains, then remove it without re-compressing the image.

  • .png
  • .jpg
  • .jpeg
  • .webp
Free
No account, no limit on files
0
Files uploaded — processing is local
4 formats
Lossless — pixels never re-encoded
Processed in your browser
Ready

How it works

  1. 1

    Load the PNG

    The text chunks are listed with their keywords and sizes.

  2. 2

    Read what was stored

    Prompt, negative prompt, seed, sampler and model are shown as named fields.

  3. 3

    Remove and verify

    Chunks are dropped, pixels are copied through, and the output is re-checked.

Exactly what gets written into your PNG

The Automatic1111 family stores generation data as a single text chunk keyed 'parameters'. It is not encoded or compressed — open the PNG in a text editor and you can read it. A typical chunk looks like this:

a photorealistic cat astronaut, 8k, detailed / Negative prompt: blurry, low quality / Steps: 30, Sampler: DPM++ 2M Karras, CFG scale: 7.5, Seed: 3821094556, Size: 1024x1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0

ComfyUI works differently: it serialises the entire node graph as JSON into the text chunks, so the file records not just the settings but the structure of your whole pipeline — every node, every link, every custom loader. On a complex workflow that block can be tens of kilobytes, sometimes larger than a small image.

Why this data is more sensitive than it looks

A prompt is a working document. It routinely contains client and project names, unreleased product descriptions, private references, and iterations of an idea that were never meant to leave the studio. Publishing the image publishes all of it.

The seed and model hash matter for a different reason: together with the prompt they make an image reproducible by anyone. For creators selling generated work, that is the difference between selling an image and publishing the means to regenerate it.

Removing it losslessly

The obvious workaround — re-saving the PNG as a JPEG — does remove the chunks, because JPEG has no equivalent. It also re-compresses every pixel, which on the flat gradients and fine detail typical of generated images is visible.

Removing the chunks directly avoids that entirely. PNG's compressed pixel data sits in separate IDAT chunks with their own checksums, so the text chunks can be dropped and the IDAT chunks copied through untouched. The cleaned PNG decodes to bit-identical pixels.

What removal does not do

It removes the record, not the resemblance. A metadata-free generated image is still a generated image: visual classifiers analyse the picture, and any watermark baked into the pixels — such as SynthID — is untouched by metadata work, because it is not metadata.

Any tool claiming that stripping metadata makes an image undetectable as AI is overstating what it does.

What this tool does

  • Removes 'parameters', workflow and prompt chunks along with EXIF and XMP
  • Bit-identical pixels: IDAT chunks are never decompressed
  • Handles large ComfyUI workflow graphs without truncating the file

What it does not do

  • Does not remove watermarks encoded into pixel values
  • Does not change how a visual AI classifier reads the picture
  • Cannot recover data from a copy you have already shared

Remove Stable Diffusion Metadata From PNG Files

Automatic1111, Forge and ComfyUI write your whole generation recipe into the PNG. See what yours contains, then remove it without re-compressing the image.

Open the tool

Reviewed and updated . Behaviour described on this page is covered by the project’s automated tests.

Frequently asked questions

How do I see the prompt stored in a PNG?

Load it into the AI metadata checker on this site, which parses the chunk into named fields. Automatic1111's own PNG Info tab reads the same data.

Does saving as JPEG remove the prompt?

Yes, since JPEG has no PNG text chunks — but it re-compresses the image, which is visible on generated art. Removing the chunks directly keeps the file lossless.

Does ComfyUI store more than Automatic1111?

Usually much more. ComfyUI embeds the whole node graph as JSON, which describes your entire pipeline rather than just the final settings.

Will removing the metadata stop platforms labelling my image as AI?

No. Platforms use their own signals, including pixel analysis and their own classifiers, and they change those systems without notice. Metadata removal removes one input, not the outcome.

Can I keep the prompt but remove everything else?

Not in this version — removal is per file. If you want to keep your generation data, save a copy of the original before cleaning.

Does the tool show my prompt before removing it?

Yes. The prompt, negative prompt, seed, sampler and model are parsed into named fields so you can see exactly what would have been published.

Are LoRA and embedding names included?

They usually appear in the settings line of the parameters chunk, and are removed along with the rest of it.

Does removing the chunk change the image?

No. PNG pixel data lives in separate chunks that are copied across without being decompressed, so the result is bit-identical.

What about images generated as JPEG or WebP?

Those formats have no PNG text chunks, so generation data is rarer — but any EXIF, XMP or software tag they carry is still detected and removed.