NDJSON <-> CSV Converter

Convert newline-delimited JSON records into CSV rows, or turn a CSV table back into line-by-line JSON.

Last updated: June 2026 | By Patchworkr Team

Result
3
CSV Columns
3

Each NDJSON line becomes a CSV record. Nested values are flattened with dot notation.

Preview

namerolelocation
Ada LovelaceMathematicianLondon
Grace HopperComputer ScientistNew York
Alan TuringResearcher, CryptanalystBletchley Park

What does NDJSON to CSV do?

NDJSON stores one JSON object per line, which is easy to stream and append. CSV stores rows in a simple table, which is easier to open in spreadsheets.

How to use it

NDJSON to CSV

Paste one JSON object per line and the tool will flatten each record into CSV columns.

CSV to NDJSON

Paste a CSV table and the tool will emit one JSON object per row, restoring simple values when possible.

Helpful notes

NDJSON rows must be valid JSON objects, one per line. Blank lines are ignored.

CSV parsing supports quoted values, embedded commas, and multiline cells.

Nested JSON values are flattened into dot-path columns when exporting to CSV.

Format Foundry

Related Tools