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 JSONL

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

Lines3,075
Records per line1
EncodingUTF-8 (ASCII characters only)
Line endingsLF

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:

SystemLimitNote
nginx1 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 multipart1 MB per file by default (max-file-size)A file of exactly 1 MB is at the limit.
Next.js API routes and Server Actions1 MB by defaultLarger bodies need the size limit raised in configuration.
Cloud Firestore documents1 MiB (1,048,576 bytes)The same number of bytes as this file.
Apache Kafka messagesAbout 1 MB by defaultBrokers reject larger records unless message.max.bytes is raised.

All 1 MB sample files

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.

JSONL format reference

Technical details

File namesample-jsonl-1mb.jsonl
FormatJSONL (JSON Lines)
Extension.jsonl
MIME typeapplication/jsonl
Size1,048,576 bytes (1 MB)
KindText
SHA-256c28f455f55f789653a53eaed336808e9baf05642a6296a9fafa1135f2152ca0d
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-1mb.jsonl 'https://sampletestfiles.com/downloads/jsonl/sample-jsonl-1mb.jsonl'
sha256sum sample-jsonl-1mb.jsonl     # Linux
shasum -a 256 sample-jsonl-1mb.jsonl # macOS

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