🔄

CSV to JSON Converter

Convert CSV to a JSON array of objects, or JSON back to CSV

Convert CSV and JSON

Turn CSV (with a header row) into a JSON array of objects, or a JSON array of objects back into CSV. Quoted fields, embedded commas, and escaped quotes are handled. Everything runs locally in your browser.

FAQ

Does the first row need to be headers?

Yes. For CSV → JSON the first row is used as object keys. For JSON → CSV the header row is built from the union of all object keys.

Are quoted values with commas handled?

Yes. Fields wrapped in double quotes may contain commas, and a doubled quote ("") inside a quoted field is read as a literal quote.

What about numbers and types?

CSV has no types, so values become strings on CSV → JSON. On JSON → CSV, values are written as-is.