HomeDeveloper toolsJSON Lines Converter

JSON Lines Converter

Convert a JSON array to JSON Lines or parse one JSON value per line.

Processing stays in your browser. Blank lines are skipped. Invalid lines show their line number; every nonblank line must contain complete JSON.

How to use the json lines converter

Convert a JSON array to JSON Lines or parse one JSON value per line. Complete the source document, conversion fields above, or upload a UTF-8 text file for the first field. Choose Run tool, review the output, then copy or download the result.

Example

An array with two objects becomes two separate JSON lines.

Good to know

Blank lines are skipped. Invalid lines show their line number; every nonblank line must contain complete JSON.