JSON to CSV Converter
Paste a JSON array of objects to convert it into CSV format. Nested objects are flattened with dot notation.
About JSON to CSV Converter
This free online tool converts JSON arrays into CSV (Comma-Separated Values) format instantly in your browser. No data is sent to any server — everything runs locally. Nested JSON objects are automatically flattened using dot notation so every field maps to a single CSV column. This is ideal for importing API response data into spreadsheets, databases, or other tabular tools.
How to Use
- Paste a JSON array of objects into the input area on the left (e.g.
[{"name":"Alice"}, ...]). - Click Convert to generate the CSV output.
- Click Download to save the CSV file, or Copy to copy it to your clipboard.
- Nested objects like
{"address":{"city":"NY"}}becomeaddress.citycolumns.
Frequently Asked Questions
What JSON format does this tool expect?
The tool expects a JSON array of objects, where each object represents one row. For example: [{"name":"Alice","age":30},{"name":"Bob","age":25}]. Each unique key becomes a CSV column header.
How are nested objects handled?
Nested objects are flattened using dot notation. For example, if an object has {"address":{"city":"NY","zip":"10001"}}, the CSV will have columns address.city and address.zip.
Is my data safe?
Yes. All conversion happens entirely in your browser using JavaScript. No data is uploaded to any server, making it safe for sensitive or proprietary data.
What if objects have different keys?
The tool collects all unique keys across every object to form the full set of CSV columns. If an object is missing a key, that cell will be empty in the output.