Tool
JSON to JSONL
Convert between JSON arrays and newline-delimited JSON (JSON Lines / NDJSON)
How to use
- Paste JSON to convert to JSONL, or paste JSONL to convert back to a JSON array — direction is auto-detected.
- Invalid JSONL lines are reported with their line numbers instead of failing silently.
- Copy the result or download it as a file.
About this tool
JSONL has become the lingua franca of ML datasets and structured logs, yet most editors handle it poorly. This converter flips between the two encodings while validating every line, so a single bad record is pinpointed by line number instead of poisoning a whole pipeline import.