# How to Convert JSON to CSV or Excel (and Back) Without Losing Data

Canonical: https://filevale.com/guides/convert-json-csv-excel/
Updated: 2026-11-14

> Turn JSON into a CSV or Excel sheet and spreadsheets back into JSON, with leading zeros, long IDs and nested fields kept intact, privately in your browser.

Video: https://www.youtube.com/watch?v=Sanq3U9Gc-Q

JSON is how APIs and apps hand over data; CSV and Excel are how people read and edit it. Converting between them is easy until a ZIP code loses its leading zero, a 16-digit order number turns into `1.23457E+15`, or a nested address ends up as `[object Object]`. Here is how to convert without those surprises.

## JSON to CSV or Excel

[Open JSON to CSV](https://filevale.com/json-to-csv/)

1. Open JSON to CSV (or [JSON to Excel](/json-to-excel/) for an .xlsx workbook).
2. Add your `.json` file. An array of objects becomes one row per object, with one column per key.
3. Nested objects become dotted columns, for example `address.city`; lists inside a row are kept as JSON text in their cell so nothing is lost.
4. Download the CSV or XLSX file.

![JSON to CSV in the Filevale iPhone app: a JSON array turned into a CSV with one row per item.](https://filevale.com/assets/app/json-to-csv.webp)

## CSV or Excel back to JSON

[Open CSV to JSON](https://filevale.com/csv-to-json/)

The header row becomes the keys. Values that are clearly numbers or true/false become JSON numbers and booleans; values such as `007`, `+44 20 7946 0958` or long IDs stay text, so a round trip gives you back exactly what you started with. For workbooks, use [Excel to JSON](/excel-to-json/): one sheet gives an array, several sheets an object keyed by sheet name.

![CSV to Excel in the Filevale iPhone app: a CSV converted to an .xlsx workbook with a bold header row.](https://filevale.com/assets/app/csv-to-excel.webp)

## Check or tidy a JSON file first

[Open JSON Formatter](https://filevale.com/json-formatter/)

If a converter says your file isn't valid JSON, run it through the JSON Formatter. It points to the line and column of the first problem, typically a missing or trailing comma, and can pretty-print or minify the file.

## Why use CSV at all?

CSV opens everywhere: Excel, Google Sheets, Numbers, databases and every programming language. Use XLSX when you want real numbers you can calculate with and several sheets in one file, and [CSV to Excel](/csv-to-excel/) when someone hands you a CSV but needs a workbook.

## Frequently asked questions

### Is my data uploaded?

No. The conversion runs inside your browser tab, so customer lists, exports and API responses never leave your device.

### What about very large files?

Tens of thousands of rows convert in seconds on a laptop. The limit is your device's memory, so very large exports are better done on a computer than on a phone.

### Can I get YAML or a Markdown table instead?

Yes. The JSON and CSV tools also offer YAML and Markdown table outputs, for config files and READMEs.
