Validate JSON Lines input line by line with error details.
The JSONL Validator checks JSON Lines text, where every line is its own JSON value, and reports exactly which lines fail to parse. It is useful for anyone preparing log exports, dataset files or batch-import files. Paste text or load a .jsonl, .ndjson or .txt file and see a total plus per-line error messages.
JSON Lines (also called JSONL or NDJSON) is a convention for storing many records in one file: each line holds one complete JSON value, usually an object, and lines are separated by a newline. Unlike a normal JSON array, there is no outer bracket and no commas between records, so files can be appended to, streamed and processed line by line without loading everything into memory. This makes it popular for logs, machine learning datasets and bulk data imports. The trade-off is that one malformed line can break an import, so validating every line before upload saves time.
A JSON array is one document with brackets and commas. JSONL has one value per line and no outer structure, which allows streaming and appending. This tool validates the line-based form only.
The validator ignores lines that are empty or contain only whitespace and does not count them, so trailing newlines will not cause errors.
They are the messages produced by the browser's JSON parser for that line, so wording can differ slightly between browsers.
No. It only checks that every line is syntactically valid JSON, not that fields or types match any schema.
The file button accepts .jsonl, .ndjson and .txt files. You can also paste text directly.