How to use JSON to NDJSON

  1. Paste your JSON array (or single JSON value) in the input area.
  2. Click Convert to generate newline-delimited JSON (one JSON object per line).
  3. Copy or download the NDJSON output.

Example

Input

[{"id":1,"name":"Alice"},{"id":2,"name":"Bob"}]

Output

{"id":1,"name":"Alice"}
{"id":2,"name":"Bob"}

Frequently asked questions

What is NDJSON?
NDJSON (newline-delimited JSON) is a format where each line is a separate JSON value, commonly used for logs and streaming APIs.
Does input have to be an array?
An array works best, but a single JSON value is also accepted and becomes one line.