JSON to CSV Converter

Convert an array of JSON objects to CSV for Excel or Sheets.

Result

id,user.name,user.city,tags,active
1,Ana,Lisbon,"[""a"",""b""]",
2,Bo,,,true
3 lines · 76 bytes
  • 2 rows, 5 columns. Fields with commas, quotes or line breaks are quoted (RFC 4180).

How does JSON become CSV?

CSV is a plain table: rows of values separated by commas, with the column names on the first line. JSON is a tree. To convert, each object in an array becomes a row, and the keys become the column headers.

The tool takes the union of all keys as columns, so objects that miss a key just leave a blank cell. Nested objects can flatten to dotted names such as user.name. For the sample with two users, you get 2 rows and 5 columns: id, user.name, user.city, tags and active.

How to use the JSON to CSV Converter

  1. Paste a JSON array of objects.
  2. Pick a delimiter: comma, semicolon, tab or pipe.
  3. Choose whether to flatten nested objects.
  4. Copy or download the CSV.

Real situations

When people use the JSON to CSV Converter

  • 1

    Open API data in a spreadsheet

    Turn a JSON response into a file that opens in Excel or Google Sheets, so you can sort, filter and chart it.

  • 2

    Share data with non-developers

    Colleagues who do not read JSON can still use the data when it is a table.

  • 3

    Prepare an import

    Many tools import CSV. Convert your JSON, check the columns, then upload.

  • 4

    Flatten nested data

    Choose whether nested objects become dotted columns like user.name, or stay as JSON text in one cell.

Good to know

  • Pick semicolon if your spreadsheet uses a comma as its decimal mark.
  • Arrays are kept as JSON text in the cell, not split across columns.
  • Objects with different keys are fine, and missing values are left blank.

FAQ

JSON to CSV Converter: questions answered

How do I convert JSON to CSV for Excel?

Paste a JSON array of objects, pick a delimiter and copy or download the result as a .csv file. Open it in Excel or import it into Google Sheets. Fields with commas, quotes or line breaks are quoted following RFC 4180.

What happens to nested objects?

With flattening on, the sample's user object becomes columns user.name and user.city. With it off, the whole object is kept as JSON text in one cell, so the sample then has 4 columns.

What about arrays inside an object?

They stay in one cell as JSON text. The sample's tags value of ["a","b"] appears in the tags column as that exact text, with quotes escaped by doubling.

What if objects have different keys?

The columns are the union of all keys. In the sample, the second object has no city or tags and the first has no active, so those cells are blank.

Which delimiter should I choose?

Comma is the default. Use semicolon for spreadsheets set to some European regional settings, tab for data pasted into a sheet, or pipe when your text contains many commas.

Can it convert a single object or nested array?

The tool is built for an array of objects, one row each. Wrap a single object in square brackets to get a one-row file.

Is this JSON to CSV Converter free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way