免费在线 JSON 到 CSV 转换器
将 API 响应、MongoDB 导出或配置数据转换为可在 Excel 或 Google 工作表中打开的 CSV 行。每个对象成为一行;每个属性都成为一列。嵌套对象和数组在单元格中序列化为 JSON 字符串。
选择分隔符(逗号、分号、制表符或竖线)、切换标题行、复制结果或下载 .csv 文件。所有转换都在您的浏览器中运行 - 不会上传任何内容。
Frequently Asked Questions
What JSON structure works for CSV conversion?
An array of objects works best: [{"name": "Alice", "age": 30}, {"name": "Bob", "age": 25}]. Each object becomes a row; each property becomes a column. A single object converts to one row. Nested objects and arrays are serialized as JSON strings in the cell.
Which delimiter should I use?
Comma is standard for US English locales and most APIs. Semicolon is common in European Excel locales where comma is the decimal separator. Tab (TSV) works well for copy-pasting into spreadsheets. Pipe is useful when your data contains commas.
Can I open the output in Excel?
Yes. Download the .csv file and open it in Excel or Google Sheets. If Excel misreads encoding or delimiters, try semicolon delimiter for European locales, or paste tab-delimited output directly into a spreadsheet.
How are nested JSON objects handled?
Nested objects and arrays are converted to JSON strings in a single cell. For example, {"address": {"city": "London"}} produces a column with the value {"city":"London"}. Flatten deeply nested data before conversion if you need separate columns.
Is there a row or column limit?
No server-side limit. Conversion runs in your browser. Very large datasets (100,000+ rows) may be slow on older devices. For massive exports, consider streaming tools or database-native export.