JSONLNo documentUTF-8
Local only
What is JSON Lines (JSONL / NDJSON)?
JSON Lines (also called NDJSON — Newline Delimited JSON) stores one valid JSON value per line. Unlike a JSON array, there is no wrapper — each line is independently parseable. This makes it ideal for streaming, log storage, and bulk data pipelines where you need to process records one at a time.
| View | Best use |
|---|---|
| Source | Edit the raw JSONL text directly |
| Records | Inspect each line with parse status and value preview |
| Stats | See total, valid, and invalid line counts at a glance |
Common use cases
| Use case | Why JSONL fits |
|---|---|
| Log file storage | Each log entry is independent; tail -f works line by line |
| ML training datasets | Libraries like Hugging Face stream JSONL natively |
| Database bulk imports | MongoDB mongoimport and Elasticsearch bulk API use NDJSON |
| Kafka and event streams | Messages are naturally one-per-line |
| Large file processing | No need to load the entire file into memory to start parsing |
Tip: The Records view virtualises large files so you can navigate thousands of lines without any performance cost.
Frequently Asked Questions
Your files stay on your computer. Dad promised.