Convert CSV into JSON with support for quoted fields, custom delimiters, and optional type inference — processed in your browser.
Your JSON will appear here after you convert.
This tool parses CSV text and converts it to JSON. With headers enabled, the first row names the columns and every following row becomes an object keyed by those names.
name,age
John,30
Jane,28[
{ "name": "John", "age": "30" },
{ "name": "Jane", "age": "28" }
]""), and even newlines when wrapped in double quotes — all parsed correctly by a proper CSV state machine, not a naive split.CSV has no types — every field is text. With “Infer types” enabled, "true"/"false" become booleans, "null" becomes null, and clean numbers become numbers. Leading-zero strings like "00123" are preserved as strings so identifiers aren’t corrupted.
Converting the other way? Use JSON to CSV. Validate the result with the JSON Validator.
By default the first row is treated as column headers, and each following row becomes an object keyed by those headers. You can turn this off to output arrays of values instead.
Comma, tab, and semicolon. Quoted fields, escaped quotes (""), and newlines inside quoted fields are all parsed correctly.
Only if you enable "Infer types". Then "true"/"false" become booleans, "null" becomes null, and clean numbers become numbers. Leading-zero strings such as "00123" are preserved as strings.
Yes. The parser is a proper CSV state machine, so commas, quotes, and newlines inside quoted fields are handled correctly — it does not simply split on commas or newlines.
No. Parsing and conversion happen entirely in your browser.