CSV 转 JSON
将 CSV 转为 JSON 或将 JSON 转为 CSV,支持带引号的字段。
在您的浏览器中运行。您的文件不会离开设备。 了解如何验证
…
使用方法
- 1选择设置
填写信息或选择您需要的选项。
- 2查看结果
更改任何内容时,预览会立即更新。
- 3下载或保存
将结果保存到您的设备。不会向服务器发送或保存任何内容。
About this tool
Convert spreadsheet-style CSV into JSON, or turn a JSON list back into CSV. Quoted fields, commas and line breaks inside quotes are handled. Download the result or copy it. Your data stays in your browser.
When to use it
Convert CSV to JSON or JSON to CSV, including quoted fields, for data work and imports.
Tips
The first row is used as the field names. Quote fields that contain commas.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
获得最佳结果的提示
开始之前请花一点时间阅读选项,并先用一个小例子试用工具。一切都在您设备的浏览器中运行;您输入或添加的任何内容都不会被上传,关闭标签页会清除所有内容。如果看起来不对,请刷新页面重试,或使用本页的报告链接告诉我们出了什么问题。如果结果仍然看起来不对,请每次只更改一个值,看看哪个输入影响最大。如果您还会再用,请收藏此页。
要点
- 分类: 文档
- 在浏览器中运行,无需注册,无需上传。
- 您输入的信息保留在设备上。
- 提供多种语言。
- 内容最后审核日期:
常见问题
What shape should my JSON be?
A list of objects, such as [{"name":"A"},{"name":"B"}]. Each object becomes one row.
Does the first CSV row become the keys?
Yes. The first row is used as the column names.
Does it handle quotes?
Yes, quoted fields and escaped quotes are supported.
Can I choose the separator?
Yes, comma, semicolon and tab.