Guide · Data Tools / Data & Spreadsheet
About JSON Array ⇄ NDJSON / JSONL Converter
Convert standard JSON arrays into newline-delimited JSON (NDJSON / JSONL) or merge multi-line JSONL logs back into a single JSON array.
When to use this tool
Useful when preparing batch datasets for OpenAI fine-tuning, BigQuery, Elasticsearch bulk APIs, or streaming log parsers.
How to use JSON Array ⇄ NDJSON / JSONL Converter
- Paste either a JSON array [...] or line-delimited JSON objects.
- Choose Direction (JSON Array -> NDJSON/JSONL or NDJSON/JSONL -> JSON Array).
- Copy or download the converted payload.
Supported inputs, options, and outputs
- Inputs: JSON array or NDJSON text and direction selector.
- Outputs: Converted NDJSON lines or formatted JSON array plus record count.
Accuracy notes and limitations
- Every non-empty line in NDJSON -> JSON Array mode must contain one complete valid JSON value.
- JSON Array -> NDJSON requires the root input value to be an array.
Privacy and browser processing
CSV, JSON, YAML, XML, and tabular datasets are parsed and transformed inside browser memory—no rows, schemas, or archive files leave your device. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Data Tools.