Convert a JSON array to NDJSON
Paste a JSON array and convert it to NDJSON, one compact JSON value per line. This is the de-facto format for logs, streaming exports and LLM training and evaluation datasets. The result is saved privately in your account.
No sign-up needed, runs instantly in your browser.
How it works
- 1Paste your JSON array
- 2Press Run
- 3Download the NDJSON or find it in your files
Frequently asked questions
- Why use NDJSON?
- Each line is an independent JSON value, so files can be streamed and appended to without re-parsing the whole document, ideal for logs and datasets.
- What input is expected?
- A top-level JSON array; each element becomes one line. A non-array input returns a clear error.
Related tools
Paste NDJSON (one JSON value per line) and combine it into a single JSON array, handy for logs, exports and LLM datasets. Blank lines are skipped and an invalid line is reported by number. The result is saved privately in your account.
DeveloperPaste JSON to pretty-print, minify or validate it. Choose the indentation, optionally sort keys, and your formatted file is stored privately in your account.
DeveloperPaste a JSON array and turn it into CSV. Arrays of objects become one column per key (the union of all keys); arrays of values become a single column. Choose the delimiter and whether to include a header, saved privately in your account.
DeveloperPaste Base64 to decode it back to readable text. Both standard and URL-safe Base64 are accepted. The result is stored privately in your account.
Developer