CSV → JSON
Convert CSV rows into a clean JSON array, with automatic type detection.
About this tool
Paste CSV rows and get back a proper JSON array of objects, using the first row as field names — the reverse of JSON → CSV, useful for turning a spreadsheet export into something an API or script can consume directly.
Automatic type detection
CSV has no concept of data types — everything is text. This tool looks at each cell and converts it to the type it clearly represents: empty cells become null, the literal text "true"/"false" becomes a real boolean, and numeric-looking cells become actual numbers rather than staying as quoted strings.
Quoted fields and commas
A properly quoted CSV field can contain commas, line breaks, or escaped quotes without breaking the row — the parser follows standard CSV quoting rules rather than just splitting on every comma, so addresses, descriptions, and other free-text fields with embedded commas come through intact.
Frequently asked questions
Does my CSV need a header row?
Yes — the first row is used as the property names for every object in the resulting array, so it should contain column headers rather than data.
Can I convert the result back to CSV?
Yes — the output is valid input for JSON → CSV, so you can round-trip between the two formats.