JSONL ↔ JSON array converter
Convert line-delimited data and JSON arrays without changing numeric text
All input is processed in this browser and is never sent to a server or written to local storage.
Paste content and choose a conversion direction.
Maximum input 1 MiB · Up to 10,000 records · Maximum output 4 MiB
Conversion rules
Each nonblank JSONL line must contain one complete JSON value. Blank lines are skipped; errors report the original line number. Objects, arrays and primitive values are accepted.
The reverse direction requires a top-level JSON array and writes one element per line. Only whitespace outside strings is compacted; numbers are not reserialized, preserving large integers, decimals and exponent notation.