- All dev tools
- JSON to CSV
Convert JSON to CSV
Turn a JSON array of objects into a CSV file that opens in Excel, Numbers or Google Sheets. Nested objects are flattened into columns like user.name.
How to use the convert JSON to CSV
- Paste a JSON array (or a single object).
- Pick the delimiter. Use a semicolon if your Excel uses commas for decimals.
- Download the .csv file or copy it.
Questions
What happens to nested objects and arrays?
Nested objects become dotted column names, so {"user":{"name":"Asha"}} gives a user.name column. Lists of plain values are joined with "; ". Lists of objects are kept as JSON text in one cell.
Some objects have different fields. Is that OK?
Yes. Every field found in any object becomes a column, and missing values are left empty.
Is my data sent anywhere?
No. Everything runs in your browser with JavaScript. What you paste is never sent to a server, and the site's security policy stops the page from connecting to any other website. That matters for tokens, keys and customer data, which people paste into tools like this every day.
Related tools
- CSV to JSONTurn a spreadsheet into JSON.
- JSON formatterFormat, validate and minify JSON.
- Diff checkerCompare two texts line by line.
More developer tools
- JWT decoderRead a JWT and check its signature.
- Base64 encode and decodeText and files to and from Base64.
- URL encode and decodePercent-encode text for URLs.
- Hash generatorMD5, SHA-1, SHA-256, SHA-512.
- Regex testerTest regular expressions live.
- Case convertercamelCase, snake_case, Title Case…
- Lorem ipsum generatorPlaceholder text on demand.
- Cron expression explainerCron schedules in plain English.
- Unix timestamp converterEpoch time to dates and back.
- UUID generatorRandom v4 and time-ordered v7 UUIDs.