DevTools Logo

PNG Chunk Inspector

PNG Chunk Inspector

Inspect PNG chunk structure, verify CRC-32 integrity, decode metadata chunks and export a text report. All local.

What is checked

Signature bytes, chunk lengths and type bytes, CRC-32 over type+data, IHDR validity, trailing garbage, and decoded tEXt/zTXt/iTXt/pHYs/gAMA/sRGB/tIME metadata. IDAT payloads are measured, never inflated.

Chunk tree

No PNG loaded

Choose a PNG to see its chunk structure and CRC status.

Examples

Typical use

Input
png-chunk-inspector inputs
Output
computed result

Preview and copied output use the same computation.

Edge case

Input
invalid or extreme input
Output
clear inline error or clamped result

Failures are visible rather than silently swallowed.

About this tool

A PNG is a sequence of chunks. This inspector checks the signature, walks the chunk stream, verifies CRC-32, decodes metadata and flags structural problems.

IDAT payloads are measured but never inflated; zTXt text is inflated on demand with DecompressionStream.

What this tool does not do

  • IDAT payloads are measured but never inflated; zTXt text is inflated on demand with DecompressionStream.

How to use this tool

  1. Step 1

    Drop a PNG into the file zone

  2. Step 2

    Read the IHDR summary and chunk table with CRC badges

  3. Step 3

    Expand a chunk for decoded fields, warnings and a hex peek

  4. Step 4

    Download a plain-text report or copy it

Use cases

Everyday workflow

A PNG is a sequence of chunks. This inspector checks the signature, walks the chunk stream, verifies CRC-32, d

Common mistakes

Mistake:Ignoring the stated assumptions.

Fix:Read the notes in the output panel before applying the result.

Frequently asked questions

What does CRC status mean?

CRC-32 is computed over each chunk type and data; a mismatch signals corruption or an edited file.

Does the inspector upload my PNG?

No. The file is parsed in the browser and never leaves the tab.

Can it read compressed text chunks?

Yes: zTXt streams are inflated on demand when the row is expanded, if DecompressionStream is supported.

References & standards