Converts newline-delimited JSON (NDJSON) into a JSON array.
JSONL → JSON converts newline-delimited JSON (also called NDJSON or JSON Lines) into a single JSON array. Paste your JSONL where each line is one JSON value, and the tool parses every line and returns a pretty-printed array. It's handy when a log file, export, or streaming API gives you one JSON object per line but you need a normal JSON array to load into another tool or paste into code.
No. The conversion runs entirely in your browser using local JavaScript, and nothing you paste is uploaded or stored on any server.
It expects newline-delimited JSON (NDJSON / JSON Lines), where each non-empty line is a single valid JSON value such as an object, array, number, string, or boolean. Lines are trimmed and blank lines are ignored.
The tool stops and reports an error naming the specific line number, for example "Invalid JSON on line 3.", so you can find and fix the malformed record.
Each line becomes one element of a JSON array, and the result is pretty-printed with 2-space indentation.
No. Each line must be strict JSON parseable by the standard JSON parser, so comments, trailing commas, and unquoted keys are not allowed.