Sample JSON 1MB File
JSON array of records — contact/financial/ecommerce schemas
Click below for an instant download — no signup, no redirect.
Download 1MB JSON1 MBTestFile-json-1mb.json
File details
| Format | JSON |
| Extension | .json |
| MIME type | application/json |
| Size | 1 MB |
| Exact bytes | 1,048,576 |
| Filename | TestFile-json-1mb.json |
| Format version | JSON (ECMA-404 / RFC 8259) |
| Contents | ~5,000 Faker contact objects in a root array; 8 keys per object; 2-space indented |
| Encoding | UTF-8 (no BOM); 2-space indented; Unix LF line endings |
What is a 1MB JSON file useful for?
A 1 MB JSON file with ~5,000 records is the standard benchmark for JSON parsing performance and API pagination design. Use it to measure json.loads() vs orjson vs ujson parse time, to test that your API correctly paginates large JSON responses rather than returning the entire array in one response, and to verify that your schema validator handles the full dataset within an acceptable time budget. It is also the right size for testing JSON-to-CSV conversion pipelines.
What's inside this file?
Generated by data.py with Faker. Approximately 5,000 contact objects in a root JSON array, 2-space indented. At this record count the JSON tree contains approximately 40,000 key-value pairs. Python's json.loads() on a 1 MB string typically takes 20–50 ms; orjson takes 5–15 ms — a 3–5× speedup with zero API change.
Download via curl
curl -L "http://localhost:8000/files/json/TestFile-json-1mb.json" \ -o TestFile-json-1mb.json
Need different parameters?
Generate a custom JSON file with exact settings.