JSONL Viewer: Inspect JSON Lines Records

Inspect JSON Lines (JSONL) and NDJSON in this browser. Each line is parsed on its own, so one broken record does not fail the file. Object keys are unioned into a table; arrays and primitives stay inspectable. Files are read with FileReader. Nothing is uploaded or stored.

Load file

Drop a .jsonl, .ndjson, .json, or .txt file here. Client-only FileReader. Caps: 1.5 MB and 8,000 lines.

View options
Paste JSON Lines and press Parse. Results stay in this browser.

JSON Lines notes

JSON Lines, JSONL, and NDJSON are the same idea: UTF-8 text, one complete JSON value per line, newline separated. jsonlines.org forbids a UTF-8 BOM and treats a blank line as invalid; a terminator after the last value is recommended. This viewer strips a leading BOM, accepts CRLF, and can skip blanks so a trailing newline does not look like an error. Pretty-printed JSON that spans lines is not JSONL. Caps keep the tab responsive: 1.5 MB input, 8,000 lines, 32,768 characters per line, 40 table rows per page. Larger logs belong in jq, Miller, or DuckDB.