CSV ↔ JSON Converter
Move data between spreadsheets and code. The first row can be used as keys, numbers and booleans can be typed automatically, and JSON arrays of objects turn back into CSV with a header row.
Runs entirely in your browser. Your input and files are not uploaded to any server.
How to use
- Choose the direction: CSV → JSON or JSON → CSV.
- Paste data or open a file.
- Set the options, press Convert, then copy or download.
Examples
name,age\nSara,31 → [{"name":"Sara","age":31}]
[{"a":1,"b":"x"}] → a,b\n1,x
Privacy
Runs entirely in your browser. Your input and files are not uploaded to any server. See the privacy policy for what is stored in your browser (favorites and history only). Privacy policy
Check it yourself: open your browser’s developer tools, select the Network tab and use the tool. Your file never appears in an upload request. Once this page is saved for offline use, you can also disconnect from the internet and keep working. Ads and anonymous visit statistics, when enabled, make their own requests, but they never receive your files or text.
Frequently asked questions
What happens to nested JSON objects?
Nested objects are flattened with dot notation (address.city). Arrays inside values are written as JSON text in the cell.
Why are some numbers kept as text?
Values with leading zeros like 00123 or very long numbers are kept as text so that IDs and phone numbers are not damaged.