# JSON to CSV converter

> Convert JSON to CSV in your browser: arrays of objects, nested values, commas and quotes. Drop a .json file, download .csv. Nothing is uploaded.

URL: https://tools.cuelark.com/json-to-csv
Publisher: Cuelark Team (https://cuelark.com)
Updated: 2026-11-27
Price: free, no sign-up
Privacy: runs in the browser; files are not uploaded

Paste JSON or drop a .json file to get a CSV with a header row. Quoted fields, commas inside values, and nested objects or arrays (written as JSON text in the cell) are handled in this tab, and nothing is uploaded.

## How to use it

1. Paste JSON, drop a .json, .jsonl or .txt file, or try the sample.
2. Choose a comma, semicolon or tab delimiter. Leave the header row on unless you only want the data rows. Turn on the UTF-8 BOM if you will open the file in Excel.
3. Copy the CSV or download it as a .csv file. If you dropped several files, download a ZIP of every converted file.

## Details

- **Shapes:** An array of objects, an array of arrays, an array of values, or a single object. If the root is an object with one array field, that array is converted
- **Nested values:** Objects and arrays inside a cell are written as JSON text. They are not flattened into extra columns
- **JSON Lines:** If the text is not one JSON value, each non-empty line is read as its own JSON value
- **Limits:** Up to 5 MB at a time

## Questions

### Are my files uploaded?

No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.

### What JSON shapes can I convert?

An array of objects (one row per object, columns from the union of keys), an array of arrays, an array of single values (one column named value), or a single object as one row. If the root is an object with exactly one array field, that array is used and a note tells you so.

### How are nested objects and arrays handled?

They are written as JSON text in that cell, not flattened into dotted column names. A short note tells you how many cells were written that way, so nothing is silently dropped.

### My Excel expects semicolons. Will it work?

Yes. Choose Semicolon as the delimiter. If Excel still mangles non-English characters, turn on UTF-8 BOM (Excel) before you download.

### Can I convert CSV back to JSON?

Yes, on the CSV to JSON page. That converter detects comma, semicolon, tab or pipe delimiters and can type numbers and true/false.

### Is there an API?

Yes. The MCP server on this site has a json tool with a to_csv operation. There is no separate HTTP API.

## Related tools

- [CSV to JSON converter](https://tools.cuelark.com/csv-to-json)
- [XML formatter](https://tools.cuelark.com/xml-formatter)
- [Diff checker](https://tools.cuelark.com/diff-checker)
- [Regex tester](https://tools.cuelark.com/regex-tester)
