将 JSON 转为 CSV,也可将 CSV 转回 JSON,双向均可。选择分隔符、处理带引号的字段并复制结果。一切都在浏览器中运行。
如何使用 JSON ⇄ CSV
选择方向:JSON 转 CSV 或 CSV 转 JSON。
粘贴你的数据并选择分隔符(逗号、分号或制表符)。
从输出面板复制转换后的结果。
This converter turns a JSON array of objects into CSV and parses CSV back into JSON, in both directions. Pick the direction, paste your data, choose the delimiter, and copy the result.
It is handy for moving data between spreadsheets, APIs and config files, and the whole conversion is client-side, so your data stays private.
It expects JSON as an array of objects, like [{"name":"Mo","age":3}]. The CSV columns are the union of all the keys across the objects, a single object becomes one row, and any nested value is written as JSON text inside its cell.
It follows the standard CSV quoting rules, so a value that contains the delimiter, a quote or a line break is wrapped in quotes and escaped correctly, and the CSV parser reads those values back without losing data.
You can choose comma, semicolon or tab as the delimiter. Comma is the default and most common; semicolon suits regions where the comma is the decimal separator and spreadsheets expect it; tab produces TSV.
When reading CSV back into JSON, it infers types sensibly: plain numbers and true/false become real JSON values, while a value with a leading zero such as 007 stays as text so identifiers and codes are not mangled.
常见问题
一个对象数组,如 [{"name":"Mo","age":3}]。列是所有键的并集。单个对象变为一行,嵌套值会以 JSON 形式写入单元格内。
处理。包含分隔符、引号或换行的字段会按 CSV 标准加引号并转义,CSV 解析器也能正确读回。
读取 CSV 时,普通数字和 true/false 会变成真实的 JSON 值,而带前导零的值(如 007)保持为文本,以免标识符被破坏。
不会。转换完全在你的浏览器中运行;你粘贴的内容不会离开你的设备。
嵌入此工具
将此工具添加到你自己的网站。复制下方代码片段即可,它会自动保持最新。
<iframe src="https://monu.tools/embed/zh/json-csv-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>相关工具