JSON to CSV
Convert JSON arrays to CSV instantly in your browser. Paste a JSON array of objects and get a clean, downloadable CSV with headers
JSON CODE CSV
JSON→CSV CSV→JSON
Tip: paste a JSON array of objects on the left — CSV output updates instantly.
Runs 100% Locally in Your Browser
This tool processes your data entirely on your device. Nothing is uploaded, stored, or sent to any server.
No Uploads
Privacy First
Secure by Default
Related Tools
JSON Beautifier Paste your minified or messy JSON and get clean, properly indented output for easier reading, debugging, and development
JSON Minify Convert formatted or messy JSON into inline JSON instantly. Minify JSON by removing unnecessary whitespace and generate a compact single-line string
CSS Minifier Paste your CSS and get a compact, minified version instantly. Remove comments, whitespace, and redundant characters to reduce file size and improve page load performance
CSS Beautifier Paste minified or messy CSS and get clean, properly indented output instantly. Format your stylesheets for easier reading, debugging, and development
Frequently Asked Questions
What JSON structure does the converter accept?
The converter expects a JSON array of objects, e.g. [{"name":"Alice","age":30},{"name":"Bob","age":25}]. Each object becomes a CSV row and the keys of the first object become the headers.
What happens if objects have different keys?
Headers are derived from all unique keys across every object. Missing values for a row are output as empty fields.
How are values with commas or quotes handled in CSV output?
Fields containing commas, double quotes, or newlines are wrapped in double quotes, and any embedded double quotes are escaped by doubling them — following the RFC 4180 standard.
Can I convert nested JSON objects to CSV?
Nested objects and arrays are serialised to their JSON string representation in the CSV cell, since CSV is a flat format with no concept of nesting.
What encoding does the downloaded CSV use?
The file is downloaded as UTF-8, which is the standard encoding supported by Excel, Google Sheets, and virtually all data tools.
Is my JSON data sent to a server during conversion?
No. The entire conversion runs in your browser — your data is never uploaded, stored, or transmitted.