Paste your CSV into the Quick paste box. The tool reads commas, double quotes and line breaks inside cells correctly and writes JSON on the right. Copy it or download the file.
Runs entirely in your browser. Your data is never uploaded. Tiếng Việt
You convert CSV to JSON when you feed an API, a config file, a static site or a JavaScript app. The hard part is rarely splitting columns. It is cells that contain commas, order IDs with leading zeros, and numbers that turn into strings or the other way around. This page opens with an array of objects and numbers exported as numbers; change both in the options panel if your target expects something else.
Quick paste box, or press Import file and choose a .csv file. When you paste, tabs or commas are detected and the data lands in the grid.⚙ Options on the JSON tab, pick the output shape and decide whether numbers should stay numbers.Copy result to paste into code, or Download file to get a .json file.The order ID 00123 stays a string, so its leading zeros survive, while the amounts stay quoted: 450.00 is not a standard number because its trailing zeros would be lost, so number export leaves it as a string. The comma inside the note and the double quotes inside another cell were handled on input.
Order ID,Customer,Amount,Note
00123,Anna Reed,450.00,"Rush delivery, call first"
00124,Ben Cole,1250.00,"Includes ""gift wrap"""
00125,Cara Lin,299.50,[
{
"Order ID": "00123",
"Customer": "Anna Reed",
"Amount": "450.00",
"Note": "Rush delivery, call first"
},
{
"Order ID": "00124",
"Customer": "Ben Cole",
"Amount": "1250.00",
"Note": "Includes \"gift wrap\""
},
{
"Order ID": "00125",
"Customer": "Cara Lin",
"Amount": "299.50",
"Note": ""
}
]450 or 3.5 become JSON numbers; a value such as 450.00 with trailing zeros stays a string. IDs with leading zeros such as 00123 always stay strings, so you cannot lose the zeros by accident.orders and the whole array is wrapped as {"orders": [...]}, which suits APIs that reject a bare array.Quick paste box only auto-detects tabs and commas. On the CSV tab, open ⚙ Options, set Delimiter to semicolon and paste the text into the CSV result area; the grid on the left follows.00123 stay intact._2, _3 suffixes so JSON keys do not overwrite each other. Check key names before you paste them into code.column_1, column_2 and so on. Fix the header in the grid before copying.The Quick paste box auto-detects tabs and commas, not semicolons. For a semicolon file, set Delimiter to semicolon on the CSV tab and paste into the CSV result area.
No. Reading the CSV and building the JSON happen in your browser, and the page makes no network request to send data anywhere.
Open ⚙ Options on the JSON tab and turn on number export. Only standard numbers convert; IDs with leading zeros stay strings.
Yes. Choose array per column as the output shape and each header becomes a key holding the list of that column's values.
Yes. Paste the JSON into the Quick paste box and open the CSV tab. See the JSON to CSV page under related conversions.