[Go to site: main page, start]

FREE BROWSER-LOCAL FILE TOOLS

Inspect newline-delimited JSON.

Open, edit and validate NDJSON locally. Search records, inspect object rows as a table, and download one normalized JSON value per line.

Step 1: open your file

Start with NDJSON: one complete JSON value per non-empty line. Contents stay in this browser.

  1. Search and inspect records, edit their source, and review validation feedback.
  2. Download normalized NDJSON records.
Paste NDJSON

File contents stay in this browser. Download changes before refreshing or closing the tab.

Inspect nested structure

Searchable tree and raw editor views make nested objects, arrays, keys, values, and record boundaries easier to inspect.

Edit, format and validate

Every non-empty line must contain exactly one complete JSON value. Syntax problems are reported without sending the document to a server.

Choose the matching format

Use JSON for one complete value, JSONL or NDJSON for one JSON value per line.

Inspect JSONL with Python or SQL

Preview records in a local script or query. The examples use input.jsonl; use your .ndjson filename for NDJSON.

Inspect the first ten records with Python

Shows record types, field names and values without loading the whole file. Only those first ten records are validated.

View code and setup

Before you start

  • Install Python 3. Save the script beside your UTF-8 input file and run it with python3 script.py. No extra package is required.
Python script
import json
from itertools import islice

with open("input.jsonl", encoding="utf-8") as source:
    for number, line in enumerate(islice(source, 10), start=1):
        record = json.loads(line)
        print("Record", number, "type:", type(record).__name__)
        if isinstance(record, dict):
            print("Fields:", list(record))
        print(json.dumps(record, ensure_ascii=False))

Limits and output

  • These examples parse the document into memory. Python integers are exact. Unless a script explicitly uses Decimal, decimals use binary floating point; reserialization can change numeric spelling or precision. Duplicate object keys keep their last value unless explicitly rejected.
  • A single long line still needs memory. Blank lines are invalid in this example.

Documentation: Python JSON documentation

Inspect JSONL records with DuckDB

For similarly shaped object records, inspect inferred column types and preview ten rows.

View code and setup

Before you start

  • Install the DuckDB CLI. Put input.jsonl in the current directory.
Terminal commands
duckdb -c "DESCRIBE SELECT * FROM read_json('input.jsonl', format='newline_delimited');"
duckdb -c "SELECT * FROM read_json('input.jsonl', format='newline_delimited') LIMIT 10;"

Limits and output

  • Type inference can scan more data than the preview. This is a tabular view, not an exact source-text editor.

Documentation: DuckDB JSON loading; Install DuckDB

Inspect JSON records with ClickHouse local

Discover columns and show ten object records using local files. No ClickHouse server or remote upload is needed.

View code and setup

Before you start

  • Install the ClickHouse binary using its official guide. Run from the directory containing input.jsonl.
Terminal commands
clickhouse local -q "DESCRIBE TABLE file('input.jsonl', JSONEachRow)"
clickhouse local -q "SELECT * FROM file('input.jsonl', JSONEachRow) LIMIT 10 FORMAT PrettyCompact"

Limits and output

  • JSONEachRow expects objects, not arbitrary scalar records. Inferred types, missing values and limits follow ClickHouse settings. Schema inference may read beyond ten records.

Documentation: ClickHouse JSONEachRow; Install ClickHouse

Frequently asked questions

How do I view an NDJSON file?

Choose or drop a .ndjson or .jsonl file, or paste newline-delimited JSON. Search and inspect records, review their source and use Table when the records are objects.

What does an NDJSON download contain?

The download contains normalized records with one complete JSON value per record line. Review validation feedback and save a download before closing the tab.

Does my JSON file get uploaded?

Local editing processes selected and pasted contents in your browser. Optional Assistance sends your goal and only the context you explicitly prepare and include, such as a selected subtree or observed query field metadata, to OpenRouter and the configured model provider. Its preview shows exactly what is included. Ordinary page and asset requests also reach the hosting provider.