NDJSON Sample Files
NDJSON (Newline Delimited JSON) stores one JSON object per line. It is designed for streaming and log processing, where you want to read records one at a time without loading the entire file into memory.
Back to Example data filesDownload NDJSON Sample Files
| File | File type | File size | Rows/Records | Mime type | Download example file |
|---|---|---|---|---|---|
| NDJSON Sample - 100 Lines | NDJSON | 12 KB | 100 | application/x-ndjson | Download example file |
| NDJSON Sample - 1,000 Lines | NDJSON | 123 KB | 1,000 | application/x-ndjson | Download example file |
About NDJSON files
NDJSON is also known as JSON Lines (.jsonl). Each line in the file is a valid, self-contained JSON object. There is no wrapping array or commas between records. This makes it easy to append new records, process files line by line, and work with streaming data.
Tools like jq, Elasticsearch bulk import, and many logging systems use NDJSON natively. It is a good middle ground between the structure of JSON and the simplicity of CSV.
For standard JSON arrays, see our JSON samples. For flat tabular data, check CSV or TSV.