CSV to JSON Converter
Turns a CSV into an array of objects, or an array of objects back into a CSV. Quoted fields, escaped quotes and newlines inside cells are handled properly — the cases that silently corrupt data elsewhere.
CSV to JSON Converter
2 rows · 3 columns · comma-separated
How to use it
- Pick a direction, then paste your data into the left box.
- Leave the delimiter on automatic unless the guess is wrong — comma, semicolon, tab and pipe are all detected.
- Read the row and column count underneath to confirm it parsed the way you expected.
- Turn off "convert numbers and booleans" if you want every value kept as a string.
- Check any warnings shown: a ragged row or a duplicate column name means something will not survive the conversion intact.
Frequently asked questions
- Does this handle commas inside quoted fields?
- Yes, along with escaped double quotes and newlines inside cells. The parser tracks quote state character by character rather than splitting on delimiters, which is what makes those cases work.
- Why is my number showing as text?
- Values with a leading zero are kept as strings on purpose, because they are almost always phone numbers, postcodes or reference codes. Turning 007 into 7 is a data-loss bug, not a convenience.
- Is my file uploaded to a server?
- No. Parsing and conversion both run in your browser, so the data never leaves your device — which matters, since most of what people convert is customer or financial records.
Related tools
- JSON Formatter and ValidatorPretty-print, minify or sort JSON, and get syntax errors reported by line and column with the offending line shown. Runs entirely offline.
- Text Diff CheckerCompare two texts and see exactly which lines were added, removed or kept, aligned properly rather than line by line. Runs in your browser.
- Base64 Encoder and DecoderEncode and decode Base64 in your browser, including URL-safe Base64. Handles emoji, Sinhala and Chinese, which btoa-based tools cannot.
Built and maintained by Kavitha Kanchana
Software engineer at Cortana AI and co-founder of Ryzera Technologies, based in Sri Lanka. Found a bug or a wrong number? Email me.