# JSON to CSV Converter

> Turn a JSON array into a CSV file or spreadsheet, with nested fields flattened into columns.

- Type: free browser tool
- Category: Developer tools
- Page: https://www.sandbase.ai/tools/developer/json-to-csv

## About

Paste a JSON array of objects, or an API response that contains one, and download it as CSV for Excel, Google Sheets or a database import.

## How it works

1. **Step 1** Paste JSON. If the array sits inside an object, the first array found is used.
2. **Step 2** Choose the delimiter and whether nested objects become dotted columns such as author.name.
3. **Step 3** Preview the table and download the CSV.

## FAQ

### How are nested objects handled?

With flattening on, {"author": {"name": "Ana"}} becomes a column named author.name. Arrays are written as JSON text in a single cell.

### Will Excel open the file correctly?

Yes. The download starts with a UTF-8 byte order mark so Excel reads accented and non-Latin characters correctly.

### Is my data uploaded?

Everything runs in your browser. Nothing you paste or open is uploaded.
