CSV to JSON
Convert CSV to JSON and back, quotes and all.
Loading the tool on your device…
CSV to JSON turns rows into a list of objects, using the first row as keys, and turns a JSON array back into a spreadsheet-ready CSV. It handles quoted fields, commas inside values and line breaks.
Updated 6 December 2026 · runs in your browser
How to use it
- Paste CSV or JSON, or open a file.
- Choose the direction and, if needed, the separator.
- Copy or download the result.
Details
| Input | CSV with commas, semicolons, tabs or pipes; or a JSON array |
|---|---|
| Numbers | Converted only when they read back the same, so 007 and long IDs stay text |
| Nested JSON | Written into a single CSV cell as JSON |
Questions
Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
My spreadsheet uses semicolons. Will it work?
Yes. The separator is detected from the first lines, and you can set it by hand.
Related tools
- JSON Formatter
Tidy, check or minify JSON as you paste it.