JSON ↔ CSV Converter
Convert between JSON and CSV formats with nested object support.
About JSON ↔ CSV Converter
Convert JSON data to CSV spreadsheet format or CSV back to JSON. Handles nested objects by flattening them with dot notation (e.g., user.name becomes a column header). Follows RFC 4180 for proper CSV escaping — commas, quotes, and newlines in values are handled correctly. Everything runs in your browser, so your data never leaves your device.
FAQ
- Can it handle nested JSON objects?
- Yes. Nested objects are flattened using dot notation. For example, {"user": {"name": "Alice"}} becomes a column header "user.name" with value "Alice".
- What happens with arrays inside JSON objects?
- Array values are JSON-stringified into a single CSV cell. When converting back, the tool detects JSON arrays in cells and parses them back into arrays.
- Is my data uploaded to a server?
- No. All conversion happens locally in your browser using JavaScript. Your data never leaves your device.
- What if my JSON objects have different keys?
- The tool creates a union of all keys across all objects. Missing values are left as empty cells in the CSV output.