JSONL Viewer & NDJSON Validator
Inspect newline-delimited JSON one record at a time. Find the bad line, preview valid records, export a JSON array, or share a small scrubbed example.
Input stays in this browser.
| Line | Status | Preview |
|---|
JSONL, NDJSON, and JSON Lines are one-record-per-line formats
A JSON Lines file contains one complete JSON value on each non-empty line. That makes it useful for logs, streaming exports, and datasets because a reader can process one record at a time. A normal JSON array is different: it has one enclosing [ and ] around every record.
Find the line that breaks a pipeline
The viewer validates each line independently, so a malformed record does not hide the valid ones. Filter the bounded preview, select a record to see formatted JSON, and download valid records as an array only after deciding how to handle any errors. Read the JSONL and NDJSON troubleshooting guide for ingestion and conversion examples.
Share synthetic data only
A share link carries the JSONL input and filter state, which is useful for a minimal reproducible example. It is not a secret store. Redact user records, access tokens, internal hostnames, and log context before sharing a link with anyone else.
JSONL viewer questions
What is JSONL or NDJSON?
JSON Lines and newline-delimited JSON store one complete JSON value on each line. It is common for logs, exports, streaming APIs, and model datasets.
Does one bad line invalidate the whole file?
No. The viewer reports valid and invalid lines separately so you can inspect the first parse error while still previewing valid records.
Can I convert JSONL to a JSON array?
Yes. Export the valid parsed records as a JSON array after reviewing invalid lines.
Can I share a JSONL example?
Yes, for a small synthetic sample. Anyone with the link can read its included input, so never share production logs, tokens, or customer data.