Data

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 MB

TestFile-json-5mb.json

File details

FormatJSON
Extension.json
MIME typeapplication/json
Size5 MB
Exact bytes5,242,880
FilenameTestFile-json-5mb.json
Format versionJSON (ECMA-404 / RFC 8259)
Contents~25,000 Faker contact objects in a root array; 8 keys per object; 2-space indented
EncodingUTF-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.

⚙ Generate custom JSON

Related formats

Other JSON sizes

Frequently asked questions