Data

JSON test files, any size.

Set a size and generate a structurally valid JSON immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

JSON, built to spec.

Each file is a valid JSON document with a records array. The size you ask for is reached with a trailing string field, so the document still parses, so the result opens in jq, browser devtools, Python's json module and Node's JSON.parse. Most people generate these for testing API payload limits and request body caps.

Questions.

How small can a JSON file be?

About 60 bytes. Below that the format cannot carry its mandatory structure, let alone padding.

Will the file open normally?

Yes — it opens in jq, browser devtools, Python's json module and Node's JSON.parse, because the padding lives in a trailing string field, so the document still parses.

Can I ask for an unusual size?

Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.

Noticed an issue with this test file? Report an issue →