JSON to CSV Converter
Convert JSON arrays to CSV format. Preview the data as a table, then download as a .csv file.
JSON Input (array of objects)
CSV Output
Table preview will appear here...
Raw CSV will appear here...
How to Use the JSON to CSV Converter
Paste a JSON array of objects into the input area. Each object in the array becomes a row in the CSV, and the object keys become column headers. The converter handles nested objects by flattening them with dot notation.
Supported JSON Formats
- Array of objects -- the standard format, e.g.,
[{"name":"Alice","age":30}] - Nested objects -- nested properties are flattened using dot notation, e.g.,
address.city - Mixed types -- numbers, strings, booleans, and null values are all handled correctly
Options
- Delimiter -- choose comma, tab, semicolon, or pipe as the column separator. Use semicolons for European locales where commas are decimal separators.
- Include headers -- toggle whether the first row contains column names.
- Flatten mode -- "Dot notation" creates columns like
address.city; "JSON stringify" keeps nested objects as JSON strings in the CSV cell.
Tips
- If your JSON is a single object (not an array), wrap it in brackets:
[{...}] - The table preview shows a formatted view. Switch to "Raw CSV" to see the exact output.
- Downloaded CSV files open directly in Excel, Google Sheets, and other spreadsheet tools.