JSON ↔ CSV

Convert safely quoted CSV and JSON records in either direction.

Scope: JSON input is limited to flat objects, and numbers that cannot be preserved are rejected.

Workbench

Inputs stay on this page.

JSON input must be an array of flat objects. Nested values and numeric literals that cannot be preserved are rejected; CSV values become strings when converted to JSON. CSV output preserves formula-leading cells, so review untrusted data before opening it in spreadsheet software.

How to use JSON ↔ CSV

  1. Choose “JSON to CSV” or “CSV to JSON”.

  2. Paste a JSON array of flat objects, or CSV with a header row.

  3. Press “Convert to CSV” or “Convert to JSON”, then copy or download the file.

About this tool

Convert a JSON array of records to CSV for Excel or Google Sheets, or turn a CSV export into JSON for code and APIs. Values with commas, quotes or line breaks are quoted correctly.

Questions

Can it convert nested JSON?
No. Each record must be a flat object of simple values. Flatten nested objects first, for example with the JSON Pointer Flattener.