CSV to JSON
Read a CSV header as property names and convert the following rows into objects. Keeping values as strings avoids guessing whether an identifier, date or number needs conversion.
How to use it
- Paste CSV with a unique, nonempty header row.
- Select Run tool.
- Inspect the JSON values, then copy or download the result.
Worked example
name,note
Ada,"London, UK"
produces:
[
{ "name": "Ada", "note": "London, UK" }
]
Limits and troubleshooting
Every data row must have the same field count as the header. Quoted commas, doubled double quotes and quoted line breaks are supported; tab and semicolon delimiters are not detected. Values remain strings, so 0010 keeps its leading zeros. Empty or duplicate headers are rejected. Limit: 200,000 input characters.
Frequently asked questions
Why is 10 output as a string?
The tool preserves CSV text rather than inferring types. Convert particular properties according to the receiving application’s rules.
Why does a row-width error appear?
Inspect the source with CSV Viewer, which accepts differing row widths. Check unquoted commas and missing fields. A comma inside a value needs quotes, and a quote within a quoted value must be doubled.





