Best JSON to CSV Converter Online

Free Auto-detect headers · Custom delimiters · Flatten nested
Delim
Error
JSON
CSV
// CSV output

More Developer Tools

JSON Formatter
Format, validate & minify
CSV Formatter
Format & validate
CSV→JSON
To JSON
JSON→YAML
To YAML config
JSON→XML
To XML markup
JSON→TOML
To TOML config
Timestamp
Unix ↔ Date
URL Encode
Percent-encoding

Why This Is the Best JSON to CSV Converter

Auto-Detect Headers

Automatically extracts column headers from JSON keys. Works with arrays of objects, handling inconsistent keys gracefully.

Custom Delimiters

Choose comma, semicolon, tab, or pipe as your CSV delimiter. Perfect for localized systems that use semicolons.

Flatten Nested JSON

Automatically flatten nested objects into dot-notation columns (e.g., address.city) for seamless spreadsheet import.

Download CSV

Export your converted CSV directly as a .csv file ready for Excel, Google Sheets, or any data tool.

Nested JSON to CSV: objects and arrays

With headers and array expansion enabled, this record becomes one CSV row. Disabling array expansion keeps tags in a single cell; address.city remains a separate column.

JSON input

[{"id":1,"address":{"city":"Paris"},"tags":["api","prod"]}]

CSV output

id,address.city,tags.0,tags.1
1,Paris,api,prod

Frequently Asked Questions

How do I convert JSON to CSV?

Paste your JSON array into the input field and click Convert. The tool automatically detects headers from your JSON keys and outputs a properly formatted CSV.

What JSON format works for CSV conversion?

An array of objects works best, e.g. [{"name":"Alice","age":30}]. Each object becomes a row and keys become column headers.

Can I convert nested JSON to CSV?

Nested objects always become dot-separated columns such as address.city. The Expand arrays option controls arrays only: enabled, tags becomes tags.0 and tags.1; disabled, the array stays as a JSON string in one cell. Array elements do not create extra rows.

In-depth guide
Data Format Conversion Guide
CSV, XML, JSON, HTML & Markdown
Read the guide