JSONL to CSV Converter

Convert JSON Lines (.jsonl or .ndjson) to CSV in your browser. Paste records or open a file, preview the result, and copy or download it.

CSV output

Your CSV will appear here after conversion.

Convert JSON Lines to CSV

Paste JSON Lines (JSONL or NDJSON), or open a UTF-8 file from your device. Put one JSON object on each line. Choose a separator, select Convert to CSV, then copy or download the result for Excel, Google Sheets, or another data tool. Conversion runs in your browser.

How records become rows

Each object becomes one row. Keys from all records become column headers in the order they first appear, so fields introduced on later lines get their own columns. Missing fields and JSON null values produce empty cells. Blank lines are skipped. Nested objects and arrays stay as JSON inside a cell so they can be read back as structured values.

For example, a first record with the fields id and status and a second with id and tags make three columns: id, status, and tags. The first row has an empty tags cell. The second has an empty status cell and can keep ["beta","mobile"] together in its tags cell.

Open the CSV in a spreadsheet

Use a comma for standard CSV, a semicolon if your import settings expect it, or a tab for tab-separated values. Keep formula escaping enabled when opening untrusted records in a spreadsheet. It adds a leading apostrophe to text cells and headers that could be interpreted as formulas. Turn it off when the receiving system expects the original text.