Conversion

JSON to NDJSON

Turn a JSON array into newline-delimited JSON, one record per line.

JSON array
Output

Result appears here after you select

{ } How to use

  1. Paste a JSON array.
  2. Select Process.
  3. Each element comes back on its own line.

{ } How it works

JSON to NDJSON works on the text you provide. Select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.

Input

  • JSON array — paste or type your input in the left panel (use Sample for an example)

Output

NDJSON text — copy or download it from the Output panel.

{ } Common uses

  • Prepare data for a bulk-import endpoint that expects one record per line.
  • Make a large export streamable, so a reader does not need the whole file in memory.
  • Produce a file that can be appended to later.

{ } Limitations

  • The input has to be an array, because NDJSON is a list of records. A single object would just be itself on one line.
  • Each record is minified. That is not a setting — a pretty-printed record would span several lines and break every reader of the format.

{ } FAQ

Is my data uploaded to a server?

No. Everything runs locally in your browser — your files never leave your device.

Can I process more than one file at once?

This tool works on one input at a time.

Is this tool free?

Yes — it’s completely free and needs no sign-up.

Why is my output not indented?

Because NDJSON is defined by its newlines: a reader takes one line and parses it. Indenting a record would split it across lines and make the file unreadable to every tool that consumes the format.