CSV to JSON
Paste a CSV table and get JSON. The first row can become object keys, or every row can be an array of cells. The delimiter can be detected automatically.
CSV
Limits
- The input is limited to 2 MB of UTF-8 text (8 MB if you load a file). Larger files can run out of memory in a phone browser tab.
- All values are strings. There is no automatic date or number conversion.
- A broken quote, or a delimiter guess that is wrong, can merge columns. The first parse error is shown.
- Very large spreadsheets (tens of thousands of rows in a small phone tab) may run out of memory.
- This is not a formula engine: cells are plain text, not Excel formulas.
JSON
How to use CSV to JSON
- Paste CSVType, paste or load a .csv or .tsv file.
- Choose header and delimiterUse the first row as keys, and pick comma, semicolon, tab, or auto-detect.
- Copy or downloadCopy the JSON or download a .json file.
How the CSV is read
Papa Parse (MIT) reads the text in this tab, honoring quoted fields and embedded newlines. With a header row, each record is a JSON object whose keys come from that first row. Without a header, each record is an array of strings.
Cells stay strings: "001" is not turned into the number 1, and empty cells are empty strings. Auto-detect looks at the first rows to guess the delimiter; if your file is unusual, pick the delimiter yourself.
Frequently asked questions
Is my text or file uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.
Why are numbers quoted as strings in the JSON?
So leading zeros and long identifiers are not silently changed. Convert fields to numbers in your own code if you need to.
My file uses semicolons.
Choose semicolon as the delimiter, or leave it on auto-detect if the first rows make that obvious.
Can this read a .xlsx file?
No. Use Excel to CSV or PDF/Excel tools for workbooks. This page expects comma-separated (or similar) text.
Related tools
All toolsJSON to CSV
Turn a JSON array of objects into a CSV table, with optional flattening of nested keys.
JSON Formatter & Validator
Format, minify, sort keys, and catch syntax errors cleanly.
CSV to Excel Converter
Turn CSV and TSV files into proper XLSX workbooks.
Excel to CSV Converter
Export every sheet of XLSX, XLS or ODS workbooks to CSV.