How to use JSON to NDJSON
- Paste your JSON array (or single JSON value) in the input area.
- Click Convert to generate newline-delimited JSON (one JSON object per line).
- 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.
Embed this tool
Add JSON to NDJSON to your own site, blog post, or internal docs — free, no signup. The widget runs entirely in your visitors' browsers, same as it does here.
Related tools
- JSON FormatterFormat and beautify JSON with indentation
- JSON ValidatorValidate JSON syntax and show error location
- JSON MinifierRemove whitespace and compress JSON
- JSON DiffCompare two JSON objects and highlight differences
- JSON ViewerInteractive tree and graph visualization of JSON structure
- JSON to CSVConvert JSON array or object to CSV