Free Online JSON to CSV Converter
Convert JSON to CSV with configurable options. Escapes delimiters, quotes and line breaks correctly.
Input
Output
id,name,role,skills,active,note
1,Ada Lovelace,Engineer,JavaScript; TypeScript,true,
2,Alan Turing,Scientist,Math; Computing,true,Pioneer
Options
2 rows
6 columns
How values are handled
- Nested objects: serialized as JSON strings.
- Arrays: joined with the configured separator.
- Null/undefined: emitted as empty cells.
- Inconsistent columns: all keys across rows become columns.
- Escaping: delimiters, quotes and line breaks are escaped per RFC 4180.
Example input
[
{
"id": 1,
"name": "Ada Lovelace",
"role": "Engineer",
"skills": ["JavaScript", "TypeScript"],
"active": true
},
…
JSON to CSV FAQ
How are nested objects handled?
By default a nested object is serialized as a JSON string inside its cell, which keeps the data intact. Arrays are joined with a configurable separator.
What if rows have different keys?
The converter takes the union of all keys across the array and emits a column for each one. Missing values become empty cells (or null, depending on your options).
Is the CSV output RFC 4180 compliant?
Yes. Fields containing the delimiter, quotes or line breaks are wrapped in double quotes, and internal quotes are doubled, so spreadsheets parse the result correctly.