CSV to JSON
Convert CSV spreadsheets to JSON arrays in your browser. Supports quoted fields, escaped quotes, custom delimiters, and inconsistent row lengths. Free and private.
All processing happens locally in your browser. Files are never uploaded.
CSV input
Introduction
CSV to JSON turns a CSV table into a clean JSON array of objects, using the first row as keys. It handles quoted fields, double-quote escaping, CRLF line endings, and lets you pick the delimiter for comma, semicolon, or tab-separated files.
Features
- Correct parsing of quoted fields and escaped double quotes
- Comma, semicolon, and tab delimiter support
- First row becomes object keys; missing fields become null
- Reports row and column counts and warns about mismatched rows
- Copy or download the JSON output
How to use
- 1Upload a .csv file or paste the CSV text.
- 2Select the delimiter used by your file.
- 3Click Convert and review the generated JSON.
- 4Copy or download the result.
Frequently asked questions
Related tools
JSON Formatter
Format, beautify, minify and validate JSON instantly in your browser. Free, private, no upload required.
JSON to YAML
Convert JSON to YAML and YAML back to JSON in your browser. Validates input, shows precise errors, and supports copy and download. Free and private.
JSON Validator
Validate JSON instantly in your browser with precise line and column error reporting. Supports JSON Lines batch checking. Free, private, no upload.
SQL Formatter
Format and beautify SQL in your browser. Choose PostgreSQL, MySQL, SQLite, BigQuery, T-SQL and more, pick indentation, then copy or download.