CSV to JSON converter
Paste a CSV, get clean JSON. Quoted fields, commas and line breaks inside cells, and mixed delimiters are all handled — everything runs locally in your browser.
How to use
- Paste CSV on the left and press Convert. With Auto-detect, the delimiter is inferred from the first line.
- Keep First row is header checked to get an array of objects; uncheck it for an array of arrays.
- Use Download .json to save the result as a file, or copy it to the clipboard.
What the parser handles
- Quoted cells:
"hello, world"stays one field even though it contains a comma. - Escaped quotes:
"he said ""hi"""becomeshe said "hi". - Newlines inside cells: a line break inside quotes does not split the row.
- Ragged rows: rows with fewer cells get
nullpadding; extra cells are kept as-is so nothing is silently dropped.
Numbers and booleans
Cells that look like numbers (42, -3.14) or booleans (true / false) are emitted as JSON numbers and booleans, not strings — which is what downstream code usually expects. Everything else stays a string, including 007 and 1,000, so leading zeros and thousands separators never get mangled.
FAQ
Why does one column look wrong after conversion?
Check that the column is consistently quoted in the source. A cell containing the delimiter without quotes shifts everything after it. Also make sure the file does not mix commas and semicolons across rows — pick the delimiter explicitly in that case.
Does it support Excel's exports?
Yes, with two notes. Excel's "CSV UTF-8" export is ideal; the legacy "CSV" export may use a legacy encoding that shows mojibake — re-save as UTF-8. Semicolon-delimited exports (common on European locales) are detected automatically.
Is my data uploaded anywhere?
No. Parsing happens entirely in your browser's JavaScript. Nothing leaves the page, which is why it is safe to convert CSVs containing customer data or credentials.