JSON to CSV

Convert a JSON array of objects into CSV with a comma, semicolon or tab separator, then copy or download the result. Free to use.

Input
Result
Text starting with = + - or @ gets a leading apostrophe so spreadsheet programs do not treat it as a formula.

About JSON to CSV

JSON to CSV turns a JSON array of objects into a table that opens in Excel or Google Sheets. Each object becomes a row and each key becomes a column, so API output is easy to read and share.

What to paste

An array of objects with similar keys. Got a single object? Wrap it in square brackets to make an array of one.

Nested data

Objects and arrays inside values do not fit into flat columns and appear as text. Flatten them first, or use JSON to Excel.

Opening in Excel

If Excel puts everything in one column, choose the semicolon separator, which many regions use. If accented letters look odd, import the file as UTF-8.

Copy or download

Pick comma, semicolon or tab, then copy or download.

Private

The conversion runs in your browser. Your data is not uploaded.

How to use JSON to CSV

  1. Paste a JSON array of objects.
  2. Choose the separator.
  3. Check the CSV output.
  4. Copy it or download it as a file.
  5. Open the CSV in your spreadsheet and check the first and last rows against the JSON.

Help & FAQ

What JSON shape does it expect?

An array of objects, for example [{"name":"Ali"},{"name":"Sara"}]. Each object becomes one row.

What happens to nested objects?

CSV is flat, so nested values may appear as text. For deeply nested data, flatten it first or use JSON to Excel, which flattens nested objects into columns.

How do we open the result in Excel?

Download the file and open it, or paste the copied text into a spreadsheet. If your region uses semicolons, choose that separator. In Excel's data import option, choose UTF-8 and the right delimiter.

Can we paste a very long JSON?

Yes, but very long data depends on your device's memory. Split it first if the page becomes slow.

Why is everything in one column in Excel?

Your Excel expects a different separator. Convert again with the semicolon or tab option, or use Excel's text import and choose the separator.

Why do some cells start with an apostrophe?

Text beginning with =, +, - or @ could be run as a formula by a spreadsheet. The tool adds an apostrophe so it is treated as plain text.

Can we convert a JSON object that is not an array?

Wrap it in square brackets to make an array with one item, and each key becomes a column.

How do we handle nested JSON?

Flatten it first, or use the JSON to Excel tool, which turns nested objects into columns.

More in Office & Data

See all 28 in Office & Data