Skip to content

A JSON file containing a syntax error

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

broken-json-syntax.json

File info

File Format JSON
File Size 36 B(36 bytes)
MIME Type application/json
MD5 5cd008b3db1bc86cbee21f25145e6087
SHA-1 22f23f14dbcaf0f85626e9c1ed0bb9466af4d7cd
SHA-256 f1228730e25d3d272f247953be2185adefe71fbc7b51bf41b8beeb77936c0060

Download via command line

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

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.