Tools · Text · CSV to JSON converter
CSV to JSON converter
Convert CSV to JSON or JSON to CSV, live as you paste - nothing ever leaves your browser.
Add a file and run the tool.
Your file is ready.
Try a different file, or try again.
Settings
Adjust the settings below. The result updates as you go.
Runs fully in your browser. Nothing is uploaded.
Runs fully in your browser. Nothing is uploaded.
How it works
Paste your CSV or JSON.
Pick a direction: CSV to JSON, or JSON to CSV.
Copy the result.
Frequently asked questions
No. Everything is converted entirely in your browser.
No. Every CSV value stays a string, so a leading-zero ZIP code or a phone number is never silently corrupted into a number.
You'll see a clear message asking for an array of objects (or a single object) instead of a generic error.
Yes. Set Separator to comma, semicolon or tab. Excel exports with semicolons in many countries, and the same setting applies to the CSV on either side of the conversion.
Guides
A closer look at specific problems this tool solves.
Why a "Simple" CSV to JSON Conversion Corrupts Data So Often
A ZIP code starting with a zero, a phone number, a quoted field with a comma inside it - CSV hides a handful of traps that a naive converter walks straight into.
Read the guideHow to Convert a CSV File to a JSON Array (and Back)
Paste, pick a direction, copy the result. One toggle handles both CSV to JSON and JSON to CSV, live as you type.
Read the guideWhy This CSV to JSON Converter Never Guesses a Number Type
Some converters turn "01234" into 1234 because it looks like a number. This one never does - here's the actual reasoning, and when you might want the guessing behavior anyway.
Read the guide
Comments