CSV to JSON Converter

Turn a CSV (first row as headers) into a JSON array of objects, or a JSON array back into CSV — quoted fields and commas inside values are handled correctly.

How to convert CSV to JSON

  1. Paste your CSV — the first row is treated as column headers.
  2. Tap "CSV ▸ JSON" (or paste a JSON array and tap "JSON ▸ CSV").
  3. Copy the result from the output box.

Frequently asked questions

How are commas and quotes inside values handled?

The parser follows standard CSV quoting: values wrapped in double quotes can contain commas and line breaks, and a doubled quote inside a quoted value means a literal quote. Converting back to CSV applies the same quoting automatically.

What JSON shape does it expect for JSON ▸ CSV?

An array of flat objects, like [{"name":"A","age":30}]. Column headers come from the union of all keys; nested objects aren't flattened.

Does my data leave the browser?

No — parsing and conversion run entirely on your device. Nothing is uploaded or logged.