Data · 13 files
Sample JSON Files
JSON samples from 10 to 100,000 records, a nested orders document, a minified file and a single object that covers every JSON type and tricky value (unicode, escapes, a 2⁵³+1 integer).
All 13 JSON files
Download all with curl
# 13 files, 205 MB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/data/json/sample-types.json
https://files.samplefiles.com/data/json/sample-10-records.json
https://files.samplefiles.com/data/json/sample-100-records.json
https://files.samplefiles.com/data/json/sample-orders-nested.json
https://files.samplefiles.com/data/json/sample-minified.json
https://files.samplefiles.com/data/json/sample-1k-records.json
https://files.samplefiles.com/data/json/sample-1mb.json
https://files.samplefiles.com/data/json/sample-10k-records.json
https://files.samplefiles.com/data/json/sample-5mb.json
https://files.samplefiles.com/data/json/sample-10mb.json
https://files.samplefiles.com/data/json/sample-100k-records.json
https://files.samplefiles.com/data/json/sample-50mb.json
https://files.samplefiles.com/data/json/sample-100mb.json
EOF| File | Size | Details | Download |
|---|---|---|---|
| JSON with every data typesample-types.json | 592 B | Download | |
| JSON, 10 recordssample-10-records.json | 3.5 KB | 10 rows | Download |
| JSON, 100 recordssample-100-records.json | 35.8 KB | 100 rows | Download |
| JSON with nested objects and arrayssample-orders-nested.json | 86 KB | 100 rows | Download |
| Minified JSON, 1,000 recordssample-minified.json | 284 KB | 1,000 rows | Download |
| JSON, 1,000 recordssample-1k-records.json | 360 KB | 1,000 rows | Download |
| 1 MB JSON filesample-1mb.json | 1023 KB | 3,282 rows | Download |
| JSON, 10,000 recordssample-10k-records.json | 3.5 MB | 10,000 rows | Download |
| 5 MB JSON filesample-5mb.json | 4.9 MB | 16,340 rows | Download |
| 10 MB JSON filesample-10mb.json | 9.9 MB | 32,606 rows | Download |
| JSON, 100,000 recordssample-100k-records.json | 35.6 MB | 100,000 rows | Download |
| 50 MB JSON filesample-50mb.json | 49.9 MB | 162,472 rows | Download |
| 100 MB JSON filesample-100mb.json | 99.9 MB | 324,184 rows | Download |
FAQ
Is the data real?
No. All records are generated with Faker, so they are safe to use anywhere.
Which file tests a JSON parser?
The “every data type” file covers strings with unicode and escapes, exponents, a 2⁵³+1 integer that loses precision in JavaScript, null and empty arrays and objects. The nested orders file tests deep structures.
Do you have invalid JSON?
Yes. Malformed and truncated files are in Edge Cases, and line-delimited JSON is under NDJSON.
Can I load these files directly from my code?
Yes. Files are served from files.samplefiles.com with permissive CORS headers, so fetch(), <video>, <audio> and <img> can use the URLs directly.