CSV to JSON Converter
Turn CSV into JSON in your browser. Handles quoted fields, embedded commas and line breaks, with a choice of delimiter and header row.
How to use the CSV to JSON Converter
- Paste your CSV. Drop in the rows, including the header line if you have one.
- Set the delimiter. Comma, semicolon or tab, depending on where the file came from.
- Copy the JSON. Copy the formatted array of objects straight out.
Frequently asked questions
- Is my spreadsheet data uploaded anywhere?
- No. Parsing happens entirely in your browser and nothing is transmitted, which matters for CSV in particular because exports so often contain customer or financial records.
- Are quoted fields with commas handled?
- Yes. Fields wrapped in double quotes may contain commas, line breaks and escaped quotes written as two double quotes in a row, which is what the CSV convention specifies.
- Why are my numbers still strings?
- Because CSV has no types, guessing them loses data. A leading-zero postcode or a long identifier becomes wrong the moment it is treated as a number, so values are kept as written unless you ask otherwise.
- What happens if a row has too few columns?
- Missing trailing fields become empty strings rather than being dropped, so every object keeps the same shape and downstream code does not have to test for absent keys.
Learn more
Related tools
- Developer Tools
JSON Formatter
Format, validate and minify JSON in your browser. Paste messy JSON, get readable output with a clear message when something is wrong.
- Converters
Color Converter
Convert colors between HEX, RGB, HSL and OKLCH. Pick a color or paste any format, and see every equivalent at once.
- Converters
Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Arbitrary precision, so large values stay exact.
- Converters
Unix Timestamp Converter
Convert Unix timestamps to readable dates and back. Handles seconds and milliseconds, your local time zone and UTC, live as you type.
- Developer Tools
Base64 Encoder & Decoder
Encode text to Base64 and decode it back, right in your browser. Handles Unicode correctly and never sends your data anywhere.
- Text Tools
Case Converter
Convert text between upper case, lower case, title case, sentence case, camelCase, snake_case and kebab-case, all at once.
Last updated