Don's Tools · Developers · JSONL Viewer & Validator

JSONL viewer & validator

Open or paste a JSONL file to pretty-print every record and validate it line by line. See valid and invalid counts, the exact error lines and the keys in your data, all in your browser.

Drop a .jsonl file here
JSONL Viewer & Validator opens and checks JSONL dataset files in your browser, the format used for fine-tuning and evaluation. It reads each line as its own JSON value, reports how many are valid or invalid with the exact line numbers and error messages, and shows which top-level keys appear across your records so you can spot missing fields. Each record is pretty-printed in an expandable list. Open a file or paste the text, and nothing is ever uploaded.

Frequently asked questions

Is my file or data uploaded?

No. The file is read and validated entirely in your browser. Nothing you paste or open is sent anywhere or stored.

What does it check?

It reads each line as a separate JSON value, counts how many are valid, and lists the exact line numbers and error messages for any that are not, which is the usual cause of a fine-tuning or eval upload failing.

What are the top-level keys for?

For the valid records it shows which top-level keys appear and how often, so you can quickly spot records missing an expected field, such as a missing role or content key.

Can it handle large files?

It validates every line and shows the full counts, and to stay fast it displays the first 300 records in the expandable list while still reporting totals and all errors.

Why is one line flagged but it looks fine?

JSONL needs each line to be a complete JSON value on its own. A trailing comma, a missing brace or quote, or a record split across two lines will fail, and the error message points to what went wrong.