CSV to JSON Converter
Turn a CSV into an array of JSON objects in your browser, with proper handling of quoted fields, embedded commas and custom delimiters.

A CSV to JSON converter turns each row of a spreadsheet export into a JSON object keyed by the header row. This one parses quoted fields correctly, so commas and line breaks inside a cell do not break the output, and it runs entirely in your browser.
Runs entirely in your browser · no signup · nothing is uploaded · updated 2026-09-02
How to use it
- 1.Paste your CSV, including the header row.
- 2.Pick the delimiter if it is not a comma.
- 3.Copy the JSON array - numbers are converted, everything else stays a string.
Frequently asked questions
How do I convert a CSV to JSON without a script?
Paste it here. For repeated or very large conversions, use a script instead - Python's csv.DictReader and json.dump are four lines.
Does it handle commas inside quoted fields?
Yes. A field wrapped in double quotes may contain commas, and a doubled quote inside it is treated as a literal quote character, following RFC 4180.
Why are my numbers turning into strings, or vice versa?
Numeric-looking cells are converted to JSON numbers. That breaks zip codes and phone numbers with leading zeros, so quote those in the source CSV if the leading zero matters.
What delimiter should I use for European spreadsheets?
Semicolon. Locales that use a comma as a decimal separator export CSV with semicolons, which is why a French or German export looks like one column in an English tool.
Is my data uploaded?
No. Parsing runs in JavaScript on this page, which matters when the file is a customer export.
What happens to an empty cell?
It becomes an empty string, not null. Post-process if your schema needs nulls.
How do I handle nested data?
CSV is flat and cannot express nesting. Convert first, then reshape the flat objects in code - dotted column names like user.name need a second pass.
Can I go the other way?
Yes - the JSON to CSV converter takes an array of objects and produces the header row and rows back.
The guide behind this tool
CSV to JSON: converting without corrupting data
Why CSV parsing is harder than splitting on commas, what nesting does to a conversion, and the type coercion that quietly destroys zip codes and IDs.
Why your JSON won't parse, and how to find the character
The five things that make JSON invalid, how to read a parser error into a line and column, and what JSON does not allow that every other format does.
Tools that pair with this one
Diff Checker
Paste two versions of a text and see every added and removed line highlighted, computed in your browser with no upload.
JSON to CSV
Convert a JSON array into a CSV you can open in Excel or Google Sheets, with headers taken from every key that appears.
Password Generator
Generate strong random passwords in your browser using the Web Crypto API, with an entropy figure so you can see how strong they actually are.
JWT Decoder
Paste a JSON Web Token to decode its header and payload and read every claim, including expiry. Runs entirely in your browser.
Built something?
RankCert is a weekly launch board where products rank on domain control we verify ourselves - not upvotes. Listing is free and the link is dofollow whether or not you display our badge.