JSON to CSV Converter
Convert a JSON array of objects to CSV.
Overview
Converts JSON into CSV so you can open structured data in a spreadsheet. Useful for turning an API response or an export into rows and columns for Excel, Google Sheets, or a database import. It runs in your browser.
How it works
The tool takes an array of JSON objects and treats each object as a row. It uses the object keys as the column headers and lines up each object's values under them, producing comma-separated rows. The result is plain CSV text you can paste into or import as a spreadsheet. The conversion happens locally on your device.
How to use it
- Paste a JSON array of objects.
- The tool maps the keys to columns and each object to a row.
- Read or copy the CSV output.
- Open it in a spreadsheet or import it where you need it.
Examples
Records to a table
An array of objects with name and age keys becomes a header row of "name,age" followed by one row per object.
Prep for a spreadsheet
Convert an export so a non-technical teammate can open it in Excel.
FAQ
What input does it expect?
What if objects have different keys?
Can I open the result in Excel?
Is my data uploaded?
Related tools
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolBase64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolPassword Generator
Generate strong random passwords with length and character options.
Open toolUUID Generator
Generate v4 UUIDs in bulk.
Open toolURL Encoder and Decoder
URL-encode or decode percent-encoded strings.
Open toolEmbed this tool
Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.