跳到内容
RapideTools

CSV 转 JSON

将 CSV 转换为 JSON。

Paste CSV to convert it to JSON. With the header-row option, the first row becomes the object keys; otherwise you get an array of arrays. Quoted fields and commas are handled. Everything runs locally in your browser.

你的输入在浏览器本地处理 —— 不会上传、存储或记录。

为你节省时间了吗?请我喝杯咖啡

工作原理

  1. 1 Paste your CSV.
  2. 2 Choose header-row and pretty-print options.
  3. 3 Copy or download the JSON.

常见用例

  • Import spreadsheet data as JSON.
  • Feed CSV to a JSON API.
  • Inspect CSV as structured data.
  • Convert exports between formats.

常见问题

Is my text sent to a server?

No. Everything runs locally in your browser — your text is never uploaded, stored or logged.

Are quoted fields supported?

Yes — fields wrapped in double quotes (including commas and escaped quotes inside them) are parsed correctly.

What does the header option do?

On: the first row becomes the keys for each JSON object. Off: each row becomes an array of strings.

Is it really free?

Yes — free, with no signup and no limits.