What the converter does
JSON is how APIs send data. CSV is how spreadsheets and databases exchange tables. Moving between them by hand is slow and error prone. This tool turns a JSON array of objects into CSV, and a CSV file with a header row into a JSON array. It runs in your browser, so your data is not uploaded.
JSON to CSV
- Paste a JSON array of objects, or a single object.
- The column headers are collected from every object, so objects with different keys still line up.
- Nested objects can be flattened into dotted columns such as address.zip.
- Arrays inside a record are written as a JSON string in one cell.
- Pick comma, semicolon, tab or pipe as the delimiter, then copy or download the file.
CSV to JSON
- The first row is used as the property names.
- Quoted fields can contain delimiters, quotes and line breaks.
- Turn on type detection to convert numbers, true, false and null instead of keeping everything as text.
Example
Two records with a nested field:
[{"id":1,"name":"Asha","address":{"zip":"110001"}},{"id":2,"name":"Ravi"}]
→ id,name,address.zip
1,Asha,110001
2,Ravi,Tips
- Use a semicolon delimiter if your spreadsheet uses a comma as the decimal mark, which is common in parts of Europe.
- Leading zeros are lost if a value is read as a number. Switch off type detection to keep codes such as 007.
- Check the headers when different records have different keys. Missing values become empty cells.
Related tools
- JSON Formatter & Validator: Format, validate, and beautify JSON with clear error messages for developers.
- Universal Config Converter: Convert between .properties, JSON, and YAML formats instantly. 100% client-side.
- YAML Validator & Formatter: Validate YAML with line and column errors, reformat it, sort keys and convert between YAML and JSON.
- Excel to PDF: Convert Excel spreadsheets (.xlsx, .xls, .csv) to PDF in your browser — renders your real data as a gridded table, paginated to fit landscape pages.
