JSON Lines Converter
Convert newline-delimited JSON (NDJSON / JSONL) to a JSON array, or split an array into one JSON value per line.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Convert”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
{"messages":[{"role":"user","content":"Hi"},{"role":"assistant","content":"Hello!"}]}
{"messages":[{"role":"user","content":"2+2?"},{"role":"assistant","content":"4"}]}