Header row
The first CSV row is used as object keys, which is the most common format for spreadsheet exports.
Browser-based developer tools
Convert CSV rows into formatted JSON arrays using the first row as object keys.
Reference notes
The first CSV row is used as object keys, which is the most common format for spreadsheet exports.
The parser handles quoted fields, commas inside quotes and escaped quote characters.
JSON output is pretty-printed so it can be copied into tests, docs and API examples.
Frequently asked
Fields wrapped in double quotes can contain commas without being split into extra columns, following the same convention most spreadsheet software uses when exporting CSV.
Without a header row, columns are converted using generic keys such as column1, column2. Include a header row if you want the resulting JSON keys to match your actual field names.
Yes, values that look like plain numbers or true/false are converted to their JSON-native types rather than left as quoted strings, unless the field was quoted in the source CSV.