Sample JSON 5MB File
JSON array of records — contact/financial/ecommerce schemas
Click below for an instant download — no signup, no redirect.
Download 5MB JSON5 MBTestFile-json-5mb.json
File details
| Format | JSON |
| Extension | .json |
| MIME type | application/json |
| Size | 5 MB |
| Exact bytes | 5,242,880 |
| Filename | TestFile-json-5mb.json |
| Format version | JSON (ECMA-404 / RFC 8259) |
| Contents | ~25,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 5MB JSON file useful for?
A 5 MB JSON file with ~25,000 records shifts testing focus to streaming parse performance and memory efficiency. Use it to verify that your JSON ingestion pipeline uses ijson (incremental JSON parser) rather than json.loads() — loading a 5 MB JSON array into memory is manageable but wasteful if you only need to iterate records. It is also the right size for testing JSON-to-database ingestion with chunked batch insertion.
What's inside this file?
Generated by data.py with Faker. Approximately 25,000 contact objects in a root JSON array, 2-space indented. json.loads() on this file uses approximately 50–100 MB of RAM to hold the parsed Python list and all string objects. ijson iterates items at the root array level using approximately 5–10 MB of RAM regardless of file size.
Download via curl
curl -L "http://localhost:8000/files/json/TestFile-json-5mb.json" \ -o TestFile-json-5mb.json
Need different parameters?
Generate a custom JSON file with exact settings.