5 MB JSONL sample file
A JSONL file of exactly 5,242,880 bytes. It is a valid JSON Lines file, generated for this site and checked with an independent parser.
Download
sample-jsonl-5mb.jsonl
5 MB5,242,880 bytes
Download 5 MB JSONLDirect download. No sign-up and no waiting.
- Type
- application/jsonl
- SHA-256
d5edcdb2d491150f3106f900339f3b3c28677320ede24c07dc04bcfc11e4e127- Direct URL
https://sampletestfiles.com/downloads/jsonl/sample-jsonl-5mb.jsonl
What is in this file
15,323 JSON objects, one per line, followed by one short object whose "note" string is lengthened to reach the exact size.
| Lines | 15,324 |
|---|---|
| Records per line | 1 |
| Encoding | UTF-8 (ASCII characters only) |
| Line endings | LF |
How the file begins
The opening lines of sample-jsonl-5mb.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 5 MB matters
A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| PHP | 2 MB per uploaded file by default (upload_max_filesize) | A 5 MB upload fails on an untuned PHP installation. |
| Vercel Functions | 4.5 MB request body | Larger uploads must go directly to object storage. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file is exactly one minimum part. |
| AWS Lambda | 6 MB synchronous invocation payload | 5 MB of binary data exceeds it once base64-encoded. |
| Browser localStorage | About 5 MB per origin | Storing this file as text fills the quota. |
| Django | 2.5 MB in memory by default | Larger uploads are streamed to a temporary file instead of held in memory. |
Use this file for
- Simulating photo uploads from phones
- Testing streaming parsers
- Loading datasets for machine-learning experiments
Testing notes for JSONL
- Passing the whole file to a standard JSON parser fails, because the file as a whole is not one JSON value.
- A blank line or a trailing comma on any line breaks strict readers, so decide how your importer treats them.
Technical details
| File name | sample-jsonl-5mb.jsonl |
|---|---|
| Format | JSONL (JSON Lines) |
| Extension | .jsonl |
| MIME type | application/jsonl |
| Size | 5,242,880 bytes (5 MB) |
| Kind | Text |
| SHA-256 | d5edcdb2d491150f3106f900339f3b3c28677320ede24c07dc04bcfc11e4e127 |
| 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-5mb.jsonl 'https://sampletestfiles.com/downloads/jsonl/sample-jsonl-5mb.jsonl'
sha256sum sample-jsonl-5mb.jsonl # Linux
shasum -a 256 sample-jsonl-5mb.jsonl # macOSOn Windows, run Get-FileHash sample-jsonl-5mb.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 5 MB?
- Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 5 MB JSONL file?
- 15,323 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.