Skip to content

A PDF file truncated part-way through

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

broken-pdf-truncated.pdf

File info

File Format PDF
File Size 40 B(40 bytes)
MIME Type application/pdf
MD5 d5df511765714ccc6bc930f79e7b2527
SHA-1 07071cc2c35ab8c2c57d2db35fcfebdcd9132023
SHA-256 9b3d014335a579471051be8c0625d2fccb00e5707837cbf2ca0d10d7cf546d0f

Download via command line

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

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.