Converter Tools
Live

JSON to CSV

Convert a JSON array of objects into a CSV file.

Convert a JSON array of objects into a CSV file.

Quick start: Paste a JSON array of objects into the input box. → Let the tool scan every object to collect the full set of keys, which become the CSV header row. → Click Convert to produce CSV, with one row per object and missing fields left blank.

How to use JSON to CSV

  1. 1

    Paste a JSON array of objects into the input box.

  2. 2

    Let the tool scan every object to collect the full set of keys, which become the CSV header row.

  3. 3

    Click Convert to produce CSV, with one row per object and missing fields left blank.

  4. 4

    Check how nested objects are flattened, typically into dotted column names like address.city.

  5. 5

    Copy the CSV or download a .csv file to open in Excel, Google Sheets, or Numbers.

Real examples of JSON to CSV in action

Flat objects
Before
[
  { "name": "Ada", "age": 36 },
  { "name": "Grace", "age": 45 }
]
After
name,age
Ada,36
Grace,45
Nested + escaping
Before
[
  { "name": "Acme, Inc.", "address": { "city": "Berlin" } }
]
After
name,address.city
"Acme, Inc.",Berlin
Popular tools

Try our most-used tools

Who is JSON to CSV for?

Developers exporting API responses into spreadsheets for analysis

Analysts who need JSON data in Excel or Google Sheets to filter and pivot

Operations staff building CSV import files for CRM or accounting tools

Anyone handing JSON-sourced data to a non-technical colleague

Why use JSON to CSV?

  • Builds the header row from the union of all keys, so objects with different fields still line up under the right columns.
  • Flattens nested objects into dotted column names (for example user.name), keeping deep data in a flat table.
  • Escapes values that contain commas, quotes, or line breaks by quoting them, so the CSV stays valid in Excel.
  • Leaves missing fields blank instead of breaking the row, which keeps columns aligned across uneven records.
  • Runs fully in your browser, so API responses and exported records are converted without uploading them anywhere.

Common use cases

  • Turn an API response into a CSV you can open and filter in Excel or Google Sheets.
  • Hand a non-technical colleague a spreadsheet built from JSON data.
  • Create a CSV import file for a CRM, email tool, or accounting package.
  • Snapshot JSON config or log data into a tabular format for review.

How JSON to CSV compares to alternatives

Honest comparison to other popular options — pick the right tool for the job.

ToolMain limitation
Excel Power QueryCan import JSON but the setup is fiddly and not built for a quick one-off paste
jq on the command linePrecise but you must hand-write the filter and CSV escaping rules yourself
ConvertJSON.comWorks but is ad-laden and less transparent about how it flattens nesting
JSON to CSVFree, runs in your browser, no sign-up, no watermarks, no file-size limits beyond your device memory.

Limitations & things to know

  • Arrays nested inside records cannot become real columns; they are stored as a string in one cell
  • Deeply or irregularly nested JSON flattens into many sparse columns that may need cleanup

About JSON to CSV

A JSON to CSV converter flattens a JSON array of objects into comma-separated rows that open directly in Excel, Google Sheets, or any spreadsheet. This free tool reads your array, scans every object to gather the complete set of keys, and uses that union as the CSV header so records with slightly different fields still line up under the correct columns. Each object then becomes one row. The most useful behavior is how it handles structure that does not naturally fit a flat table. Nested objects are flattened into dotted column names, so {"address": {"city": "Berlin"}} produces a column called address.city. Arrays inside a record are generally kept as a JSON string inside a single cell, because a spreadsheet column has no clean way to store a list. Equally important is correct escaping. CSV uses commas to separate columns, so any value that itself contains a comma, a double quote, or a line break is wrapped in double quotes, and embedded quotes are doubled. Without that escaping, a value like "Acme, Inc." would split into two columns and shift every later field, which is the classic reason a CSV looks corrupted in Excel. Missing fields are written as empty cells rather than skipped, keeping every row the same width. This conversion is everyday work whenever JSON needs to reach a human or a spreadsheet-only tool: exporting an API response for analysis, handing a colleague a filterable sheet, or building an import file for a CRM or accounting system. Everything is processed locally in your browser, so the JSON you paste, including private API data, is never uploaded or stored.

Frequently asked questions

Nested objects are flattened into dotted columns, so {"address":{"city":"Paris"}} becomes a column named address.city. Arrays are usually serialized as a JSON string inside one cell, since a table has no natural way to hold a list in a single column.
The tool collects every key it sees across all objects and uses that combined set as the header. Objects missing a given field simply leave that cell blank, so the columns stay aligned.
A value containing a comma, a double quote, or a line break must be wrapped in double quotes so the comma is not read as a column separator. Internal quotes are doubled. This is the standard CSV escaping rule and is required for Excel to parse the file correctly.
Yes, for a multi-row CSV the input should be a JSON array of objects. A single object produces one data row, and a bare value or deeply mixed structure has no clean table shape.

Your files never leave your device

Every tool on Xevon Tools runs 100% in your browser. No uploads, no servers, no tracking. Free forever.

Learn more

Embed JSON to CSV on your site

Add this tool to your own website, blog, or internal tool page with one line of code. Free to use, no attribution required (but appreciated).

<iframe src="https://www.xevontools.com/embed/json-to-csv" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px;" title="JSON to CSV — Xevon Tools"></iframe>
Share: