CSV to JSON Converter
Paste CSV, get JSON. Handles quoted fields with embedded commas and escaped quotes, lets you pick the delimiter, and converts numbers automatically so the output is ready to use.
What the converter handles
- Quoted fields. A cell like
"Widget, Large"stays one field even though it contains the delimiter, and doubled quotes inside quotes ("") are unescaped correctly. - Number conversion. With it enabled,
19.99becomes the number19.99in JSON instead of the string"19.99". Turn it off if leading zeros matter - zip codes and SKU prefixes are the classic victims. - Delimiter choice. European spreadsheets export with semicolons; some systems use tabs or pipes. Pick the delimiter instead of hand-editing the file.
Usage example
An export from a storefront app gives you sku,price,qty rows. Paste them here, copy the JSON array, and it drops straight into a fetch() mock, a Stripe product import, or a JavaScript prototype without writing a parser. If the JSON has a syntax error afterwards, paste it into the JSON formatter - it will point at the exact character position.
Round-tripping the other way (JSON back to CSV) is best done with a script once the shape is known; this tool covers the everyday direction, import-to-prototype.
Frequently asked questions
Is my CSV uploaded anywhere?
No. Parsing and conversion happen in your browser with JavaScript. The data never leaves your device, which matters for customer lists and pricing sheets.
Why did my number lose leading zeros?
Number conversion is on; 0042 became 42. Uncheck "Convert numbers" to keep everything as strings.
Does it support multi-line quoted fields?
Yes. A quoted field containing line breaks is treated as one cell, which is how CSV exports from most spreadsheet apps encode embedded newlines.
Related tools
JSON Formatter & Validator
Format messy JSON with clean indentation, minify it back, or find the exact position of a syntax error.
UUID / GUID Generator
Generate RFC 4122 version 4 UUIDs in bulk, ready to copy as plain text, JSON, SQL or CSV.
Base64 Encoder & Decoder
Encode plain text to Base64 or decode Base64 back to text, including URL-safe variants.