CSV 转 JSON 在线转换器

Free 免费 · 无需注册 · 数据不上传
Delimiter
Types
Output
Error
CSV
JSON
// JSON output

更多开发工具

CSV 格式化
格式化与验证
JSON→CSV
转 CSV 表格
YAML→JSON
转 JSON
XML→JSON
转 JSON
TOML→JSON
转 JSON
JSON 格式化
格式化、验证与压缩
正则表达式
实时测试
URL 编码
百分比编码

为什么这是最好的 CSV 转 JSON 工具

自动表头检测

The first row is automatically used as JSON keys. Each subsequent row becomes a JSON object in the output array.

智能类型推断

Numbers, booleans (true/false), and null values are automatically inferred. Disable type inference to keep all values as strings.

自定义分隔符

Supports comma, semicolon, tab, and pipe delimiters. Perfect for European-style CSVs that use semicolons, or TSV files.

下载 JSON

Export the converted result as a .json file ready for use in any API, database import, or application.

常见问题

How do I convert CSV to JSON?

Paste your CSV text into the input field and click Convert. The first row is treated as the header and becomes the JSON keys. Each subsequent row becomes an object in the JSON array.

Does it handle quoted fields with commas inside?

Yes. The parser fully supports RFC 4180 CSV, including fields wrapped in double quotes that contain the delimiter character, commas, or newlines.

What if my CSV has no header row?

The tool assumes the first row contains headers. If your data has no headers, add a header row with column names (e.g. col1,col2,col3) before pasting.

深度指南
数据格式转换指南
CSV、XML、JSON、HTML 与 Markdown
阅读指南