CSV to JSON
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Output appears here
Paste or open your data in the input box. It never leaves your browser.
CSV to JSON Converter
Paste CSV or open a .csv or .tsv file and get an array of JSON objects, one per row. Headers like address.city turn back into nested objects.
Example: a semicolon CSV from a European spreadsheet
Spreadsheets set to many European locales save CSV with semicolons, since the comma is their decimal mark. With Separator set to semicolon, the header row becomes the keys, address.city becomes a nested object, numbers and true/false become JSON values, a quoted cell keeps its semicolon, and the empty cell becomes null:
Input
id;name;address.city;active;joined
1;Ananya Rao;Pune;true;2026-10-01
2;"Rao; Kabir";Delhi;false;
Output
[
{
"id": 1,
"name": "Ananya Rao",
"address": {
"city": "Pune"
},
"active": true,
"joined": "2026-10-01"
},
{
"id": 2,
"name": "Rao; Kabir",
"address": {
"city": "Delhi"
},
"active": false,
"joined": null
}
]
How do I use the CSV to JSON?
- Paste CSV, or open a .csv file.
- Choose the separator if it isn't a comma.
- Copy the JSON or save it.
What does the CSV to JSON do?
- Header row becomes the keys
- Dotted headers become nested objects
- Numbers and true/false detected
- Comma, semicolon, tab, pipe or any character
When to use the CSV to JSON
CSV is how spreadsheets, databases and most admin panels export data, and JSON is what APIs, scripts and test fixtures need. Paste the CSV or drop the file, and each row becomes an object with the header row as its keys, ready for code, a mock server or another Bracely tool.
Numbers and true/false become JSON values, while values with leading zeros, such as PIN codes, phone numbers or 007, stay text so nothing is lost. An empty cell becomes null. Headers with dots, like address.city, become nested objects. Quoted cells may hold the separator, quotes or line breaks. The separator isn't guessed, so pick semicolon, tab, pipe or any character when it isn't a comma.
Frequently asked questions
- Why are my rows all in one column?
- The separator doesn't match the file. Many European spreadsheets save CSV with semicolons; set Separator to semicolon (or tab for TSV) and convert again.
- Will it change 007 or a phone number into a number?
- No. A value with a leading zero is kept as text, because turning it into a number would change it. Plain numbers like 411001 become JSON numbers.
- What about the other direction?
- Switch Direction to JSON → CSV. Nested keys become dotted columns, and values that look like spreadsheet formulas, such as =SUM(…), get a leading apostrophe so Excel doesn't run them.
- Can it read Excel files?
- Yes. Open or drop an .xlsx, .xls or .ods file anywhere on the page and it is read as JSON.
- Is my data uploaded?
- No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.
More JSON tools
Bracely has 108 JSON tools in one page. Related ones:
- XML to JSON
- JSON to TOML
- TOML to JSON
- JSON Lines / NDJSON
- JSON5 / JSONC to JSON
- JSON to SQL
- JSON to Markdown table
- JSON to HTML table
- JSON to query string
- JSON to plain text
- cURL to JSON
- Postman collection viewer
- BSON to JSON
- Number base converter
- JSON to PHP
- JSON to Zod
- Unflatten JSON
- Merge JSON
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON Diff
- jq Playground
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram