CSV to JSON
Convert CSV to a JSON array with header detection, type inference and delimiter auto-detection.
About the CSV to JSON
The CSV to JSON converter reads CSV or TSV exports and produces a JSON array. It detects the delimiter, can use the first row as keys, and can turn numbers and booleans into real JSON types.
Conversion happens in your browser, so your files and records stay private.
How to use the CSV to JSON
- Paste CSV or open a .csv file.
- Check the delimiter, header row and type inference options.
- Copy or download the JSON.
Frequently asked questions
What if my CSV has no header row?
Switch off "First row is header" and each row becomes an array of values instead of an object.
Are quoted fields with commas supported?
Yes. Quoted fields, escaped quotes and line breaks inside quotes are handled.
Related tools
JSON to CSV
Convert JSON arrays to CSV with automatic column detection, nested object flattening and custom delimiters.
JSON to XML
Convert JSON to well-formed XML with a configurable root element and attribute support.
XML to JSON
Convert XML to JSON, preserving attributes and repeated elements as arrays.
JSON to YAML
Convert JSON to clean, human-readable YAML.
YAML to JSON
Convert YAML documents to formatted JSON with syntax validation.
JSON to PHP Array
Convert JSON to a PHP array literal using short or long array syntax.