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 JSONL

Direct 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.

Lines15,324
Records per line1
EncodingUTF-8 (ASCII characters only)
Line endingsLF

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:

SystemLimitNote
PHP2 MB per uploaded file by default (upload_max_filesize)A 5 MB upload fails on an untuned PHP installation.
Vercel Functions4.5 MB request bodyLarger uploads must go directly to object storage.
Amazon S3 multipart upload5 MiB minimum part sizeThis file is exactly one minimum part.
AWS Lambda6 MB synchronous invocation payload5 MB of binary data exceeds it once base64-encoded.
Browser localStorageAbout 5 MB per originStoring this file as text fills the quota.
Django2.5 MB in memory by defaultLarger uploads are streamed to a temporary file instead of held in memory.

All 5 MB sample files

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.

JSONL format reference

Technical details

File namesample-jsonl-5mb.jsonl
FormatJSONL (JSON Lines)
Extension.jsonl
MIME typeapplication/jsonl
Size5,242,880 bytes (5 MB)
KindText
SHA-256d5edcdb2d491150f3106f900339f3b3c28677320ede24c07dc04bcfc11e4e127
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryData

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 # macOS

On 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.