JSON to CSV Converter
Turn an array of objects into rows and columns.
Convert a JSON array of objects into CSV that opens directly in Excel, Google Sheets or any data tool. Each object becomes a row and the keys become the header row, with values containing commas, quotes or line breaks escaped according to RFC 4180.
CSV is flat, so this works best on arrays of simple objects such as an API list response or a database export. Use the Table view to preview the rows before you download.
How to use it
- Paste a JSON array of objects into the left editor.
- Review the CSV on the right, or the Table view on the left.
- Download the .csv file or copy it to the clipboard.
Questions
What happens to nested objects and arrays?
CSV cells hold plain text, so nested values are not expanded into extra columns. Flatten nested data first if you need one column per field.
What if my objects have different keys?
The header row is taken from the first object. For the cleanest result make sure every object carries the same keys.
Can a single object be converted?
Yes. A single object is written as one header row and one data row.
All tools
- JSON Formatter
- JSON Validator
- JSON Minifier
- JSON Repair
- JSON Diff
- JSON Schema Validator
- JSON to YAML
- YAML to JSON
- JSON to CSV
- CSV to JSON
- JSON to XML
- XML to JSON
- YAML Formatter
- XML Formatter
- JSONL Validator
- JSON to TOON
- LLM Token Counter
- LLM Token Optimizer
- JSON to TypeScript
- JSON Schema Generator
- LLM Tool Schema Generator