Free · No sign-up · Runs in your browser

JSON Lines to JSON Array Converter

Combine newline-delimited JSON records into a standard JSON array for APIs, editors and data imports.

STEP 1

Start with your input

Edit the example or replace it with your own text.

How to use JSON Lines to JSON Array Converter

  1. Paste or edit the json lines / ndjson.
  2. Select convert to json array to process it in your browser.
  3. Review the result, then copy it or download the generated file.

Create JSON Lines to JSON Array output

Parses each non-empty line independently and reports the exact line with invalid JSON. The output is a valid array that can be sent to APIs expecting ordinary JSON.

Review before importing or running

Generated output is a starting point for your workflow. Check target-specific names, permissions, field types and limits before importing data or running commands.

Example input

{"id":1,"name":"Ada"}
{"id":2,"name":"Linus"}

Is my input uploaded?

No. This conversion runs in your browser and does not upload your input.

Is input uploaded?

Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.

Related tools and guides

Browse all developer tools