JSON to CSV Converter

Convert a JSON array of objects into CSV for spreadsheets.

Turn a JSON array of objects into clean CSV you can open directly in Excel, Google Sheets, or any spreadsheet. The tool reads every object, builds a column for each field it finds (even if some rows are missing it), and safely escapes values that contain commas, quotes, or line breaks. Nested objects and arrays are kept as compact JSON inside their cell. It all runs in your browser.

How to use the JSON to CSV Converter

  1. Paste a JSON array of objects (or a single object) into the input.
  2. The CSV — a header row plus one row per object — appears in the result box.
  3. Copy it, or paste it straight into your spreadsheet.

Frequently asked questions

What JSON shape does it expect?

An array of objects, like [{"name":"A","age":1}, {"name":"B","age":2}]. A single object is also accepted and becomes one row.

How are commas and quotes handled?

Any value containing a comma, quote, or line break is wrapped in quotes and its inner quotes are doubled, following the standard CSV rules.

What happens to nested objects?

They are written as compact JSON inside the cell, so no data is lost even though CSV itself is flat.