CSV to JSON Converter
Convert between CSV and JSON formats
Options
CSV
4 rows
JSON
CSV Format
CSV (Comma-Separated Values) is a simple file format used to store tabular data.
Each line represents a row, and values within a row are separated by a delimiter.
The first row typically contains column headers.
Name,Age,City
John,30,NYC
Jane,25,LA
JSON Format
JSON (JavaScript Object Notation) is a lightweight data interchange format.
Data is represented as an array of objects, where each object has key-value pairs.
Ideal for APIs and modern web applications.
[
{
"Name": "John",
"Age": "30"
}
]
Tips
- Use the delimiter dropdown to handle different CSV formats (comma, semicolon, tab, pipe)
- Toggle "First row is header" if your CSV doesn't have column names
- Use "Reverse" button to convert JSON back to CSV
- Values containing delimiters or quotes are automatically escaped
- Pretty print makes JSON more readable with proper indentation