CLOUDE TOOLS · DEVELOPER TOOLS
JSON to CSV
Convert a JSON array of objects to CSV with nested fields flattened.
Output
Result will appear here.
HOW IT WORKS
How to use the JSON to CSV
Paste your input, adjust the options if needed, then press Run or watch the result update live.
Check the options under the input if the tool offers any.
Review the result below the form.
Copy the result or download it where a download button is shown.
Use “Load example” to see a representative input.
EXAMPLES & USE CASES
See it in action
Input
text="[{\"name\":\"Ann\",\"age\":30,\"city\":\"Oslo\"},{\"name\":\"Bo\",\"age\":25,\"address\":{\"zip\":\"123\"}}]", delim=","Output
name,age,city,address.zip Ann,30,Oslo, Bo,25,,123
| Error | Example | Fix |
|---|---|---|
| Trailing comma | {"a": 1,} | Remove the comma after the last item |
| Single quotes | {'a': 1} | Use double quotes for keys and strings |
| Unquoted key | {a: 1} | Quote every key: {"a": 1} |
| Comments | {"a": 1 // note} | JSON has no comments; remove them |
| NaN / undefined | {"a": NaN} | Use null or a number |
Arrays inside objects are stored as JSON text in one cell. The input must be an object or array of objects.
DETAILED GUIDE
About the JSON to CSV
Paste a JSON array and get CSV with columns for every key. Nested objects become dotted columns (address.zip).
Pick comma, semicolon or tab.
FAQS & RESOURCES
Frequently asked questions
Nested objects?
Flattened with dots.
Different keys per row?
Columns are the union of all keys.
Excel?
Use semicolon delimiter in some locales.
Is this tool free?
Yes. Cloude Tools is free to use with no sign-up.
Is my data uploaded to a server?
No. This tool runs entirely in your browser, so what you enter never leaves your device.
Does it work on mobile?
Yes. The tool is designed to be fully usable on a phone.