JSON 转 CSV
将 JSON 数组转为 CSV 表格
JSON 输入
CSV 输出
Turn JSON arrays into spreadsheet-ready rows
JSON is great for APIs but most analysts, ops teams, and stakeholders work in spreadsheets. Converting an array of JSON objects to CSV produces a clean header row and one record per line — ready for Excel, Google Sheets, BI tools, or any data pipeline that speaks CSV.
Use the converter when you need to
Export an API response to a spreadsheet
Take an array of records from an endpoint or export and hand it to anyone who lives in Excel or Sheets.
Flatten nested data for analysts
Nested objects collapse to dot-notation columns so analysts can work with the data without writing code.
Prepare bulk imports for other systems
Many CRMs, marketing tools, and databases accept CSV uploads but not JSON — convert first to bulk-load records.
How to convert JSON to CSV quickly
- 1
Paste a JSON array of objects into the editor.
- 2
Click Convert to extract column headers from the keys and produce one CSV row per object.
- 3
Copy the CSV or download a .csv file for direct use in spreadsheets.
Keep going
Convert CSV back to JSON
Round-trip data when a downstream consumer expects JSON instead.
Render as an HTML table
Embed the same data in a web page or doc instead of a spreadsheet.
Clean up JSON first
Format the input payload to spot missing fields before converting.
Inspect the source data
Use tree or table view to verify the structure is uniform before bulk conversion.
Common JSON-to-CSV workflows
Export users, orders, or events from a debug session into a CSV your colleagues can sort and filter.
Convert API output into the CSV format your CRM, mailing list, or admin panel expects.
Save weekly or monthly exports as CSV files so the numbers stay reproducible later.
相关工具
常见问题
粘贴“对象数组”形式的 JSON,然后点击 Convert。工具会从对象的 key 自动提取表头,并生成 CSV 行。嵌套对象会用点号展开(例如 address.city)。
最适合的是扁平对象数组,例如 [{"name":"Alice","age":30},{"name":"Bob","age":25}]。嵌套对象会被展开;对象里的数组会用分号连接。
可以。转换后点击 Download,下载的 .csv 可直接用 Excel、Google Sheets、LibreOffice Calc 等表格软件打开。
会用点号(dot notation)把嵌套对象展开成列。例如 {"user":{"name":"Alice"}} 会生成名为 user.name 的列。更深层的嵌套也会继续展开成独立列。