Loading JSON workspace...
JSON to CSV Converter
Turn an array of objects into a spreadsheet, including nested fields and arrays, or rebuild JSON from a CSV whose header uses those same paths. A single object is written as one row. You can change the delimiter and turn off automatic detection of numbers, booleans and null. Both directions stay on this page.
How to use
- Paste JSON on the left to create CSV, or switch direction and paste CSV on the right to create JSON.
- Pick a comma, semicolon or tab delimiter. Leave type detection on when cells should become numbers and booleans.
- Convert, then copy the table or the restored JSON. A broken quote is reported with its line number.
FAQ
- How do nested fields appear in the header?
- Object keys are joined with dots and array items use their index, so a city inside meta becomes a meta.city column.
- What if each row has different fields?
- The header is the union of every row. A row that lacks a field gets an empty cell, and that key is omitted when the CSV is turned back into JSON.
- Can I keep every cell as text?
- Turn off type detection. Numbers, true, false and null then stay quoted text instead of JSON types.
- Does CSV to JSON use the same paths?
- Yes. Header cells are split on dots and written back into nested objects and arrays. A dot that is part of a key name is escaped so it is not treated as nesting.