Skip to content

A PNG file with a corrupted header

100% Free No signup Instant download Browser-only 5 languages
Free download(10 KB)

broken-png-header.png

File info

File Format PNG
File Size 10 KB(10,240 bytes)
MIME Type image/png
MD5 2916ccc9566ed2a844e5a02b3ee0ddee
SHA-1 dc52bde6b9f494a1b5d0968cb72bbed25ede52c0
SHA-256 0d48be666d4ff847dd3030e1b8641e1194420bc8a10170f9eb00c7ea0a70e9d0

Download via command line

curl
curl -O https://devlab.itlibra.com/files/broken/png/broken-png-header.png
wget
wget https://devlab.itlibra.com/files/broken/png/broken-png-header.png
PowerShell
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/broken/png/broken-png-header.png" -OutFile "broken-png-header.png"

About this file

A deliberately corrupted file, for verifying that your error handling and validation actually work.

In production you will genuinely receive files cut off mid-transfer, files partially lost to storage faults, and files whose extension is simply a lie. The question that matters is not only whether you detect the damage, but whether the application behaves safely once it has.

What to verify

  • Validation detects the corruption and surfaces it as a handled error rather than an uncaught exception
  • The message shown to the user does not leak an internal stack trace
  • Temporary files and database rows are not left half-written when processing fails midway
  • The log retains enough to diagnose the cause — file name, size, and what kind of anomaly was detected

FAQ

Is this file free to use?
Yes — fully free and no signup required. Use it for any commercial or non-commercial test/verification purpose.
What is inside the file?
Dummy data generated for testing — sized to match the listed size exactly.
What are the hash values for?
Verify integrity after download or use them as test data for hashing libraries.