Tools

NDJSON to CSV

Convert NDJSON / JSON Lines to CSV in your browser. One object per line becomes a row. Nothing is uploaded.

Paste, then convert.

How to use the NDJSON to CSV

  1. Paste JSON Lines (one object per line) or a JSON array.
  2. Click Convert to CSV. Nested fields become dotted columns.
  3. Download data.csv for a sheet or warehouse load.

JSON Lines

Logs and exports often ship one JSON object per line, not a wrapping array. If the paste is not a single JSON value, each non-empty line is parsed on its own. Nested objects flatten the same way as JSON to CSV.

Nothing is uploaded

Local flatten. 1.5 MB, 10,000 rows, 200 columns, UTF-8 BOM on download.

NDJSON to CSV FAQ

Can I paste a JSON array?

Yes. A single array still converts. This page is named for the line-oriented case.

Broken line?

The first line that is not JSON stops the convert with that parse error.

TSV?

Convert with JSON to TSV if you want tabs.

Related tools