✳tools.stBrowse tools
◈ Processed on your device
▤

NDJSON and JSON array converter

Convert newline-delimited JSON to an array and back.

Free

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.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

Input: {"a":1}
{"a":2}
Direction: to-array

Example 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.

Related tools