Why ComfyUI PNG Metadata Is Missing and How to Troubleshoot It

Missing PNG metadata troubleshooting

ComfyUI PNG metadata missing? Check metadata-saving settings, the output node, original file integrity and whether another application removed embedded workflow data.

Start with the original output

Use the original file saved by ComfyUI. A screenshot, thumbnail or image downloaded from a social platform may not retain the original metadata. If possible, compare the file with a fresh output generated by the same ComfyUI installation.

Check whether metadata saving is disabled

ComfyUI supports a startup option to disable metadata saving, and ComfyUI Desktop exposes a corresponding server configuration setting. If metadata saving was disabled when the image was created, the usual embedded workflow information will not be available to recover later.

Check the save path and node

Built-in save nodes can embed workflow and prompt information when they receive the required data and metadata saving is enabled. Custom nodes and alternate export paths may behave differently. Check the node documentation and test with a standard output node before concluding that ComfyUI itself is failing.

Check for re-encoding

Image editors, optimizers, format converters and publishing platforms may rewrite the file. Re-encoding can remove or replace ancillary metadata even when the visible image looks unchanged. Keep the untouched source and inspect the final exported copy separately.

Check which field is missing

A file may contain a prompt field without a workflow field, or the reverse. These fields serve different purposes. Use a metadata viewer that can inspect PNG text chunks and check the field names rather than relying only on whether the canvas restores a graph.

What you cannot recover

If the metadata was never saved or has been removed and no separate workflow file exists, the exact original graph may not be recoverable from the pixels alone. You may be able to approximate the generation settings, but that is reconstruction rather than metadata recovery. For the normal recovery steps, see the ComfyUI workflow guide.

Official documentation and further reading

Frequently asked questions

Can I recover metadata after it was stripped?

Not from the image pixels alone. You need an original file, a backup or a separately saved workflow.

Does ComfyUI always save workflow metadata?

No. Metadata saving can be disabled, and save paths or nodes may differ.

Why does the prompt exist but the workflow not load?

The file may contain the API prompt field without the visual workflow field needed to restore the graph.

Will renaming a PNG remove its metadata?

Renaming the file alone normally does not rewrite its contents, but editing, converting or re-exporting can change metadata.

AdvertisementAd space — reserved, no network calls until AdSense is enabled