1 MB JSONL sample file
A JSONL file of exactly 1,048,576 bytes. It is a valid JSON Lines file, generated for this site and checked with an independent parser.
Download
sample-jsonl-1mb.jsonl
1 MB1,048,576 bytes
Download 1 MB JSONLDirect download. No sign-up and no waiting.
- Type
- application/jsonl
- SHA-256
c28f455f55f789653a53eaed336808e9baf05642a6296a9fafa1135f2152ca0d- Direct URL
https://sampletestfiles.com/downloads/jsonl/sample-jsonl-1mb.jsonl
What is in this file
3,074 JSON objects, one per line, followed by one short object whose "note" string is lengthened to reach the exact size.
| Lines | 3,075 |
|---|---|
| Records per line | 1 |
| Encoding | UTF-8 (ASCII characters only) |
| Line endings | LF |
How the file begins
The opening lines of sample-jsonl-1mb.jsonl, exactly as they appear in the file.
{"id":1,"uuid":"a6cf3b6b-cd57-4173-a942-a2339c75f449","name":{"first":"Ethan","last":"Zeller"},"email":"ethan.zeller1@example.com","active":true,"bala…
{"id":2,"uuid":"e86fd25c-cc5a-44ae-a8ee-4439d8d6c68e","name":{"first":"Elena","last":"Underhill"},"email":"elena.underhill2@example.net","active":true…Preview
Shows the first 64 KB of the file.
Where 1 MB matters
A 1,048,576-byte file: exactly the default upload limit of nginx, Spring Boot and Next.js. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| nginx | 1 MB by default (client_max_body_size) | A multipart upload of this file exceeds the limit by the size of the form boundaries. |
| Spring Boot multipart | 1 MB per file by default (max-file-size) | A file of exactly 1 MB is at the limit. |
| Next.js API routes and Server Actions | 1 MB by default | Larger bodies need the size limit raised in configuration. |
| Cloud Firestore documents | 1 MiB (1,048,576 bytes) | The same number of bytes as this file. |
| Apache Kafka messages | About 1 MB by default | Brokers reject larger records unless message.max.bytes is raised. |
Use this file for
- Download tests on mobile connections
- Checking log processors
- Testing streaming parsers
Testing notes for JSONL
- A blank line or a trailing comma on any line breaks strict readers, so decide how your importer treats them.
- Passing the whole file to a standard JSON parser fails, because the file as a whole is not one JSON value.
Technical details
| File name | sample-jsonl-1mb.jsonl |
|---|---|
| Format | JSONL (JSON Lines) |
| Extension | .jsonl |
| MIME type | application/jsonl |
| Size | 1,048,576 bytes (1 MB) |
| Kind | Text |
| SHA-256 | c28f455f55f789653a53eaed336808e9baf05642a6296a9fafa1135f2152ca0d |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Data |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-jsonl-1mb.jsonl 'https://sampletestfiles.com/downloads/jsonl/sample-jsonl-1mb.jsonl'
sha256sum sample-jsonl-1mb.jsonl # Linux
shasum -a 256 sample-jsonl-1mb.jsonl # macOSOn Windows, run Get-FileHash sample-jsonl-1mb.jsonl -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 1 MB?
- Yes. It is 1,048,576 bytes, which is 1 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 1 MB JSONL file?
- 3,074 JSON objects, one per line, followed by one short object whose "note" string is lengthened to reach the exact size.
- How is JSONL different from JSON?
- A JSON file is one value, usually an array. A JSONL file is many values separated by line breaks, which can be appended to and read as a stream.