JSON ↔ CSV Converter
Convert between JSON arrays and CSV files. Customizable delimiter and header handling.
About JSON ↔ CSV Converter
Convert a JSON array of objects to CSV with proper header row and escaping, or paste CSV data and get a clean JSON array of objects. Choose your delimiter (comma, semicolon, or tab), toggle header row detection, and copy the result with one click. Handles nested values, quoted fields, and special characters correctly.
All processing happens entirely in your browser using modern web APIs. Nothing is uploaded to our servers — your data stays local and private. Free to use forever.
Common use cases
- Converting API JSON responses to CSV for importing into Excel or Google Sheets
- Transforming CSV exports from databases into JSON for frontend consumption
- Converting data between formats for ETL pipelines
- Preparing test fixture data in CSV format for import to a database
- Converting spreadsheet exports to JSON for JavaScript applications
How it works
JSON to CSV: flattens the JSON array, extracts all unique keys as the header row, then maps each object to a CSV row — quoting any field that contains the delimiter, quotes, or newlines. CSV to JSON: parses the header row, then creates an object for each row mapping header names to values. Handles RFC 4180 CSV escaping (double-quote escaping inside quoted fields).