JSON to CSV Converter

Free online JSON to CSV converter. Turn a JSON array of objects into clean, Excel-ready CSV instantly in your browser, with a live table preview.

✓ Free ⚡ Instant 🔒 100% private
Input JSON 0 lines · 0 chars
Result

          
        

🔒 Your JSON is converted entirely in your browser — nothing is uploaded to any server. Tip: press Ctrl+Enter to convert.

Advertisement

Free JSON to CSV Converter

This free online JSON to CSV converter turns a JSON array of objects into a clean, spreadsheet-ready CSV file in one click. Paste your JSON, pick a delimiter, and instantly get CSV you can open in Excel, Google Sheets or any database import tool — with a live table preview so you can check the result before you download. It’s fast, free and 100% private: everything runs in your browser, so your data is never uploaded anywhere.

How to convert JSON to CSV

  1. Paste your JSON into the left box (or click Load sample to see an example).
  2. Click Convert to CSV. The CSV appears on the right with a row/column summary.
  3. Switch to the Table view to preview your data as a grid, exactly as a spreadsheet would show it.
  4. Pick a delimiter (comma, semicolon, tab or pipe), and toggle Flatten nested or the Header row to suit your needs.
  5. Click Copy or Download to save the .csv file (UTF-8 with a BOM, so Excel reads non-English characters correctly).

What is CSV, and why convert from JSON?

CSV (Comma-Separated Values) is the simplest, most universal table format: one row per line, columns separated by a delimiter. Almost every spreadsheet, database and analytics tool can import CSV, but most APIs and apps return data as JSON. Converting JSON to CSV lets you open API responses in Excel, build pivot tables, bulk-import records into a database, or share data with people who don’t work with JSON.

The tricky part is that JSON can be deeply nested while CSV is flat. This converter handles that for you: with Flatten nested on, a field like address.city becomes its own column using dot notation, while arrays are kept as compact JSON inside a single cell. Values containing commas, quotes or line breaks are automatically escaped to valid RFC 4180 CSV, so your file never breaks when reopened.

Frequently asked questions

Is this JSON to CSV converter free and private?
Yes. It’s completely free with no sign-up, and the entire conversion happens locally in your browser using JavaScript. Your JSON and the resulting CSV never leave your device or get sent to a server.
How are nested objects and arrays handled?
With Flatten nested enabled, nested objects are expanded into separate columns using dot notation (for example user.address.city). Arrays are written as compact JSON text inside a single cell so a row never spills into extra columns. Turn flattening off to keep whole nested objects as JSON in one column instead.
My objects have different keys — will that work?
Yes. The converter scans every object and builds the full set of columns from all of them. If a particular row is missing a field, that cell is simply left empty, so mismatched or partial records still convert cleanly.
Which delimiter should I choose?
Use a comma for standard CSV. Choose semicolon if you open the file in Excel on a system that uses a comma as the decimal separator (common in Europe), or tab for TSV files. Any value containing the delimiter is automatically quoted, so the file stays valid either way.
Will the CSV open correctly in Excel?
Yes. The downloaded file is UTF-8 and includes a byte-order mark (BOM), which tells Excel to display accented and non-English characters correctly. Just double-click the downloaded .csv file to open it.
Advertisement