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
Each NDJSON line becomes a CSV record. Nested values are flattened with dot notation.
| name | role | location |
|---|---|---|
| Ada Lovelace | Mathematician | London |
| Grace Hopper | Computer Scientist | New York |
| Alan Turing | Researcher, Cryptanalyst | Bletchley Park |
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.
Paste one JSON object per line and the tool will flatten each record into CSV columns.
Paste a CSV table and the tool will emit one JSON object per row, restoring simple values when possible.
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.
Related Tools
Convert between CSV tables and JSON arrays.
Convert between .env files and JSON objects.
Convert between INI files and JSON objects.
Convert between JPG images and WebP files.
Convert between PNG images and WebP files.
Convert between JPG images and PNG files.