CSV to JSON Converter
Convert CSV to JSON instantly. Paste any CSV with headers and get a clean JSON array of objects. Free online CSV to JSON converter — supports comma and tab delimiters.
Output will appear here
Press ⌘ Enter to convert
How It Works
- 1Paste your CSV with a header row as the first line
- 2DevConvert parses each row into an object keyed by the header names
- 3Copy or download the resulting JSON array
Examples
Input
name,age,city Alice,30,Bangalore Bob,25,Mumbai
Output
[
{ "name": "Alice", "age": "30", "city": "Bangalore" },
{ "name": "Bob", "age": "25", "city": "Mumbai" }
]Input
product,description,price Widget,"A small, useful widget",499 Gadget,"The ""best"" gadget",999
Output
[
{ "product": "Widget", "description": "A small, useful widget", "price": "499" },
{ "product": "Gadget", "description": "The \"best\" gadget", "price": "999" }
]Frequently Asked Questions
Does this work with Excel-exported CSV?
Yes. Excel-exported CSV files use standard comma separation and RFC 4180 quoting, which DevConvert handles correctly including quoted fields with commas and escaped double-quotes.
Are number strings converted to numbers in JSON?
Currently all CSV values are treated as strings in the JSON output to avoid incorrect type coercion. Cast the values to numbers in your application code after importing.
What delimiter does this support?
DevConvert auto-detects commas. Tab-separated values (TSV) are also supported — paste them and the converter will parse them correctly.