RealJSON
Try now

JSON to CSV Converter

Turn a JSON array into CSV — nested objects flattened, delimiter and Excel options included.

Delimiter

Arrays

JSON input

CSV output

 

In short: A JSON to CSV converter turns an array of JSON objects into rows and columns you can open in Excel or Google Sheets. RealJSON flattens nested objects into dot-path columns, lets you pick the delimiter, and runs entirely in your browser.

Convert JSON to CSV

APIs return JSON; analysts want spreadsheets. Paste an array of objects and get a clean CSV in one step — the header row is built from the union of all keys, so records with missing fields still line up.

Because the conversion is local, it is safe for customer exports and internal data. For the reverse direction use the CSV to JSON converter; for formatted spreadsheets use JSON to Excel.

Conversion Options

Flatten nested objects

{"address":{"city":"NY"}} becomes a column named address.city. Turn flattening off to keep nested values as JSON text in one cell.

Array handling

Keep arrays as a JSON string in one cell, or expand them into tags.0, tags.1… columns.

Delimiters and quoting

Comma, semicolon, tab or pipe. Cells containing the delimiter, quotes or line breaks are quoted and escaped per RFC 4180.

Excel and security options

Add a UTF-8 BOM so Excel reads accents correctly, and escape formula-like cells to block CSV injection.

Frequently Asked Questions

How do I convert JSON to CSV?

Paste a JSON array of objects. Each object becomes a row and each distinct key becomes a column. Nested objects are flattened into dot-separated columns such as address.city. Copy the CSV or download it as a .csv file.

How are nested objects and arrays handled?

Nested objects are flattened with dot paths. Arrays are written as JSON text in a single cell by default, or spread across indexed columns (tags.0, tags.1) if you choose that option.

Will the CSV open correctly in Excel?

Enable "UTF-8 BOM (Excel)" so Excel detects UTF-8 and shows accents and non-Latin characters correctly. Use the semicolon delimiter for locales where Excel expects it.

What is formula escaping?

Spreadsheet apps execute cells that start with =, +, - or @. "Escape formulas" prefixes such cells with a quote so untrusted data cannot run as a formula (CSV injection).

Is my JSON uploaded to a server?

No. The conversion happens entirely in your browser.

Related Tools

CSV to JSON · JSON to Excel · JSON to XML · JSON Formatter

Browse all free JSON tools →

Related tools