将 JSON 数据转换为 CSV 格式。支持嵌套对象和数组、自动检测表头以及可配置的分隔符和引用符——适用于 Excel、Google Sheets 或任何电子表格应用程序。
Convert multiple JSON objects into CSV rows, one row per object.
[
{ "name": "John Doe", "age": 25, "city": "New York" },
{ "name": "Jane Doe", "age": 30, "city": "Los Angeles" },
{ "name": "Bob Smith", "age": 22, "city": "Chicago" }
]name,age,city John Doe,25,New York Jane Doe,30,Los Angeles Bob Smith,22,Chicago
Nested keys are flattened using dot notation (e.g. address.city).
[
{
"name": "John Doe",
"age": 25,
"address": {
"street": "123 Main St",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"hobbies": ["reading", "running"]
}
]name,age,address.street,address.city,address.state,address.postalCode,hobbies[0],hobbies[1] John Doe,25,123 Main St,New York,NY,10001,reading,running
Missing keys are filled with empty values to keep columns aligned.
[
{ "name": "Alice", "age": 30 },
{ "name": "Bob", "city": "Paris" },
{ "name": "Carol", "age": 25, "city": "Rome" }
]name,age,city Alice,30, Bob,,Paris Carol,25,Rome