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
Your files and text stay in your browser while you use this tool, and ads or anonymous visit statistics do not receive them. Only your favorites and recent tools are saved on your device. Privacy policy
Want proof? Check it with your browser’s Network tab: How to check that a tool does not upload your files
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.