▤Free
NDJSON and JSON array converter
Convert newline-delimited JSON to an array and back.
Convert newline-delimited JSON to an array and back. Parse one JSON value per nonblank line into an array or write each array member on its own line. Array-to-lines mode emits compact JSON without formatting across multiple lines.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
Input: {"a":1}
{"a":2}
Direction: to-arrayExample result
[
{
"a": 1
},
{
"a": 2
}
]Limitations and details
Each NDJSON record must fit on one physical line; multiline formatted objects must first be converted to compact records.
Inputs and options
- Input
- Text
- Direction
- NDJSON to array / Array to NDJSON
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.