How to view JSON Lines
- Paste the lines, drop a .jsonl or .ndjson file on the box, or press Example.
- Each line becomes one row. Click a column name to sort, or type in Filter rows.
- Switch to Text, Tree or Graph to see the same lines as one JSON list.
Broken lines
Logs and exports often end with a line that was cut off. Lines that are not valid JSON are skipped, and the status line names them, such as Skipped 1 bad line: 5. Fix those lines in the box on the left and the table updates.
Good to know
- Text is read as JSON Lines when it is not valid JSON, has at least two lines that start with
{or[, and at least half of the lines are valid. - Copy and Download give the lines as one JSON list. To turn a list back into JSON Lines, use JSON to JSONL.
- Values keep their original spelling, so large numbers keep every digit. Files up to 5 MB can be opened.
Example
Made-up input, and what JSONL Viewer returns for it. Long text is shortened.
{"ts":"2026-01-31T10:00:00Z","level":"info","user":"demo","msg":"Signed in"}
{"ts":"2026-01-31T10:00:05Z","level":"warn","user":"demo","msg":"Slow response","ms":1830}
{"ts":"2026-01-31T10:01:12Z","level":"error","user":"test","msg":"Export failed","code":"E42"}
{"ts":"2026-01-31T10:02:40Z","level":"info","user":"test","msg":"Signed out"}
{"ts": "2026-01-31T10:03:00Z", "level": "info", "msg": "cut off[
{
"ts": "2026-01-31T10:00:00Z",
"level": "info",
"user": "demo",
"msg": "Signed in"
},
{
"ts": "2026-01-31T10:00:05Z",
"level": "warn",
"user": "demo",
"msg": "Slow response",
"ms": 1830
},
{
"ts": "2026-01-31T10:01:12Z",
"level": "error",
"user": "test",
"msg": "Export failed",
"code": "E42"
},
{
…Questions
What is the difference between JSONL and NDJSON?
None in practice: both mean one JSON value per line.
Is my file uploaded?
No. It is read in your browser.