Tools / Data
CSV and JSON converter
Convert CSV to JSON or JSON to CSV in your browser. Paste data or open a file, then copy or download the result. Nothing is uploaded.
How to use it
- Choose the direction: CSV to JSON, or JSON to CSV.
- Paste your data or open a file.
- Press Convert, then copy or download the result.
About this tool
Convert CSV to JSON, or turn JSON back into CSV, with a paste or a file and no upload. CSV to JSON uses the first row as field names and turns each following row into an object. JSON to CSV expects an array of objects and uses their keys as the header row. Parsing is done with Papa Parse in your browser.
How the conversion works
In CSV to JSON, the first row becomes the keys and every other row becomes an object, so a spreadsheet turns into a list of records for an API or app. In JSON to CSV, the keys become the header row, which opens in Excel and Google Sheets.
Things to check
JSON to CSV needs a list of objects. Nested values are written into one cell as text, so flatten them first if you need separate columns. Quoted commas and line breaks inside CSV cells are handled correctly. Your data stays in your browser.
Questions
Does it handle commas inside quotes?
Yes. Quoted fields are parsed correctly.
Does my data get uploaded?
No. Conversion runs in your browser.
What JSON shape does JSON to CSV need?
An array of objects, for example [{"name":"Ali","age":30}].
Are numbers converted?
Yes. Numeric and boolean values in CSV become numbers and booleans in JSON.