AI Image Metadata Viewer

Extract and display embedded generation parameters from SD and Midjourney images

Ad placeholder (leaderboard)

AI image metadata viewer

Most AI image tools quietly embed the exact recipe used to create a picture inside the file itself. Stable Diffusion writes the full prompt, seed, steps, CFG, and sampler into a PNG text chunk; some tools use JPEG EXIF fields. That means you can often recover the precise parameters of any AI image you saved — to reproduce it, remix it, or learn from it. This viewer reads those fields locally, so even private images stay on your device.

How it works

When you select a file, the browser reads its bytes with FileReader. For PNGs the tool walks the chunk structure looking for tEXt and iTXt chunks — the one keyed parameters holds the Stable Diffusion string. For JPEGs it scans the EXIF block for UserComment and ImageDescription. The raw string is then parsed into labeled fields: everything before “Negative prompt:” is the prompt, and the trailing key/value list yields steps, sampler, CFG scale, seed, and model. Nothing is uploaded — all parsing happens in your browser.

Tips and limitations

  • Use originals. Re-encoding an image (screenshots, social uploads, format conversion) usually strips the metadata chunk — keep the file your tool produced.
  • Midjourney embeds little. Unlike SD, Midjourney does not write full parameters into the file, so expect sparse or empty results.
  • Seed is the key to reproduction. With the seed plus the other parameters you can regenerate a near-identical image in the same tool.
  • No metadata is normal. Many tools and exports simply do not embed parameters; an empty result does not mean the image is not AI-generated.
Ad placeholder (rectangle)