
Free Developer Tool - runs 100% in your browser
JSON to CSV
Scroll down to learn more about this tool
Convert JSON to CSV online
This JSON to CSV converter takes an array of JSON objects and turns it into a spreadsheet-ready CSV file. It collects every key across all rows to build the header, optionallyflattens nested objects into dot-notation columns (address.city), escapes values correctly per RFC 4180, and lets you download the result as a .csv you can open directly in Excel, Google Sheets or Numbers.
When do you need JSON to CSV?
- Reporting - export API data into a spreadsheet for analysts and stakeholders.
- Data migration - many databases and CRMs import CSV but not JSON.
- Quick analysis - pivot tables and charts are one paste away once data is tabular.
Handling nested JSON
CSV is flat; JSON often isn't. With flattening enabled, a nested object like{"user": {"name": "Ada"}} becomes a user.name column. Arrays inside rows are serialized as JSON strings so no data is lost. If your objects have inconsistent keys, missing values simply become empty cells - every row always lines up with the full header.
Your data never leaves the browser: parsing, flattening and file generation all happen locally in JavaScript. Validate your input first with the JSON validator if the conversion reports a syntax error.
