How to use CSV to JSON
Parse quoted CSV fields into an array of objects. Quoted commas, escaped double quotes and line breaks are supported. All values remain strings; headers must be unique and row widths consistent.
- Set Input.
- Run the tool, review the result and its stated limitations, then copy or download if needed.
Example & practical use
Parse quoted CSV fields into an array of objects. The example below demonstrates Input.
Example input:
{
"text": "a,b\n\"x,y\",2"
}
Expected result (relevant fields):
"[\n {\n \"a\": \"x,y\",\n \"b\": \"2\"\n }\n]"Features & result limitations
Quoted commas, escaped double quotes and line breaks are supported. All values remain strings; headers must be unique and row widths consistent.
Frequently asked questions
What inputs does CSV to JSON accept?
Input
How should I interpret the CSV to JSON result?
Quoted commas, escaped double quotes and line breaks are supported. All values remain strings; headers must be unique and row widths consistent.
Where does CSV to JSON process my data?
Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.