What is JSON ⇄ CSV Converter?
Paste a JSON array and get a CSV ready for spreadsheets: headers are the union of keys across all objects, one nesting level is flattened with dot keys (address.city), and cells containing commas, quotes or newlines are quoted per RFC 4180. A single top-level object is wrapped into a one-row array automatically.
In the other direction, a real state-machine parser handles quoted fields with embedded commas, doubled quotes and CRLF line endings, strips the BOM, and maps every row to an object keyed by the header. Values stay strings on purpose — predictable round-trips beat guessed types.
Frequently asked questions
What happens to nested objects and arrays?
Objects are flattened one level deep with dot keys, so {"user":{"name":"A"}} becomes user.name. Arrays and deeper values are serialized as JSON text inside the cell.
Why are all CSV→JSON values strings?
Deliberate: "007" stays "007" and "1,234" stays intact instead of being silently mangled into numbers. Convert types in your own code where the schema is known.
Does it handle newlines inside cells?
Yes — a quoted field can span multiple lines; the parser keeps it as one cell, and JSON→CSV re-quotes it correctly.