Convert CSV to JSON
Convert CSV into a pretty-printed JSON array of objects — parsed locally with proper type detection, nothing uploaded.
Loading tool…
What is CSV?
CSV (comma-separated values) is the universal export format for spreadsheets and databases — one row per line, columns split by commas.
Why convert CSV to JSON?
APIs, config files, and JavaScript code all speak JSON. Converting a spreadsheet export to JSON lets you feed it straight into a program without hand-editing.
How the conversion works
The first row becomes the object keys. Each following row becomes one object, and numbers and booleans are detected automatically so "42" becomes 42, not a string.
How to csv to json
- Drop a .csv file into the zone above, or paste CSV into the text tab.
- The header row is used as the JSON keys automatically.
- Press Convert to parse locally in your browser.
- Preview the JSON, then download it.