JSON to NDJSON Converter
Convert a JSON array to NDJSON (JSON Lines), with one valid JSON value on each line. Copy or save the result in your browser.
What this tool actually does
A JSON array becomes one independently parseable JSON value per line, without enclosing brackets or commas between records.
NDJSON (also called JSON Lines in many workflows) stores a complete JSON value on each line. Unlike a JSON array, the file has no outer brackets and no commas between its records. The converted file is suitable for line-oriented importers; this browser converter itself is not a streaming parser.
Example input and output
Input:
[{"id":1,"name":"A"},{"id":2,"name":"B"}]Output:
{"id":1,"name":"A"}
{"id":2,"name":"B"}How to use this tool
- 1
Paste a valid JSON array or open a local .json file (up to 10 MB).
- 2
Select Run tool to serialize each array element as one NDJSON line.
- 3
Check the output; select Copy output or Save text to download the .ndjson file.
Privacy and processing
This operation runs in your browser rather than uploading the selected file or pasted text to a freedropper conversion server.
Common questions
What input does this tool accept?
Paste valid JSON content into the input field, or open a local text file.
What will the result contain?
A .ndjson download containing one JSON value per line, with no surrounding array brackets or commas.
What should I check before using the result?
Input must be a valid JSON array. Each line in the output is an independently valid JSON value. The file reader has a 10 MB limit, and the tool parses the entire array in memory rather than streaming.
Do data types and nested objects survive?
It depends on the destination format. JSON and NDJSON can represent nested values; CSV, TSV and Markdown tables are row-and-column representations that may require flattening or stringifying them.
Can I use the result in another application?
Check the destination importer’s delimiter, header, quoting and field-type rules. Valid text may still fail a particular application’s schema.
What if the input is invalid?
Correct parsing errors or unexpected row structure in the original. The tool converts supported data; it does not infer a missing schema or silently repair arbitrary malformed records.