CSV to JSON Converter - Convert CSV to JSON Online
Convert CSV to JSON
Paste CSV on the left and a JSON array appears on the right, one object per row, keyed by the header row. The delimiter is detected automatically, quoted fields are parsed per RFC 4180, and everything runs in your browser, so customer exports and other private files never leave your machine.
Example
A semicolon-separated export like this:
id;name;price;zip
1;"Smith, Jo";1.50;02134
2;Ann;12; with "Detect numbers, booleans and null" on, becomes:
[
{ "id": 1, "name": "Smith, Jo", "price": 1.5, "zip": "02134" },
{ "id": 2, "name": "Ann", "price": 12, "zip": "" }
] The semicolon was detected from the header, the comma inside the quoted name did not split the field, the ZIP code kept its leading zero because it stayed a string, and the empty ZIP became an empty string. The real output is indented one key per line; it is shortened here.
Gotchas
- Excel and leading zeros. If a ZIP code or product code was opened in Excel before being saved as CSV, the leading zero may already be gone. The converter cannot bring it back.
- Values are not trimmed. Header names are trimmed,
but cell values keep any spaces after the delimiter, so
a, bgives" b". - Everything is flat. Each row becomes a flat object.
Column names with dots, like
address.city, stay as literal keys rather than becoming nested objects.
Going the other way? Use the JSON to CSV converter. To explore the result, paste it into the JSON tree viewer or query it with the JSON path finder.
Related Tools
JSON to YAML Converter
Convert JSON data to clean, readable YAML format instantly.
JSON to XML Converter
Transform JSON objects and arrays into well-formed XML documents.
JSON to CSV Converter
Flatten JSON arrays into downloadable CSV spreadsheets in one click.
YAML to JSON Converter
Convert YAML configuration files to JSON format instantly.