About the JSON to CSV Converter
This JSON to CSV converter flattens JSON into a table you can open in Excel or Google Sheets. Nested objects become columns such as address.city, arrays are joined or kept as JSON, and the list of records is found automatically even inside a wrapper object.
How to use the JSON to CSV Converter
- Paste JSON or open a .json file. An array of records, a wrapper object or JSON Lines all work.
- Choose how nested objects and lists should become columns.
- Download the table as CSV or Excel, or copy it into a spreadsheet.
Nested data, flattened
API responses are rarely flat. Nested objects become columns like address.city, and lists can be joined into one cell, kept as JSON, or spread over columns like tags.1 and tags.2.
Finds the records for you
Many APIs wrap results as {"data": {"items": [...]}}. Sitebot finds the list of records automatically and lets you choose another one if the response contains several.
Every key becomes a column
Records don't need identical keys. Every key that appears anywhere becomes a column, in the order it first appears, and missing values stay empty.
Questions
Is my JSON uploaded?
No. The conversion happens in your browser, on your device.
Can I get an Excel file?
Yes. Choose Excel (.xlsx) next to the Download button.
What if my JSON is invalid?
You'll see the error message with its position. The JSON Formatter can help find and fix the problem.
Does it support JSON Lines?
Yes. A file with one JSON object per line (.jsonl or .ndjson) is read record by record.