JSON 转 CSV

将 JSON 数组转为 CSV 表格

JSON 输入

Loading editor...

CSV 输出

Loading editor...

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. 1

    Paste a JSON array of objects into the editor.

  2. 2

    Click Convert to extract column headers from the keys and produce one CSV row per object.

  3. 3

    Copy the CSV or download a .csv file for direct use in spreadsheets.

Common JSON-to-CSV workflows

Share API data with non-developer teams

Export users, orders, or events from a debug session into a CSV your colleagues can sort and filter.

Bulk-import records into another tool

Convert API output into the CSV format your CRM, mailing list, or admin panel expects.

Snapshot data for reporting

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 的列。更深层的嵌套也会继续展开成独立列。