Data converter

JSON Lines to JSON converter

To convert JSON Lines to JSON, drop your JSON Lines file in the box below. It converts straight away; press Download to save the JSON. It all happens in your browser, so your file stays on your device.

Converted on this device, never uploaded

What changes

JSON Lines to JSONWhat happens
ShapeA JSON array, one item per line
Blank linesSkipped
Large numbersKept digit for digit in Chrome and Edge
AlsoCSV, Excel, YAML, TSV and XML from the same file
Extensions.jsonl and .ndjson

How to convert JSON Lines to JSON

  1. Add your JSON Lines. Drop the file in the box, or click to choose it. It becomes JSON straight away.
  2. Check the result. Look at the preview. The delimiter and value types are set for you; change them if needed.
  3. Download. Press Download to save the JSON.
Why JSON

Turn JSON Lines (one record a line, as logs, exports and data pipelines write it) into one JSON list any tool can read.

Questions

JSON Lines has one complete JSON value on each line, which makes it easy to append to and stream. A JSON file is a single value, usually a list.

Yes: pick CSV or XLSX instead. Nested fields become dotted columns.

No. The conversion happens right in your browser, so your file stays on your device. There is no account to make, either.

Related conversions