Developer

JSON Lines / NDJSON Converter

Convert newline-delimited JSON to an array, or split a JSON array into JSON Lines.

Pasted data only; 2 million characters and at most 20,000 lines or array records per batch.

Developer

JSON Lines / NDJSON Converter

Local only
Everything stays in your browser

Your text is processed on your device — nothing is uploaded to a server.

How it works

Each non-empty JSON Lines line must contain one complete value. Blank lines are skipped. Example: {"id":1} and {"id":2} on separate lines become [{"id":1},{"id":2}]. Numbers are preserved without rounding. Download uses .txt; rename to .jsonl or .json for your chosen direction. Pasted data only; 2 million characters and at most 20,000 lines or array records per batch.

Good to know

Frequently asked questions

How do I use it?

Enter your json records, adjust the options and press “Convert records”. Check the result, then copy or download it.

How does it work?

Each non-empty JSON Lines line must contain one complete value. Blank lines are skipped. Example: {"id":1} and {"id":2} on separate lines become [{"id":1},{"id":2}]. Numbers are preserved without rounding. Download uses .txt; rename to .jsonl or .json for your chosen direction.

Are there limitations?

Pasted data only; 2 million characters and at most 20,000 lines or array records per batch.

Is my data uploaded?

No. Everything is processed in your browser and nothing is sent to a server. No account is needed.