Something wrong with this tool?
About CSV To JSON Converter Online
This tool converts CSV data into a JSON array of objects. The first CSV row becomes the field names; each subsequent row becomes one JSON object. Quoted fields, embedded commas, and escaped quotes follow RFC 4180.
It bridges spreadsheet data and code-friendly data structures: once your CSV is JSON, you can load it into Node.js, Python, JavaScript or any modern language without further parsing.
The tool auto-detects delimiters (comma, semicolon, tab, pipe) and handles different newline styles (CRLF, LF). It also tolerates inconsistencies that real-world CSVs often have, so you don't need to clean the input first.
How to use this tool
How to convert CSV to a JSON array
Paste your CSV
Drop CSV content into the "CSV" field. The first non-empty line is treated as the header row; each subsequent line becomes one JSON object keyed by header.
How parsing works
The parser splits on commas, supports quoted cells with double-quote escapes (""), and strips outer quotes from each cell. Empty headers fall back to col0, col1, col2… so columns never collide.
Press Run
Result is a single `json` array of objects. Empty CSV input returns [] (no error). All values are strings — the parser does not coerce to numbers, booleans, or dates.
Watch the edge cases
Multi-line quoted values are NOT supported (a newline inside quotes still ends the row). For more complex CSVs (with TSV, semicolons, or escaped newlines), pre-clean the data or use a dedicated parser.