JSONL ↔ JSON Converter

Convert JSON Lines to a JSON array and back again.

Works Offline
Privacy First
No Login
No API

JSONL input

Drop a file here

Drop a .jsonl or .json file

JSON output

Records
2
Output size
84 B

About the JSONL ↔ JSON Converter

Turn a JSONL / NDJSON file into a proper JSON array for tools that expect one, or flatten a JSON array (optionally nested under a key) back into streaming JSON Lines for fine-tuning, BigQuery or log pipelines.

Examples

JSONL to array

{"id":1}
{"id":2}

Output

[
  { "id": 1 },
  { "id": 2 }
]

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-14 · Runs entirely in your browser