JSON Validator
Check whether JSON is valid and see exactly where and why it fails, with fix suggestions.
Open toolValidate JSON Lines / NDJSON line by line, check keys across records, and convert valid records to CSV.
JSON Lines (also called NDJSON) stores one JSON value per line — the usual format for logs, data exports and machine-learning datasets. Paste or drop a file to check every line: invalid lines are reported with their line and column, along with blank lines, records split across several lines, mixed top-level types, a byte-order mark, Windows line endings and a missing final newline. A key table shows how often each key appears and which types it holds, so inconsistent records stand out. Valid records can be downloaded on their own.
Convert to CSV (also at /tools/json-lines-validator?mode=csv) flattens nested objects into dot-path columns, joins or expands arrays, skips invalid lines and protects against spreadsheet formula injection, with an Excel-ready download. Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
JSON Lines (.jsonl), NDJSON (.ndjson), CSV output
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Paste JSON Lines or drop a .jsonl / .ndjson file.
Fix the lines listed as errors.
Switch to Convert to CSV to download a spreadsheet.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Fix the lines listed as errors.
Switch to Convert to CSV to download a spreadsheet.
Check whether JSON is valid and see exactly where and why it fails, with fix suggestions.
Open toolConvert JSON arrays to CSV, flattening nested objects into columns, ready for Excel.
Open toolOpen large CSV and TSV files as a sortable, searchable table without Excel.
Open toolInfer a starter JSON Schema (draft 2020-12) from sample JSON, with types, nested objects, arrays, required keys and formats.
Open tool