JSONValid
Valid JSON
A JSON object containing an array.
valid.json · 39 B · application/json
Test: Test handling of valid json.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 32acacbb8b24f74306ff88e7dd1da5912120e25ff0aee8d0f9662047335d6ed4
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
JSONIntentionally invalid
Invalid JSON
JSON with a trailing comma in an array.
invalid.json · 19 B · application/json
Test: Test handling of invalid json.
Expected: A JSON parser should reject the trailing comma.
Checksum and details
SHA-256: e4a9047cf337ff636fa593370d7551f0c375e8d1566ecded328dd063cd0668eb
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
XMLValid
Valid XML
Well-formed XML with two records.
valid.xml · 103 B · application/xml
Test: Test handling of valid xml.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 2c9431dd7c47922a569f4860910ae2f5c959ba25f51c731ae48dc73bebf36346
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
XMLIntentionally invalid
Malformed XML
XML with a missing closing item tag.
malformed.xml · 27 B · application/xml
Test: Test handling of malformed xml.
Expected: An XML parser should reject the mismatched tags.
Checksum and details
SHA-256: b10d3d67d6bbd2c66d02162a5271a019e42006412ea235f633012ed00df8156e
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
CSVValid
CSV with quoted delimiters
CSV with a comma and escaped quotes inside a quoted field.
quoted.csv · 54 B · text/csv
Test: Check quoted delimiters and escaped quotes.
Expected: The first data row has two fields; its second value contains a comma and quotes.
Checksum and details
SHA-256: 877beec3f2b3737345f3008fcf351e6579b4e84d9c20159a0ad28f3fe23a4d3b
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
TSVValid
Simple TSV
Tab-separated data with a header.
simple.tsv · 26 B · text/tab-separated-values
Test: Test handling of simple tsv.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 9125be8b30dbd77faa73b1ec228812aac0b95a6e799af47a7f6e220ed31d95ee
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
YAMLValid
Simple YAML
A simple YAML mapping with a sequence.
simple.yaml · 40 B · application/yaml
Test: Test handling of simple yaml.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 1340227d1bb62d69dd709bfd0cf7487ee2edd27df07d0787d9f31d1665842937
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
TXTValid
Unicode text
UTF-8 text containing accented, CJK, Arabic, and emoji characters.
unicode.txt · 58 B · text/plain
Test: Check UTF-8 text handling.
Expected: A UTF-8 reader should preserve accented, CJK, Arabic, and emoji characters.
Checksum and details
SHA-256: 99fe867f6b785b16f1a18a9fa1cdb66ac4735c3fe6d4d7df7ff233d612a4f211
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
TXTEdge case
Empty text file
A zero-byte text file.
empty.txt · 0 B · text/plain
Test: Check zero-byte file handling.
Expected: The file exists and contains zero bytes; acceptance depends on application rules.
Checksum and details
SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
JSONIntentionally invalid
Empty JSON file
A zero-byte file with a JSON extension; empty content is not valid JSON.
empty.json · 0 B · application/json
Test: Test handling of empty json file.
Expected: A JSON parser should reject empty input.
Checksum and details
SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
No samples match. Try another search or category.
Testing data files
Check both successful handling and clear error messages. Expected results are starting points: your application may have stricter rules for size, encryption, or supported formats.
Related: Data converters.