Skip to content

格式化与代码

CSV 转 JSON 转换器

免费的 CSV 转 JSON 转换器。粘贴带有标题行的 CSV,即可获得一个整洁的对象 JSON 数组。自动检测数字和类型。在浏览器中运行。

Runs in your browser
CSV · source
lines: 0chars: 0size: 0 B
CSV
JSON · target
lines: 0chars: 0size: 0 B
JSON

编辑注

Understanding · Tables into trees.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

Quick answers.

Does my header row need quotes?

Optional. We handle both quoted and unquoted headers, with comma or tab delimiters.

Are numbers auto-detected?

Yes. If a value parses as a number, it becomes a JSON number; otherwise it stays a string. Booleans (true/false) are also detected.

What delimiter is used?

Comma is default. Tab and semicolon are auto-detected from the first line.

Is my CSV uploaded?

No — conversion runs entirely in your browser.

Is the converter free?

Yes — fully free, no signup.

大家也在搜索

Use with

What people reach for next.

相关工具

More in this room.

查看所有 格式化与代码