Guides

Convert a JSON record array into line-based records

Follow these steps using a local file and keep the original.

Convert a JSON record array into line-based records
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: records-10.json. Make a copy before following any rename, truncation or byte-edit instruction.

Choose a ten-record JSON array.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Download the NDJSON output and inspect that each record occupies a single line, including escaped quotes.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

The downloaded output was checked against the expected properties below.

Example output
records-10.ndjson
Observed size
631 bytes
SHA-256
4abb1e7678ae2ed75b58c59b89eebbb251bd1af43ee98cd6730b8e8b97c1eddf

This digest describes the tested output; other encoders or versions may produce different bytes. Verify the expected properties, not only the digest.

Limitations and what to verify

The result is convenient for streaming imports but does not have the array brackets of standard multi-record JSON.

Open related toolDownload sample