Convert CSV to JSON
Paste CSV or open a file. The header row becomes the keys, numbers and booleans are detected, and you get clean JSON to copy or download.
Results appear here as you paste.
Runs in your browser. Nothing you paste is uploaded.
How to use it
- 1
Paste CSV text or open a .csv file. Comma, semicolon, tab and pipe delimiters are detected automatically.
- 2
Choose whether the first row is a header, and whether to turn numbers and true/false into JSON types.
- 3
Copy the JSON or download it as a .json file.
Frequently asked questions
Short answers to what people usually ask before installing.
How are values typed?
Column by column. With "Detect numbers and booleans" on, a column becomes numbers only if every value in it is a plain number, and true/false only if every value is true or false; empty cells become null. A column with leading zeros (zip codes like 02134) or integers too long to store exactly (order or ID numbers) stays text, so one column never mixes numbers and strings.
What if two columns have the same name?
The second one gets a suffix: name, name_2. Empty headers are named by position, like column_3.
Can I convert an Excel file?
Save it as CSV first (File > Save As > CSV UTF-8), or copy the cells in Excel and paste them here. Pasted cells are tab-separated, and tabs are detected automatically.
My file uses semicolons. Is that OK?
Yes. Many European versions of Excel save CSV with semicolons; the delimiter is detected from the first line. Quoted fields with commas or line breaks inside work too.
Is my file uploaded?
No. The file is read and converted in your browser.
More free tools
Other small tools for extracting and cleaning web data. All run in your browser.
DataLens