NDJSON File Inspector
Validates every line of a JSON Lines file and finds the keys that drift between records.
Loading the tool…
How to use this tool
- Load or paste the file. One JSON object per line.
- Select Inspect the records.
- Check the invalid lines row first. Those are the records a loader will silently drop.
- Then read the missing key rows to see which fields are not on every record before you write a schema against them.
What ndjson file inspector does
JSON Lines is the format event pipelines actually emit, and its failure mode is different from JSON’s. One malformed line does not invalidate the file, it invalidates one record — so a loader will happily ingest 4.9 million rows and quietly drop the rest, and nobody notices until a count comes up short. The other failure mode is quieter still: a producer adds a field halfway through the day, so half the records have it and the target schema silently fills the rest with nulls.
This page parses each line on its own and reports both. Invalid lines are listed with their line numbers and the parser’s own message. Then every key is counted across the valid records and any key that is not on all of them is listed with how many records carry it, which is what you want before you write a schema or explain a null column. Everything runs in your browser and nothing is uploaded.