Skip to main content

JSON to CSV Converter

Convert a JSON array to CSV online for free. Flattens nested objects, handles commas and quotes correctly — nothing uploaded to a server.

JSON input

CSV preview

Convert to see a preview

Your files are processed locally in your browser and are not uploaded to our servers.

How to use JSON to CSV Converter

  1. 1

    Paste a JSON array of objects into the input panel.

  2. 2

    Click "Convert to CSV."

  3. 3

    Check the table preview on the right.

  4. 4

    Copy or download the CSV.

Common uses

  • Turning an API response (an array of records) into a spreadsheet-ready CSV
  • Converting exported JSON data for import into Excel, Google Sheets, or a database tool
  • Getting a quick tabular view of an array of similarly-shaped objects

Supported formats and limitations

Accepts JSON, up to one file at a time.

  • The input must be a JSON array of objects — a single object, a primitive, or an array of non-objects is rejected with a clear error rather than an incorrect result.
  • Nested objects are flattened into dot-notation columns ("address.city"); nested arrays and other non-object values are kept as their JSON text in the cell, since CSV has no native way to represent a multi-value field.
  • If objects in the array have different fields, the CSV includes every field seen across all of them — an object missing a given field just gets an empty cell there.

Frequently asked questions

No. Conversion happens entirely in your browser.

You'll see the error "JSON must contain an array of objects" rather than an incorrect or empty CSV.

Yes — a nested object like {"address": {"city": "Hanoi"}} becomes its own column, named "address.city".

Yes — any value containing a comma, quote, or line break is properly quoted and escaped per standard CSV rules.

Both become an empty cell in the output CSV.

Related tools