FORENSICS

PNG CRC & Dimension Fixer

Check every PNG chunk CRC, brute-force tampered width and height, cross-check IDAT size and export the repaired image.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

CTFs often shrink a PNG's height to crop the flag out, while the IHDR CRC still matches the original size. This tool brute-forces the width and height that match the CRC, compares the IDAT data size and recomputes every chunk CRC.

HOW TO USE

How to use the PNG CRC & Dimension Fixer

A classic CTF misc image challenge: the PNG height has been shrunk so the flag is cropped off, but the IHDR CRC was still computed from the original size. This tool checks every chunk CRC, brute-forces the width and height that match it, cross-checks against the inflated IDAT size, and lets you preview and download the repaired image.

  1. Drop a PNG to see its IHDR size and whether each chunk CRC is valid.
  2. If the IHDR CRC is wrong, the size found by brute force is filled in for you; you can also adjust it by hand.
  3. Click Repair and preview to check the full image, then download the repaired PNG.
USE CASES

PNG CRC & Dimension Fixer use cases

  • Recover flags hidden below a PNG whose height was reduced.
  • Fix PNGs that image viewers refuse to open because of bad chunk CRCs.
  • Catch tampering where the CRC was recomputed by comparing the IDAT data size.

Related topics: png, crc, ihdr, png height, png 修復, image forensics, misc, ctf

FAQ

PNG CRC & Dimension Fixer FAQ

Does the PNG CRC & Dimension Fixer upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the PNG CRC & Dimension Fixer free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the PNG CRC & Dimension Fixer on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the PNG CRC & Dimension Fixer's results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.