Skip to content

A PNG file truncated part-way through

100% Free No signup Instant download Browser-only 5 languages
Free download(30 B)

broken-png-truncated.png

File info

File Format PNG
File Size 30 B(30 bytes)
MIME Type image/png
MD5 398a4d2e3e768342b2cfe97c9105d3cd
SHA-1 98ada4f1546d73cab12b6593c8bcaa40d023312a
SHA-256 120d4a6ede61aa48b5bd1d24b5a5c8e33a4016ee4385d62f7566b6a7bf1e35d0

Download via command line

curl
curl -O https://devlab.itlibra.com/files/broken/png/broken-png-truncated.png
wget
wget https://devlab.itlibra.com/files/broken/png/broken-png-truncated.png
PowerShell
Invoke-WebRequest -Uri "https://devlab.itlibra.com/files/broken/png/broken-png-truncated.png" -OutFile "broken-png-truncated.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.