NDJSON / JSON Lines Viewer (Table, Sort, CSV)

Turns newline-delimited JSON into a table with one column per key, optional sorting, and CSV or TSV output.

Use the tool

Why this tool exists

Logs and API exports are often one JSON object per line. They are hard to read as raw text and not every line has the same keys.

This page builds the union of all keys as columns, flattens nested objects with dot paths (arrays use index numbers), and sorts by any column, numbers as numbers. A line that is not valid JSON is skipped and reported with its line number. The table is text, so it is not clickable; use the sort option and re-run.

How to use it

  1. Paste the NDJSON lines.
  2. Optionally list the columns to show and a column to sort by.
  3. Choose table, CSV or TSV output.
  4. Read the result or copy it.

Frequently asked questions

How are nested values shown?

As dot paths such as user.name. Array items use numbers, such as tags.0.

What happens to invalid lines?

In table view they are listed below the table. CSV and TSV output stops with an error so nothing is lost silently.

Can I click a header to sort?

No. Type the column name in the sort box instead.

Is the data sent anywhere?

No.