JSON to CSV Converter

Convert JSON to CSV online for Excel and Google Sheets — free and instant converter.

Options

About

About the JSON to CSV Converter

Paste an array of JSON objects and get a spreadsheet-ready CSV back instantly. It scans every object in the array first to collect the full set of keys, so if some records are missing a field, the CSV still lines up correctly under the right column instead of shifting everything sideways.

The input should be an array of objects, like [{"name":"Ada"},{"name":"Grace"}]; a single object becomes a one-row CSV. Nested objects and arrays aren't flattened into extra columns — they're written into their cell as JSON text — and any value that contains the delimiter, a quote or a line break is wrapped in quotes so spreadsheets read it correctly.

Choose what to view about this tool

Guide

Using the JSON to CSV Converter

  1. 1

    Step 1

    JSON to CSV is already selected below as the direction.

  2. 2

    Step 2

    Paste your JSON array of objects into the input box.

  3. 3

    Step 3

    Pick a delimiter for the output if you don't want a plain comma.

  4. 4

    Step 4

    Click Convert to get a CSV file's contents, entirely in your browser, ready to paste into a spreadsheet.

  • Builds the header row from every key across all records, in first-seen order
  • Writes nested objects and arrays into their cell as JSON text
  • Quotes values containing commas, quotes or line breaks so the CSV stays valid
  • Choose a comma, semicolon, tab or pipe as the delimiter
  • Copy the result in one click
  • Runs in your browser — free, with no sign-up and nothing uploaded

Data analysts

Analysts open an API response in a spreadsheet to filter and chart it.

Developers

Developers hand data to colleagues who live in Excel.

Marketing and ops teams

Teams turn a JSON export from a web app into a sheet they can sort.

European Excel users

Users in locales where Excel expects semicolons pick ; as the delimiter so columns split correctly.

Convert the other direction

Examples

JSON to CSV Converter examples

4 worked examples

01

Two simple records

Paste [{"name":"Ann","age":29},{"name":"Bo","age":31}] and convert to get a name,age header followed by Ann,29 and Bo,31 — 2 rows, 2 columns.

02

Missing field padded with a blank cell

Paste [{"name":"Ann","age":29},{"name":"Bo"}] and Bo's missing age becomes an empty cell, so the row reads Bo, with nothing after the comma, instead of shifting sideways.

03

Semicolon delimiter

Paste [{"city":"Paris","population":2148000}] with the delimiter set to semicolon to get city;population followed by Paris;2148000 — handy for European Excel.

04

Nested data in one cell

[{"name":"Ada","tags":["math","code"]}] gives the header name,tags and the row Ada,"[""math"",""code""]" — the whole array stays together in one cell.

FAQ

Frequently asked questions

Quick answers to common questions about the JSON to CSV Converter.

How do I convert JSON to CSV?

Paste your JSON array above, make sure "JSON to CSV" is selected as the direction, then click Convert. Everything runs in your browser — nothing is uploaded anywhere.

What if some objects are missing a field the others have?

The converter collects the union of every object's keys across the whole array first, so records with missing fields still get an empty cell in the right column instead of throwing off the row.

Does the JSON need to be an array of objects?

Yes — each object in the array becomes one CSV row, and its keys become the column headers. A single object or a deeply nested structure won't convert cleanly.

Can I choose the delimiter for the output CSV?

Yes. Pick comma, semicolon, tab or pipe from the delimiter dropdown before converting.

Is this JSON to CSV converter free?

Yes. It's free, with no sign-up and no limit on how much data you convert.

Can I convert CSV back to JSON?

Yes — the same tool handles both directions. Switch the dropdown, or use the dedicated CSV to JSON converter page.

What happens to nested objects and arrays?

They're written into a single cell as JSON text, so a tags array of ["a","b"] becomes one cell containing ["a","b"]. Flatten the data first if you need each nested value in its own column.

How are commas and quotes inside values handled?

Any value containing the delimiter, a double quote or a line break is wrapped in double quotes, with quotes inside it doubled — the standard CSV escaping that Excel and Google Sheets expect.

Can I paste a single JSON object instead of an array?

Yes. A single object is treated as a one-row array, so you get a header row plus one data row.

How do I get the CSV into Excel or Google Sheets?

Copy the output and paste it into a sheet, or save it as a .csv file and open it. If you want a ready-made spreadsheet file instead, the CSV/JSON to Excel Converter turns the same JSON into a downloadable .xlsx.

Still have a question? Contact us

Report a problem

JSON to CSV Converter

What went wrong?
    or paste a screenshot