JSON to JSON Lines Converter
Turn a JSON array into JSON Lines (NDJSON), one record per line, for log pipelines and bulk imports.
Processed on your device. Files are not uploaded
How to convert JSON to JSON Lines
Paste your JSON array
Paste or type it into the box, or press Try an example.
Check the result
Each item of the array becomes one line.
Copy or download
Save it as .jsonl for log pipelines or data loads that read a record per line.
Worked example
This is what JSON to JSON Lines Converter gives for its own sample values. Open the tool above and change anything to try your own.
JSON array
[
{ "id": 1, "name": "Ada Lovelace", "email": "ada@example.com", "active": true, "score": 9.5 },
{ "id": 2, "name": "Linus Torvalds", "email": "linus@example.com", "active": false, "score": 7 },
{ "id": 3, "name": "Grace Hopper", "email": "grace@example.com", "active": true, "score": 10 }
]JSON Lines
{"id":1,"name":"Ada Lovelace","email":"ada@example.com","active":true,"score":9.5}
{"id":2,"name":"Linus Torvalds","email":"linus@example.com","active":false,"score":7}
{"id":3,"name":"Grace Hopper","email":"grace@example.com","active":true,"score":10}About JSON to JSON Lines Converter
Turn a JSON array into JSON Lines (also called NDJSON), where every record sits on its own line. The format suits log pipelines, BigQuery and OpenAI fine-tuning files.
FAQs
What is JSON Lines?
A text format with one complete JSON value per line, easy to stream and append to.
What if my JSON is a single object?
It becomes one line.
Can I convert back?
Use JSON Lines to JSON Converter.