Skip to main content
Turns a list of items into NDJSON, also called JSON Lines: one JSON object per line, separated by line breaks. Unlike a single JSON array, this format lets a receiving system read and process one record at a time without loading the whole file, which is why it is popular for streaming data and large exports. This formatter has no settings; give it a list and it writes each item as its own line.

Sample data

Input:
[
    { "sku": "A1", "name": "Wool scarf" },
    { "sku": "B2", "name": "Leather belt" }
]
Output (a single text value; \n marks the line break between records):
"{\"sku\":\"A1\",\"name\":\"Wool scarf\"}\n{\"sku\":\"B2\",\"name\":\"Leather belt\"}"
Written out, the two lines read:
{"sku":"A1","name":"Wool scarf"}
{"sku":"B2","name":"Leather belt"}