NDJSON ↔ JSON Array

Convert bounded JSON Lines and JSON arrays in either direction.

Scope: Blank NDJSON lines are ignored; every retained line must contain one complete JSON value.

Workbench

Inputs stay on this page.

How to use NDJSON ↔ JSON Array

  1. Fill in the fields:

    • Direction: NDJSON to JSON array, JSON array to NDJSON.
    • NDJSON or JSON array.
  2. Press “Convert data”.

  3. Copy the result, or download it as converted-json.txt.