CSV to JSON Converter
Paste a CSV and get clean JSON — first row as keys, smart delimiter detection and optional number and boolean typing. All in your browser.
From spreadsheet to structured data
CSV is what spreadsheets and exports give you; JSON is what APIs, config files and JavaScript actually want. This converter bridges the two, turning each row into an object keyed by your header — ready to drop into code, seed a database or paste into a request.
How to use it
- Paste your CSV into the left box, or load the sample to see the shape.
- Tune the options. Choose whether the first row is a header, let it infer numbers and booleans, and pick pretty or minified output.
- Copy or download the JSON on the right.
Frequently asked questions
Does it handle quoted fields and commas inside values?
Yes. The parser follows the standard CSV rules: fields wrapped in double quotes can contain commas, line breaks and escaped quotes (""). So a value like "Curie, Marie" stays a single field.
Can it auto-detect the delimiter?
Yes. Leave the delimiter on Auto and it samples the first few lines to choose between comma, semicolon and tab. You can also force a specific delimiter if you prefer.
What does 'infer types' do?
With it on, cells that look like numbers become JSON numbers, true/false become booleans and null becomes null, instead of every value being a string. Turn it off if you need everything kept as text — for example to preserve leading zeros in IDs.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser with JavaScript. Your CSV never leaves your device, which makes it safe for sensitive or proprietary data.