JSON to CSV Converter

Convert JSON arrays into CSV.

Free online JSON to CSV converter

This JSON to CSV converter turns a JSON array of objects — or a single JSON object — into clean, spreadsheet-ready CSV right in your browser. Paste an API response or an exported record set and it is converted live as you type. Column headers are built from the union of every key across your rows, so objects with slightly different fields still align, and each value is quoted correctly whenever it contains a comma, a quote, or a line break. Nothing you paste ever leaves your device.

How to convert JSON to CSV

  1. Paste or type your JSON into the input box on the left.
  2. Pick your delimiter — comma, semicolon, or tab — from the selector.
  3. Toggle Include header row on or off to suit your target program.
  4. Read the CSV in the output box, updated instantly as you edit.
  5. Click Copy to grab the result, or Clear to start over.

How values are converted

Each object becomes a row and each key becomes a column. Null and empty values produce empty cells, while nested objects and arrays are written back as compact JSON inside their cell. Quoting follows the RFC 4180 standard, so the file opens cleanly in Excel and Google Sheets. Need to go the other way? Use the CSV to JSON converter. To tidy or validate the source first, try the JSON formatter.

Private and dependency-free

Every conversion uses your browser's native JSON parser, so there are no network requests and no third-party libraries. That makes this a fast, safe way to export confidential data such as user records or internal API responses to CSV without ever exposing them.

Frequently asked questions

What JSON shape can I convert to CSV?

This tool accepts a JSON array of objects, where each object becomes one row, or a single JSON object, which is treated as a one-row table. The column headers are built from the union of every key found across all objects, in the order each key first appears, so rows with different keys still line up correctly.

How are nested objects and arrays handled?

CSV is a flat, two-dimensional format, so any value that is itself an object or array is serialized back to compact JSON inside its cell. For example, a "tags" array becomes ["a","b"] in that column. Null and undefined values become empty cells, and everything else is converted to its plain text representation.

Which delimiter should I choose?

Comma is the standard for CSV files and works with Excel, Google Sheets, and most databases. Choose semicolon if you work in regions where the comma is a decimal separator, or tab (TSV) when your data already contains lots of commas. Fields that contain the delimiter, a quote, or a line break are automatically wrapped in double quotes.

Does it follow the CSV standard for quoting?

Yes. Output follows RFC 4180: any field containing the delimiter, a double quote, or a line break is enclosed in double quotes, and any double quotes inside a field are escaped by doubling them. This keeps your CSV valid when opened in spreadsheet software.

Is my JSON uploaded anywhere?

No. The entire conversion runs in your browser with the built-in JSON parser. Your data is never sent to a server, stored, or logged, so it is safe to convert private API responses and confidential records.