JSON转CSV

将JSON数组转换为CSV格式。

开发者工具

如何使用 JSON转CSV

  1. 1Paste your JSON array
  2. 2Click Convert to CSV
  3. 3Copy or download the CSV output

关于 JSON转CSV

JSON to CSV Converter takes a JSON array of objects and transforms it into comma-separated value (CSV) format. Property names from the first object are used as column headers, and all objects are written as rows.

Fields containing commas, newlines, or double quotes are properly escaped according to CSV standards. The output is ready to import into Excel, Google Sheets, or any data tool.

常见问题

What JSON structure is expected?

An array of objects, e.g. [{"name":"Alice","age":30},{"name":"Bob","age":25}].

Are nested objects supported?

Nested objects are converted to strings (JSON.stringify) in the CSV cell.