CSV to JSON converter
Convert CSV data to JSON format with custom delimiters
- Paste your CSV data into the input field
- Select the delimiter used in your CSV (comma, semicolon, tab, or pipe)
- Check "First row is header" if your CSV has column names in the first row
- Enable "Pretty print JSON" for readable output, or disable for compact JSON
- Click "Convert to JSON" to perform the conversion
- Copy the output or download it as a .json file
CSV input:
name,age,city Alice,28,Portland Bob,35,Seattle
JSON output:
[
{
"name": "Alice",
"age": "28",
"city": "Portland"
},
{
"name": "Bob",
"age": "35",
"city": "Seattle"
}
]What is CSV?
CSV (Comma-Separated Values) is a simple file format for storing tabular data. Each line represents a row, and values are separated by commas (or other delimiters).
What delimiters are supported?
Common delimiters include comma (,), semicolon (;), tab, and pipe (|). Choose the one that matches your CSV file.
What if my CSV has headers?
Enable "First row is header" to use the first row as JSON object keys. Disable it to convert rows to arrays.
Should I use pretty print?
Pretty print adds indentation for readability. Disable it for compact JSON (useful for APIs or storage).
Can I convert large CSV files?
Yes, but very large files may slow down your browser. For files over 10MB, consider using a desktop tool.