What is hidden inside an AI-generated PNG?
Tools like ComfyUI, Automatic1111 and Forge embed the full generation recipe in the PNG file itself, using text chunks defined by the PNG standard (tEXt, iTXt and zTXt). For ComfyUI that means two JSON payloads: prompt (the executed API graph) and workflow (the editable canvas graph). This viewer reads those chunks byte-for-byte, decompresses zTXt/iTXt with deflate, and shows you the prompts, seed, sampler, model and every node parameter.
Recover a lost prompt or workflow
If you still have the original PNG, the workflow is recoverable: extract it here, download the JSON, and drag it onto the ComfyUI canvas. If the file went through a screenshot, a social platform, or WhatsApp as a photo, the metadata is gone; re-encoding strips text chunks permanently.
Frequently asked questions
Why does my PNG have no metadata?
Screenshots never contain generation metadata, and most messaging apps (WhatsApp, Telegram as photo, Discord mobile) re-encode images and strip text chunks. Always send AI images as files/documents to preserve the workflow.
Can I load the extracted workflow back into ComfyUI?
Yes. Download the workflow JSON and drag it onto the ComfyUI canvas, or drag the original PNG directly into ComfyUI.
Which tools are supported?
ComfyUI (prompt + workflow chunks), Automatic1111/Forge (parameters chunk), InvokeAI, SwarmUI, Fooocus, and any PNG with standard tEXt, iTXt or zTXt chunks.