Skip to content
Developer & CodeLocal · Stays on device

JSON Lines Validator

Validate JSON Lines / NDJSON line by line, check keys across records, and convert valid records to CSV.

  • JSON Lines (.jsonl), NDJSON (.ndjson), CSV output
  • Free to use
  • No sign-up or watermark
json-lines-validatorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
JSON Lines (.jsonl)NDJSON (.ndjson)CSV output
Open JSON Lines Validator

About this tool

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.

  1. Input

    Your code or text

    JSON Lines (.jsonl), NDJSON (.ndjson), CSV output

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Paste JSON Lines or drop a .jsonl / .ndjson file.

  2. 2

    Fix the lines listed as errors.

  3. 3

    Switch to Convert to CSV to download a spreadsheet.

Zero-upload architecture

How to use JSON Lines Validator for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open JSON Lines Validator

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Fix the lines listed as errors.

  3. 3

    Get your result

    Switch to Convert to CSV to download a spreadsheet.

  • Local

    JSON Validator

    Check whether JSON is valid and see exactly where and why it fails, with fix suggestions.

    Open tool
  • Local

    JSON to CSV

    Convert JSON arrays to CSV, flattening nested objects into columns, ready for Excel.

    Open tool
  • Local

    CSV Viewer

    Open large CSV and TSV files as a sortable, searchable table without Excel.

    Open tool
  • Local

    JSON Schema Generator

    Infer a starter JSON Schema (draft 2020-12) from sample JSON, with types, nested objects, arrays, required keys and formats.

    Open tool