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.
Convert to
Converted on this device, never uploaded
What changes
| JSON Lines to JSON | What happens |
|---|---|
| Shape | A JSON array, one item per line |
| Blank lines | Skipped |
| Large numbers | Kept digit for digit in Chrome and Edge |
| Also | CSV, Excel, YAML, TSV and XML from the same file |
| Extensions | .jsonl and .ndjson |
How to convert JSON Lines to JSON
- Add your JSON Lines. Drop the file in the box, or click to choose it. It becomes JSON straight away.
- Check the result. Look at the preview. The delimiter and value types are set for you; change them if needed.
- 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.