CSV / JSON 转换器

即时互转 CSV 和 JSON。客户端处理——您的数据绝不会离开浏览器。

CSV / JSON 转换器的工作原理

CSV 转 JSON

CSV 的第一行被视为列标题。随后的每一行都变成一个 JSON 对象,标题作为键。

JSON 转 CSV

转换器期望一个 JSON 对象数组。第一个对象的键将成为 CSV 标题。

Frequently Asked Questions

是的。下载的 CSV 文件可以在 Microsoft Excel、LibreOffice Calc 和 Google Sheets 中正确打开。

A JSON array of objects: [{"key":"value",...}, ...]. All objects should share the same keys for consistent column output.

No. All conversion happens entirely in your browser. Your data is never uploaded or stored.

No explicit limit, but very large files (several MB) may slow down the browser. For large-scale conversion, consider a server-side tool.

Yes. Downloaded CSV files open correctly in Microsoft Excel, LibreOffice Calc and Google Sheets.

Related Tools

所有生成的数据均为虚构,不适合作为真实的个人信息使用。