Convert JSONL (JSON Lines / NDJSON) to JSON in your browser. Parse each line into a value and collect them into a pretty-printed JSON array. Copy or download the result without uploading your data.
Each non-empty line is parsed as an independent JSON value. Blank lines are skipped so they do not break the conversion.
The parsed values are gathered into a single JSON array and pretty-printed with indentation for easy reading.
If a line is not valid JSON, the tool reports which line failed so you can fix the source instead of guessing.
Copy the JSON array to your clipboard or download it as a .json file for use in APIs, scripts, or data processing.
Parsing and conversion happen in your browser. The page does not require an account or upload your JSONL to a remote service.
Paste JSONL or NDJSON into the input: one JSON value per line. Blank lines are ignored.
Click Convert to JSON. Each line is parsed and the values are collected into a JSON array.
Copy the JSON array or download it as a .json file. If a line fails to parse, fix it in the source and try again.
Convert one JSON value per line into a single JSON array.
{ "id": 1, "name": "Alice" }
{ "id": 2, "name": "Bob" }Two independent JSON objects, one on each line.
[
{
"id": 1,
"name": "Alice"
},
{
"id": 2,
"name": "Bob"
}
]Each line becomes an element of the resulting JSON array. The output is valid, pretty-printed JSON.
JSON Lines and NDJSON are the same format: one JSON value per line.
JSONL (JSON Lines), also called NDJSON, stores data as one JSON value per line. Each line is independent, which makes the format easy to stream and log. An NDJSON to JSON step collects those lines into a single array; you can parse JSONL line by line or all at once. Converting it to a JSON array makes the data easier to use in APIs and scripts that expect a single document.
If a line is not valid JSON, the tool reports the failing line number. Blank lines are skipped automatically. Fix the reported line and convert again.
Conversion runs entirely in your browser. Your JSONL is not uploaded and no account is required. Do not paste passwords, tokens, or production credentials into any online tool.