What Stable Diffusion tools write into your PNGs

Most Stable Diffusion interfaces save your full prompt and settings inside every PNG. Here is where that data lives in each tool and how to check and remove it.

PNG AI PromptModelC2PA PNG

PNG AI metadata remover

Strip saved prompts and workflows from PNG files. Open the png ai metadata remover page

    Stable Diffusion at a glance

    AUTOMATIC1111 / Forge
    PNG “parameters” chunk: prompt, negative, seed, sampler, model
    ComfyUI
    PNG “prompt” and “workflow” chunks with the full node graph
    Fooocus / InvokeAI
    Their own text chunks when metadata saving is on
    Invisible watermark
    Some reference pipelines can add one; most UIs do not by default
    Best tool
    PNG AI metadata remover

    Step by step

    1. Pick the PNGs

      Take the files from your UI’s output folder (for example outputs/txt2img-images in AUTOMATIC1111).

    2. Check what they hold

      Open one in the AI metadata checker to see the stored prompt, settings or workflow.

    3. Strip the generation data

      Batch them through the PNG AI metadata remover. Image data stays identical.

    Every PNG is a recipe card

    Popular Stable Diffusion interfaces save the generation settings inside each PNG as text chunks, so anyone with the file can read — and often reproduce — your prompt. This is a feature: drop the image into the “PNG Info” tab or onto the ComfyUI canvas and the settings come back. It is also the most common way people accidentally share more than they meant to.

    InterfaceWhere the data livesWhat it includes
    AUTOMATIC1111, Forge“parameters” text chunkPrompt, negative prompt, steps, sampler, CFG, seed, size, model name and hash, LoRAs
    ComfyUI“prompt” and “workflow” chunksThe full node graph, including file names and custom nodes
    FooocusIts own chunk or A1111-style parameters, when metadata saving is enabledPrompt, styles, model, seed
    InvokeAI“invokeai_metadata” and related chunksPrompt and generation settings

    JPG and WebP exports from these tools may store the same data in EXIF or XMP instead. The AI metadata checker finds it in either place.

    What people accidentally share

    • Private LoRA or embedding names, sometimes trained on real people or a client’s product
    • Local folder paths that include your username
    • Negative prompts and seeds that make your style easy to copy

    Removing it cleanly

    The PNG AI metadata remover deletes only the AI text chunks — parameters, prompt, workflow, InvokeAI, Fooocus and NovelAI fields — plus AI-marked XMP and C2PA. Other chunks, colour data and pixels are kept exactly. It handles batches. For JPG and WebP, use the AI metadata remover. A ComfyUI workflow can add tens of kilobytes; the metadata size calculator shows exactly how much.

    Many interfaces also have a setting to stop saving generation data. Cleaning afterwards is useful when you want to keep the data in your own archive but not in the copies you share. Files are processed in your browser and never uploaded.

    A note on invisible watermarks

    Some reference Stable Diffusion pipelines can add an invisible watermark to the pixels, while most community interfaces do not by default. Our tools do not touch pixels, so they neither add nor remove such a mark. If you share AI images where disclosure is expected, disclose them.

    Questions

    How do I see the prompt in a Stable Diffusion PNG?
    Open it in the AI metadata checker, or in your UI’s PNG Info tab. The prompt and settings are stored as text inside the file.
    Does removing the parameters reduce image quality?
    No. The PNG AI metadata remover deletes text chunks only; the image data is kept byte-for-byte.
    Can I stop A1111 or Forge from saving the prompt?
    Both have a setting to turn off saving generation parameters in the file. Check the Saving images section of the settings.
    Will people still be able to tell it is AI?
    Possibly, from the image itself. Removing metadata does not make an image undetectable, and you should label AI work where required.