JSONL Viewer
Open large .jsonl and .ndjson files, find broken lines with exact errors, search records and download only the valid lines. 100% in your browser.
How to check a JSON Lines file
- Open or drag & drop a
.jsonlor.ndjsonfile, or paste the text. - Every line is checked on its own. The counters show how many lines are valid and how many are broken.
- Click Invalid to list only the broken lines. Click a line to see the exact column and a plain-English error.
- Search and filter, then click Download matching valid records to save a clean file with only the good lines.
What counts as a valid line?
- Any JSON value on one line: an object, an array, a string, a number,
true,falseornull. - Unix (
\n) and Windows (\r\n) line endings both work. A newline at the end of the file does not add an empty record. - A blank line between records is reported as invalid, because JSON Lines does not allow it.
- One broken line never stops the rest of the file from loading.
Big numbers stay exact
IDs like 9007199254740993 are bigger than JavaScript can store exactly. Many tools quietly round them. This viewer formats and exports the original text of each line, so your IDs come out exactly as they went in.
Large log files, 100% private
Files are read in pieces and checked in a background thread, with a progress bar and a Cancel button. Only the lines you can see are drawn, so long files scroll smoothly. Nothing is uploaded: your data never leaves your browser. New to the format? Read the JSON Lines (NDJSON) guide.
Guides
- How to Find Broken Lines in a JSONL / NDJSON File (and Keep the Valid Ones)
- JSON Lines (NDJSON) Explained: Read, Write and Convert
More free tools
JSON ViewerTree view, search, copy path. Handles huge files.JSON FormatterBeautify or minify JSON in one click.JSON ValidatorClear errors with exact line and column.JSON RepairFix broken JSON in one click.JSON to CSVFlatten nested JSON into a spreadsheet.JSON ⇄ YAMLConvert between JSON and YAML.JSON DiffSee what changed between two JSON files.JSONPath TesterQuery JSON with JSONPath expressions.