Convert Newline-Delimited JSON (NDJSON / JSON Lines) to a JSON array instantly in your browser. Swap to JSON→NDJSON in one click. 100% client-side and free.
The NDJSON to JSON converter reads Newline-Delimited JSON (also called JSON Lines, `.ndjson` or `.jsonl`) — each line is an independent JSON value — and assembles them into a JSON array. Empty lines are skipped. Both editors are live — swap to JSON→NDJSON with one click. The JSON output has an interactive tree view and graph visualization.
QWhat is NDJSON / JSON Lines?
NDJSON (Newline-Delimited JSON) is a format where each line of a text file is a valid, self-contained JSON value. It is used for streaming data, log files, and large dataset exports.
QMust every line be a JSON object?
No — each line can be any valid JSON value: object, array, string, number, or boolean. The converter collects all non-empty lines into a single JSON array.
QIs my data sent to a server?
No. All conversion runs in your browser.