Guides

Recover the valid PNG portion of a file with extra data

Follow these steps using a local file and keep the original.

Recover the valid PNG portion of a file with extra data
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: sample.png. Make a copy before following any rename, truncation or byte-edit instruction.

On a disposable sample copy append the four ASCII bytes TAIL after IEND using a hex editor.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Recovery Center should report four trailing bytes and offer a PNG copy that decodes.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

Observed tool output (English)
{
  "bytes": 77,
  "detected": "PNG",
  "confidence": "signature",
  "checks": [
    "PNG chunk CRC and IEND verified",
    "PNG pixels decoded"
  ],
  "warnings": [
    "4 bytes after IEND"
  ],
  "recoveries": [
    "Save verified PNG without trailing bytes"
  ]
}
Example output
sample-clean.png
Observed size
73 bytes
SHA-256
87827a85625cfaadfa69616527800199c517b06b5cedf3d02691015cfd1b901b

This digest describes the tested output; other encoders or versions may produce different bytes. Verify the expected properties, not only the digest.

Limitations and what to verify

Do not use this as a universal data-removal or privacy tool.

Open related toolDownload sample