Skip to content
KitWren
Website

CSV to JSON Converter

Convert CSV (or TSV) to JSON, using the header row for keys and detecting numbers.

  1. Paste your input
  2. Choose the options
  3. Copy the output
Runs in your browser. Your data and files never leave your device.

About the CSV to JSON Converter

Paste CSV or upload a file to get a JSON array of objects. Quoted fields, commas inside quotes and different delimiters are handled.

Example

The CSV name,age / Ana,34 / Ben,29 becomes [{"name":"Ana","age":34},{"name":"Ben","age":29}] — the header row supplies the keys and numbers are detected.

Frequently asked questions

What if a field contains a comma?

Wrap it in double quotes, as spreadsheet programs do when exporting CSV: "Sydney, NSW". Quotes inside a field are doubled.

Can I convert semicolon-separated files?

Yes — CSV exported in many European locales uses semicolons, and tab-separated files work too.