Home / Blog / How Do I Remove Stable Diffusion Prompt Metadata From a PNG?
How Do I Remove Stable Diffusion Prompt Metadata From a PNG?
Remove the prompt and seed from an AUTOMATIC1111 PNG, check the copy in PNG Info, and see which other text fields the cleaner removes.
Open the original PNG in the AI label remover, choose Strip metadata, then select Download cleaned copy. To check the result, open the downloaded file in AUTOMATIC1111’s PNG Info tab. The prompt and seed that appeared for the original should be gone. Keep the original if you might want to recreate the image later.
See what the original reveals
Say you’re sending a client three variations of a book cover. You want them to judge the artwork, and you want to keep the working prompts in your project folder. Start by dropping one of your original exports into PNG Info in your local AUTOMATIC1111 WebUI. If that export includes generation parameters, you can read the prompt and look for a detail you’ll recognize later, such as the seed.
AUTOMATIC1111 can store this information in a PNG text entry named parameters. A single entry can hold a prompt, a negative prompt and several settings. The text lives alongside the picture, so opening the PNG in an ordinary image viewer won’t tell you whether someone else can read it. AUTOMATIC1111’s documentation on generation parameters
Make a copy for delivery
- Open Choose files in AI Label Strip and select the PNG you checked. The inspection runs on your device.
- Read the result beside the filename. You may see PNG tEXt, PNG iTXt or PNG zTXt. These labels identify kinds of text storage. A label alone won’t tell you which words the file contains.
- Select Strip metadata, then Download cleaned copy. For an original called
cover-v3.png, the suggested download name iscover-v3-clean.png. Put that copy in your delivery folder. - Open the clean copy in PNG Info. Look for the same prompt or seed you found in the original. You can also add the download back to AI Label Strip to see whether it finds any more of the metadata types it recognizes.
If the original already shows No targeted metadata found, check it in PNG Info. An export that carries no generation parameters may already be suitable to send. If you can still read the prompt there, keep that file out of the delivery folder until you know where the text is stored.
What else gets removed with the prompt?
AI Label Strip clears whole PNG text chunks. That matters if you put a credit or copyright notice in the same file. To check, we ran the site’s PNG cleaner on a two-pixel test image with one translucent pixel. The first text entry was a parameters field containing “a green teacup on a windowsill” and seed 31415. The second was a Copyright field containing “Example Studio”.
The inspector reported PNG tEXt once for the two entries. Cleaning took the file from 186 bytes to 74 bytes. Both text entries disappeared. The compressed picture data matched byte for byte, including the data for the translucent pixel. A second inspection found no targeted metadata.
If a client needs your credit, include it in the delivery notes or use an editor that can remove just the parameters entry while preserving the credit field. Keep the full original with your working files.
Check what you’re actually sending
Look at the filename before attaching the PNG. Some AUTOMATIC1111 setups name files using words from the prompt. Adding -clean keeps those words in the name. Rename the delivery copy if needed. If you send a ZIP, open it once and check the file list. AUTOMATIC1111 can also save generation settings in a separate .txt file, which stays in the folder even after you clean the PNG. AUTOMATIC1111’s image-saving code