About CSV to JSON
The CSV to JSON converter transforms spreadsheet exports and other comma-separated data into JSON — either an array of objects (using the first row as keys) or an array of arrays. It handles the tricky parts of real CSV correctly: quoted fields, escaped quotes, and commas or line breaks inside values.
Numbers, booleans and nulls are detected and converted to proper JSON types instead of strings, and you can switch the delimiter to semicolons or tabs for European-style exports and TSV files. Conversion is instant and private — your data never leaves the browser.
How to Use the CSV to JSON
- Paste CSV data (straight from Excel, Google Sheets or a .csv file).
- Toggle 'First row is headers' and pick the delimiter if needed.
- Copy the resulting JSON from the output pane.
Features
- RFC 4180-style parsing: quoted fields, escaped quotes, embedded newlines
- Header row → array of objects, or raw array-of-arrays mode
- Automatic type detection for numbers, booleans and null
- Comma, semicolon and tab delimiters
Frequently Asked Questions
How do I convert an Excel sheet to JSON?
In Excel or Google Sheets, copy the range or export as CSV, paste it here, and copy the JSON output. Keep 'First row is headers' on if your sheet has column names.
Why are my numbers quoted as strings?
Values that aren't plain numbers (like '007' with a leading zero, or '1,000' with separators) stay as strings to avoid corrupting data. Clean numeric values convert automatically.
Is the CSV to JSON converter free?
Yes, the CSV to JSON converter is completely free with no usage limits. No signup, no account and no installation required.
Is my data safe?
Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.
Related Tools
JSON to CSV
Convert a JSON array to CSV with automatic column detection and proper quoting. Free online JSON to CSV converter.
JSON Formatter
Format, validate and beautify JSON online. Free JSON formatter with indentation options and key sorting — runs entirely in your browser.
YAML Formatter
Format and validate YAML, or convert between YAML and JSON. Free online YAML formatter for configs, pipelines and Kubernetes files.
Text Diff
Compare two texts and highlight the differences line by line. Free online diff checker — runs entirely in your browser.