JSON test files
A small valid JSON object padded with whitespace, so JSON.parse() still succeeds at any size.
- 100 KB JSON
102,400 bytes
- 500 KB JSON
512,000 bytes
- 1 MB JSON
1,048,576 bytes
- 2 MB JSON
2,097,152 bytes
- 5 MB JSON
5,242,880 bytes
- 10 MB JSON
10,485,760 bytes
- 20 MB JSON
20,971,520 bytes
- 25 MB JSON
26,214,400 bytes
- 50 MB JSON
52,428,800 bytes
- 100 MB JSON
104,857,600 bytes
Good for testing
- API request-body limits (e.g. Express defaults to 100 KB)
- Config and data import
- Payload-size error handling
Need a size that isn’t listed, such as exactly 5,242,881 bytes? Use the generator. Check what size a service accepts in the upload limits reference.
