CSV to JSON Converter
Convert CSV spreadsheets into clean JSON arrays of objects locally in your browser with full RFC-4180 quoted-comma support, custom delimiter choice, and automatic number parsing.
Parse Real-World Spreadsheets Without Breaking on Quoted Commas
Naive CSV scripts that simply call line.split(",") shatter as soon as a customer address or product title contains a comma inside quotes like "Lovelace, Ada". This converter implements a proper state-machine RFC-4180 CSV parser directly in client-side JavaScript, respecting quoted commas, escaped double quotes (""), semicolon European exports, and tab-separated TSV pastes.
Toggle automatic typing to convert numeric strings (42, 19.99) and booleans (true/false) cleanly into native JSON primitives, or leave everything as strings when preserving leading-zero ZIP codes and phone numbers. Pair with CSV Column Extractor, CSV to Markdown Table, and Clean CSV Without Excel Guide.
Handling International Semicolon CSVs & Leading-Zero IDs
European Excel locales export CSV files separated by semicolons (;) instead of commas because commas serve as decimal separators. Meanwhile, auto-parsing ZIP codes like 02138 as numbers strips the leading zero. Use the Delimiter dropdown and toggle Auto-parse Numbers & Booleans off whenever preserving exact string codes matters. Read more in Cleaning Messy CSV, Markdown & Unicode Text.
Frequently Asked Questions
- Does this CSV parser handle commas inside quoted text?
- Yes. It implements an RFC-4180 state-machine parser that preserves quoted commas and escaped double quotes ("").
- How do I keep leading zeros on ZIP codes or SKU numbers?
- Uncheck Auto-parse Numbers & Booleans so every cell stays a literal string.
- Are spreadsheet customer lists uploaded anywhere?
- No. Conversion runs 100% locally inside your browser tab.