# JSON to CSV Converter — Convert CSV to JSON Locally

> Convert JSON arrays to CSV or CSV rows to JSON in your browser. Handles quoted values and exports locally.

Source: https://toolpantry.app/json-csv-converter

## About

Turn an array of JSON objects into spreadsheet-ready CSV, or convert a simple CSV table into JSON without uploading your data.

## Quick answer

**How do I convert JSON to CSV?** Paste a JSON array of objects and the tool outputs CSV with headers, or convert CSV back to JSON.

## How to convert JSON to CSV (or CSV to JSON)

1. **Paste your JSON array or CSV** — paste or drop a file.
2. **Pick the delimiter** — comma, semicolon, or tab for spreadsheet import.
3. **Download or copy** — the converted data, ready for Excel, Sheets, or code.

## Where this gets used

- Opening API data in Excel or Google Sheets without writing code
- Importing a spreadsheet into a database as JSON
- Handing data to a teammate who lives in spreadsheets

## Good to know

Nested objects and arrays cannot become neat columns — flatten them first or the cell shows [object Object]. Quoted fields with commas are handled correctly on both directions; European Excel often wants semicolons, which the delimiter option covers. Related: [JSON formatter](https://toolpantry.app/json-formatter).

## Notes

Nested JSON values are kept as JSON text inside a CSV cell. CSV to JSON returns strings so identifiers such as leading-zero SKUs are not changed.

## FAQ

**What JSON shape should I paste?**

Use an array of objects such as [{"name":"Mug","stock":12}] . Each object becomes one CSV row and the union of its keys becomes the header.

**Does this upload my spreadsheet?**

No. Conversion runs in the page and the download is created locally.
