JSON to CSV Converter
Turn JSON into CSV. Nested objects are flattened into columns like user.address.city, and you choose which columns to keep. Nothing is uploaded.
How to use JSON to CSV Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with JSON to CSV Converter
Everything this tool is good for.
About JSON to CSV Converter on KickSolve
What it does, how it works and how to get the best results.
How JSON is flattened
Each object in your array becomes one CSV row. Keys become column headings, and nested objects are flattened into columns named with dots, for example user.address.city. The headings are the combined set of keys from all rows, so rows that lack a key simply get an empty cell.
Which JSON shapes work
An array of objects is the normal case. An object that wraps a single array, such as {"data": [ ... ]}, is unwrapped automatically. A single object becomes one row, and an array of plain values becomes one column named value.
Arrays inside records
CSV has no way to store a list in a cell, so arrays are kept as JSON text inside one cell. If you need one row per list item, reshape the data first with the JSONPath Tester.
Delimiters and Excel
Choose comma, semicolon or tab. In regions where Excel expects semicolons because commas are decimal separators, pick semicolon. Values that contain the delimiter, a quote or a line break are quoted automatically.
Going the other way
To turn a CSV back into JSON, use CSV to JSON. To check your JSON first, run it through the JSON Formatter and Validator.
Worked example: nested JSON to CSV
How nested objects become columns.
Input:
[
{"id": 1, "user": {"name": "Ana", "city": "Lahore"}, "tags": ["a", "b"]},
{"id": 2, "user": {"name": "Omar", "city": "Karachi"}, "tags": []}
]
Output (comma delimiter):
id,user.name,user.city,tags
1,Ana,Lahore,"[""a"",""b""]"
2,Omar,Karachi,[]The nested user object became two columns, and the tags array stayed as JSON text in a single cell.
How JSON values become CSV cells
What to expect for each type of value.
| JSON value | Example | CSV cell |
|---|---|---|
| String | "Ana" | Ana |
| Number | 42 | 42 |
| Boolean | true | true |
| null or missing | null | (empty) |
| Nested object | {"a":{"b":1}} | Column a.b with 1 |
| Array | [1,2] | The text [1,2] in one cell |
| Empty object | {} | The text {} |
Frequently asked questions
Quick answers.
How do I convert JSON to CSV?
Paste your JSON array or open a file, press Convert, choose the columns you want and download or copy the CSV.
How are nested objects handled?
They are flattened into columns named with dots, such as user.address.city, so every value gets its own column.
What happens to arrays inside my JSON?
Arrays are kept as JSON text inside a single cell, because CSV cannot hold a list in one field.
Can I choose which columns to export?
Yes. After you press Convert, every column appears with a checkbox. Untick the ones you do not want, or use All and None.
Which delimiter should I use?
Comma is the standard. Use semicolon if your spreadsheet software expects it, which is common where a comma is the decimal separator, and tab for tab-separated files.
Does it work with a single object or a wrapped array?
Yes. A single object becomes one row, and an object that holds one array, like {"data": [...]}, is unwrapped and the array is used.
How do I convert CSV to JSON instead?
Use the CSV to JSON converter, which handles large files with a progress bar.
Is my data uploaded?
No. The conversion runs entirely in your browser, so your data never leaves your device.
More free tools from KickSolve
Related free tools. Each one runs in your browser too.