JSON is how apps and APIs hand over data, but most people want it in a spreadsheet, and config files often want YAML. Converting is easy when the JSON is a flat list of records; the real question is what each tool does with nested fields. Here are five ways. (We make Xiaoer Omia (xiaoeromia.com), option 4 — the others are described as fairly as we can.)
Last checked: November 2026
In Excel, choose Data > Get Data > From File > From JSON. Excel imports the file with Power Query; from there you can keep the workbook or save it as CSV. Microsoft lists this for Excel for Microsoft 365 on Windows and Mac.
If you can run a little Python, the free pandas library flattens nested JSON with json_normalize (nested fields become columns such as address.city) and writes the result with to_csv or to_excel.
jq turns arrays into CSV rows with its @csv filter, and yq converts JSON to YAML (yq -Poy data.json). Both are free, open-source command-line tools.
Xiaoer Omia (xiaoeromia.com) is a desktop viewer for Mac and Windows. Open the .json, then Save As CSV, Excel (.xlsx) or YAML. Nested objects become their own columns, named like conditions.weather. Nothing is uploaded.
Websites where you paste or upload JSON and download CSV, Excel or YAML.
Here is what Xiaoer Omia saved from a small Visitors.json (ten records, each with a nested conditions object), opened again in Omia. Each record became a row, and conditions became two columns.

| CSV | Excel (.xlsx) | YAML | Nested fields | Works offline | Cost | |
|---|---|---|---|---|---|---|
| Excel (Power Query) | Yes, save as CSV | Yes | No | Not listed | Yes | Needs Excel |
| Python + pandas | Yes | Yes | Not listed | Yes, json_normalize | Yes | Free |
| jq / yq | Yes, jq @csv | Not listed | Yes, yq | You pick the fields | Yes | Free |
| Xiaoer Omia | Yes | Yes | Yes | Yes, as a.b columns | Yes | 5 free conversions, then $19.90 once |
| Online converter | Usually | Often | Often | Varies | No, uploaded | Usually free |

Open the file in a tool that does it for you: Excel (Data > Get Data > From File > From JSON, then save as CSV) or a viewer such as Xiaoer Omia (xiaoeromia.com), where you open the .json and Save As CSV. Online converters work too but upload the data.
Use Data > Get Data > From File > From JSON; Excel imports the file with Power Query. Microsoft documents this for Excel for Microsoft 365, including on Mac.
It depends on the tool. pandas' json_normalize and Xiaoer Omia turn nested objects into columns such as address.city. In jq you choose the fields for each column yourself.
CSV is a table, so the JSON needs to be a list of records: an array of objects with field names. A single object, or an array of plain values, has no rows and columns to map. Xiaoer Omia can still save that kind of JSON as YAML.
yq does it in one command (yq -Poy data.json). In Xiaoer Omia, open the .json and Save As YAML; the nesting is kept.
Not with options 1 to 4: they all run on your own computer. Online converters upload the data.
Related: How to open a JSON file · JSON viewer · How to open a CSV file · CSV viewer · Excel viewer · Excel to CSV · CSV to JSON · Markdown to PDF or Word · All guides · 150+ formats in one app