NDJSON to CSV
Turn newline-delimited JSON into CSV with automatic headers from object keys, nested flattening options, and delimiter control.
Convert NDJSON to spreadsheet-ready CSV
Each line of NDJSON is parsed as a JSON object. Column headers are the union of all keys across rows, with optional flattening for nested objects. Arrays can stay as JSON inside a single cell or expand into indexed columns—useful when preparing log extracts for Excel, Google Sheets, or BI tools.
Steps
- Paste or upload a
.jsonl/.ndjsonfile. - Pick a delimiter (comma, tab, semicolon, or pipe).
- Choose how nested arrays should appear in CSV cells.
- Copy or download the CSV output.
See also CSV to NDJSON, JSON Lines to JSON, and JSON to CSV Converter.
Frequently Asked Questions
Must every line be an object?
Yes. Scalar or array-only lines are rejected with a line-numbered error.
How are missing keys handled?
Empty cells are emitted when a row lacks a column present in other rows.
Does this run on the server?
No. Conversion is performed locally in your browser.