FileSamplesHub

Sample NDJSON File Download

Sample ndjson file

NDJSON (Newline-Delimited JSON) stores one complete JSON value per line. It is the same idea as JSONL — the two names are used interchangeably — and the point is the same: you can read, append, and stream records one line at a time without parsing an enclosing array.

That makes it the common format for log streams, data-export dumps, bulk API payloads, and machine-learning datasets, where files are large and often processed as a stream.

Use the samples below to test a line-by-line JSON parser, confirm a pipeline reads records incrementally, or check that a tool treats NDJSON as distinct from a single JSON array.

Related file formats