How to use JSONL to JSON
- 1. Paste JSONL. Each line must be its own JSON value.
- 2. Copy the array. Direction is JSONL → JSON on this URL.
- 3. Fix the bad line. Errors include the line index when a row fails to parse.
About this tool
Log pipelines and BigQuery exports use JSONL. Front-end fixtures want an array. This alias is that conversion, distinct from “array to JSONL.”
NDJSON vs JSONL
Same idea: one value, one line. Empty lines are skipped. A pretty JSON file with newlines inside objects is not JSONL.
Code examples
JSONL
{"id":1}
{"id":2}