PNG Metadata, tEXt Chunks & AI Prompt Inspector

Read PNG eXIf, iTXt XML, Screenshot Software Tags & Stable Diffusion / ComfyUI Workflows

Unlike JPEGs, PNG files pack metadata inside named four-character chunks such as tEXt, zTXt, iTXt, and eXIf. ExifStudio unpacks every PNG chunk locally via ExifTool WebAssembly—revealing screenshot software names, print pHYs values, and hidden Stable Diffusion or ComfyUI prompt graphs.

Inspect by File Format

JPEG Metadata PNG Metadata WebP Metadata HEIC Metadata Camera RAW Metadata PDF Metadata

PNG Chunk & AI Prompt Metadata Container & Tag Map (.PNG)

Metadata BlockBinary ContainerPrivacy ExposureRecommended Cleanup
AI Generation PromptstEXt / iTXt ("parameters", "prompt", "workflow")Exposes full Stable Diffusion / ComfyUI prompts, seeds, LoRAs, and node graphsWipe text chunks before posting AI renders or client concepts
Standard EXIF in PNGeXIf chunk (PNG 1.2+ extension)Holds camera settings, orientation, timestamps, and optional GPS coordinatesClean with Privacy Cleaner so only IHDR, IDAT, and IEND remain
XMP & Software StampsiTXt ("XML:com.adobe.xmp", "Software", "Author")Reveals OS screenshot tools, Figma/Photoshop version, and local project pathsInspect raw chunk tags and strip identifying XML blocks
Print Resolution & AlphapHYs + tRNS / iCCP chunksControls physical pixel density (DPI) and alpha transparency; non-identifyingUse the 300 DPI Converter when print density must stay intact

Key Features

  • Stable Diffusion & ComfyUI Chunk Parser

    Extracts embedded tEXt and iTXt workflow JSON, positive/negative prompts, sampler seeds, and model hashes saved by local diffusion tools.

  • Modern PNG eXIf & iTXt Support

    Reads the official PNG eXIf chunk alongside compressed zTXt and UTF-8 iTXt XML:com.adobe.xmp blocks.

  • Screenshot & Editor Trace Audit

    Spots macOS Screenshot, Windows Snipping Tool, GIMP, or Adobe software markers embedded in tEXt Software and Creation Time fields.

  • Transparent-Safe PNG Scrubbing

    Rebuilds clean PNG files with alpha transparency preserved while stripping hidden text chunks and XMP tags.

Inside the PNG Chunk Architecture

Every PNG file begins with the 8-byte signature 89 50 4E 47 0D 0A 1A 0A, followed by length-prefixed chunks. Critical chunks (IHDR, PLTE, IDAT, IEND) decode the image pixels, while ancillary chunks carry text, timestamps, ICC profiles, and since 2017, raw EXIF data inside an eXIf chunk.

Why AI Image Generators Prefer PNG tEXt Chunks

WebUIs like Automatic1111, Forge, and ComfyUI write plain key-value strings ("parameters", "prompt", "workflow") into uncompressed tEXt or iTXt chunks because they survive lossless PNG saves intact without size limits.

What Desktop Screenshots Embed Automatically

Operating systems and screen recorders frequently attach creation time, display ICC color profiles, physical pixel density (pHYs), and application identifiers inside ancillary PNG chunks.

Common Use Cases

  • Recovering Lost Generation Prompts

    Drop an old Stable Diffusion or ComfyUI PNG render to read back exact seed, CFG, checkpoint, and prompt JSON.

  • Client Brand Asset Hygiene

    Verify UI icons, logos, and mockups carry zero Adobe XMP project paths or local artist usernames before shipping.

  • Print DPI & Alpha Verification

    Check PNG pHYs pixel-per-unit tags and bit depth prior to uploading graphics to print-on-demand portals.

Best Practices

  • Scrub ComfyUI Workflows Before Client Delivery: ComfyUI embeds the complete node graph inside iTXt/tEXt chunks by default, which can reveal custom LoRA paths and private prompt notes.
  • Keep pHYs & iCCP for Print Graphics: If a PNG feeds a print lab or DTG printer, confirm 300 DPI headers with our DPI Converter after wiping personal text chunks.

Troubleshooting

My PNG has no EXIF camera block even though it came from an image editor
Many editors store info inside tEXt or iTXt chunks instead of the newer eXIf chunk. Scroll to the Raw Tags & Provenance panels to inspect text chunks.
Why did converting PNG to WebP or JPEG drop my ComfyUI workflow?
Re-encoding PNGs into lossy JPEG or stripped WebP discards PNG-specific tEXt/workflow chunks unless explicitly copied into XMP.

PNG Chunk Inspection: ExifStudio vs Basic Viewers

FeatureExifStudioTypical Alternative
AI tEXt & ComfyUI JSONAutomatic Provenance & Prompt ReadoutIgnored by Basic EXIF Parsers
PNG eXIf & zTXt SupportFull WebAssembly ExifTool EngineJPEG-Only piexif Parsers
File Upload Privacy100% Local MemoryRemote Upload Required

Frequently Asked Questions

Do PNG screenshots store GPS coordinates?
Standard desktop and mobile screenshots rarely embed GPS coordinates, though they commonly store exact capture timestamps, operating system names, display profiles, and editor metadata.
Can ExifStudio read Stable Diffusion and ComfyUI prompts from PNGs?
Yes. The provenance scanner automatically inspects PNG tEXt and iTXt chunks for parameters, prompt, and workflow fields.
What is the difference between tEXt, zTXt, and iTXt in PNG?
tEXt stores uncompressed Latin-1 strings, zTXt compresses text with zlib, and iTXt stores UTF-8 text (used for XMP XML packets and multi-language labels).
Will stripping PNG metadata break transparency?
No. Cleaning metadata preserves the RGBA alpha channel while discarding unnecessary text and XMP chunks.

Related Tools