JSON to CSV Converter
Convert a JSON array of objects to CSV.
CSV
The CSV will appear here.
How to use it
- Paste a JSON array of objects.
- Click Convert to CSV.
- Copy the CSV output.
About this tool
This converter turns a JSON array of objects into CSV. It builds the header from the union of all keys across the objects, in first seen order, and quotes any value that contains a comma, quote, or line break. Nested objects and arrays are written as JSON text inside the cell. It expects a flat array of objects, so deeply nested data may need flattening first.
Examples
Input
[{"name":"Ada","age":36}]Output
name,age then a row Ada,36Input
Objects with different keysOutput
A header covering every key, blanks where a value is missingCommon uses
- Turn an API response into a spreadsheet
- Export JSON data to CSV
- Flatten records for Excel or Sheets
- Share data in a portable format
FAQ
Is my data uploaded?
No. The conversion runs in your browser. Nothing you paste is sent anywhere.
How are commas and quotes handled?
Any value containing a comma, quote, or line break is wrapped in quotes, and inner quotes are doubled, per the CSV convention.
What about nested objects?
They are written as JSON text in the cell. Flatten deeply nested data first if you need separate columns.
Related tools
Developer
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolDeveloper
Base64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolDeveloper
Password Generator
Generate strong random passwords with length and character options.
Open toolDeveloper
UUID Generator
Generate v4 UUIDs in bulk.
Open toolDeveloper
URL 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.