Turn CSV files into JSON with this free online CSV to JSON Converter. Provide your CSV data by entering it directly into the editor or by importing a CSV document from your device. You can also adjust header settings, delimiters, quote characters, empty value handling, and the appearance of the generated JSON structure.
When the process is complete, the converted JSON can be copied for immediate use or saved to your device. You can also use our CSV Formatter to arrange and review CSV content before converting it to JSON.
CSV To JSON Converter
Converted JSON
Key Features Of This Tool
- Quickly converts CSV data into well-structured JSON format.
- Import CSV by pasting it directly into the editor or uploading a file from your device.
- Specify whether the first row of the CSV contains column headers.
- Choose your preferred CSV delimiter, including comma, colon, semicolon, dot, or tab.
- Select either single or double quotes as the CSV text qualifier.
- Decide how empty values should be represented in the generated JSON, such as
nullor empty strings. - Format the output using multiple indentation options, including 2-space, 3-space, 4-space, compact, or tab-indented JSON.
- Enjoy syntax highlighting for improved readability of the generated JSON.
- Copy the converted JSON with a single click.
CSV To JSON Conversion Example
Input CSV
id,name,category,price
101,Laptop,Electronics,850.00
102,Office Chair,Furniture,120.00
103,Wireless Mouse,Accessories,25.50
Converted JSON
[
{
"id": "101",
"name": "Laptop",
"category": "Electronics",
"price": "850.00"
},
{
"id": "102",
"name": "Office Chair",
"category": "Furniture",
"price": "120.00"
},
{
"id": "103",
"name": "Wireless Mouse",
"category": "Accessories",
"price": "25.50"
}
]