Free CSV to JSON Converter
Convert CSV data into a JSON array of objects, instantly and entirely in your browser.
How to convert CSV to JSON
-
1
Paste your CSV
Paste CSV data with a header row into the input box, and pick the matching delimiter if it isn't a comma.
-
2
Click "Convert →"
Each row becomes one JSON object, keyed by the header row's column names.
-
3
Copy or download
Click "Copy JSON" to grab the text, or "Download .json" to save it as a file.
Example use cases
Feeding a spreadsheet export into an API
Convert a CSV exported from Excel or Google Sheets into the JSON payload format an API expects.
Seeding test or fixture data
Turn a CSV of sample records into a JSON array to drop straight into a test file or seed script.
Migrating data between tools
Bridge a CSV export from one system into the JSON import format required by another.
Frequently asked questions
What CSV format does this expect?
A standard CSV with a header row on the first line and one record per following line. Quoted fields (with embedded commas, quotes, or newlines) are supported using the usual double-quote escaping.
What does "Infer numbers/booleans" do?
When checked, values that look like a number (e.g. 30) or a boolean (true/false) are converted to that type in the JSON output instead of staying as plain strings.
What if rows have a different number of columns than the header?
Extra values beyond the header are dropped, and missing trailing values are left out of that row's object rather than filled in with a placeholder.
Is my data uploaded anywhere?
No. Conversion happens locally in your browser using JavaScript — nothing you paste is sent to a server.