CSV ⇄ JSON Converter
Turn spreadsheets into clean JSON — and JSON back into CSV — in one click.
Waiting for input…
How it works
Convert both ways, without your data ever leaving this page.
Paste your data
Drop in CSV or JSON. Set the delimiter and say whether the first row is a header.
Convert instantly
We parse it live — including quoted fields that contain commas, quotes or line breaks.
Copy or download
Grab the result with one click, or save it as a .json or .csv file.
CSV to JSON, and JSON to CSV
This tool converts CSV (comma-separated values) into readable, pretty-printed JSON, and converts JSON arrays of objects back into a clean CSV file. In CSV → JSON mode with the header toggle on, each column heading becomes a key and every following row becomes an object. Turn the header off to get a plain array of arrays instead.
In JSON → CSV mode, paste an array of objects (or a single object) and the tool collects every key across your records into column headers, then fills in each row — leaving blanks where a record is missing a field. Values that contain the delimiter, a quote or a newline are automatically wrapped in quotes so the CSV stays valid in Excel, Google Sheets and Numbers.
Handles the tricky bits
Real-world CSV is messy. The parser correctly reads quoted fields like
"Smith, John", escaped quotes ("") inside a field, and values that span
multiple lines. Pick a comma, semicolon, tab or pipe delimiter to match your source file.
Is my data private?
Completely. Every conversion happens locally in your browser using plain JavaScript. Nothing is sent to a server, so even large or sensitive files never leave your device.
Frequently Asked Questions
Can it convert both CSV to JSON and JSON to CSV? ▼
Does it handle commas and quotes inside a field? ▼
Which delimiters are supported? ▼
What if my first row isn't a header? ▼
Can I copy or download the result? ▼
.json or .csv file.