A JSON Lines or NDJSON file turned into a regular JSON array.
Reverse: JSON to JSONLDrop your file here
or choose one from your computer
up to 50 MB
Files never leave your device — everything runs in your browser
JSON Lines stores one JSON record per line. Datasets for machine learning, OpenAI fine-tuning files, BigQuery exports, logs and streaming APIs all use it, because it can be written and read line by line. Many tools, however, expect a normal JSON array. The converter reads every line, collects the records into one array and formats it.
Blank lines are skipped. If a line is broken, the error names its line number in the file and its column and shows the surrounding lines, so you can fix it in the source. Large integers such as IDs are kept digit for digit.
Files with the .jsonl, .ndjson or .jsonlines extension, or plain text, are accepted. After converting, you can view the records as a table or send them on to Excel, CSV or PDF.
Nothing is uploaded: everything runs inside your browser, so API responses, configs, contact lists and datasets stay on your device.
A .jsonl or .ndjson file, pasted lines or the Sample dataset.
The array preview shows the records; broken lines are reported with their number.
Or continue to Excel, CSV or PDF.