developer-tools
JSON to CSV Converter
Convert a JSON object or an array of objects into reviewable CSV text in your browser, with conservative handling for merged fields and nested values.
Tool workspace
The interactive tool requires JavaScript.
Instructions
2. Choose the CSV delimiter that matches your destination system: comma, semicolon, or tab.
3. Convert, review the generated headers and nested JSON cells, then copy the CSV only after checking import rules.
Paste a JSON object or an array of objects, choose comma, semicolon, or tab output, and generate CSV locally. The converter merges object keys in first-seen order, writes missing fields as empty cells, and keeps nested objects or arrays as compact JSON strings instead of flattening them automatically.
JSON to CSV conversion works best for one object or an array of similarly shaped objects. This tool builds the header from all object keys, escapes CSV cells, keeps nested JSON reviewable as strings, and runs entirely in the browser.
What this converter supports
It accepts one JSON object or an array of objects, merges all top-level keys into a header row, escapes commas, quotes, and line breaks, and keeps missing fields as empty cells.
Nested JSON is kept conservative
Nested objects and arrays are serialized as compact JSON strings in a single CSV cell. The tool does not flatten address.city style paths or guess how many columns a nested structure should become.
Review before importing CSV
Check the header order, row count, delimiter, null handling, and any nested JSON cells before loading the CSV into spreadsheets, databases, API importers, or BI tools.