Convert CSV and JSON without uploading your data
Move data between spreadsheets and code. Paste or open a file, and get clean JSON or CSV back. The conversion happens on your device, which matters for customer lists and exports.
- No sign-up
- No watermark
- No daily limits
- Works on phones too
- Data sent by this page: 0 bytes
The file is read on your device. Nothing is uploaded.
How to convert between CSV and JSON
- Choose CSV to JSON or JSON to CSV. A sample CSV is loaded.
- Paste your data, or open a file. The separator is detected for you, or you can pick one.
- Tick whether the first row holds the column names, and whether numbers and true or false should become real values.
- Press Copy, or Download to save the result as a file. Use the other direction to reverse it.
Questions people ask
How does it handle commas and line breaks inside a value?
It follows the CSV standard: a value that contains a comma, a quote mark or a line break is wrapped in double quotes, and a quote inside it is written twice. The reader and the writer both do this, so values come through intact.
Which separators does it support?
Comma, semicolon, tab and pipe. By default the page looks at the first line and picks the one that appears most. Many European spreadsheets save CSV with semicolons, so the detection saves a step.
What does The first row holds the column names do?
With it ticked, each later row becomes an object with the column names as keys. With it unticked, you get a list of lists, and when going to CSV no header row is written.
Why are some of my values numbers and others text?
With Turn numbers and true or false into real values ticked, values such as 34 or true become a number or a boolean. Untick it to keep everything as text, for example for ID numbers with leading zeros, which are never turned into numbers.
What happens to nested JSON?
A value that is itself an object or a list is written into one CSV cell as JSON text, because CSV is flat. Columns are the union of all keys in all objects, in the order they first appear.
Is my CSV file uploaded?
No. The file is read in your browser and converted there. Customer lists and exports stay on your device.
Why does my CSV look wrong in Excel?
Excel guesses the separator and the text encoding from your computer's regional settings. If columns run together, import the file with the right separator, or change the separator here to match your settings.