CSV to Excel Converter
Convert CSV files to downloadable .xlsx Excel spreadsheets instantly in your browser. No upload to any server required.
CSV to Excel Converter tool
Example
Input: A CSV with a header and 3 data rows, including the quoted value "Doe, John", the amount 1234.5 and the zip code 00501
Result: An .xlsx with sheet Sheet1 (Rows 4, Columns 5): "Doe, John" stays in one cell, 1234.5 is a number and 00501 keeps its leading zeros
Quoted fields may contain commas, quotes and line breaks. Plain numbers become numeric cells, while values with leading zeros are kept as text.
How CSV Values Become Excel Cells
| CSV value | Excel cell | Why |
|---|---|---|
| 1234.5 | Number | Plain decimal number |
| -42 | Number | Negative whole number |
| 1.5e3 | Number (1500) | Scientific notation |
| 00501 | Text | Leading zero is kept |
| 1234567890123456 | Text | More than 15 digits |
| 1,200 | Text | Contains a comma |
| $1,200 | Text | Currency sign |
| 50% | Text | Percent sign |
| 3/15/2024 | Text | Dates stay as written |
| TRUE | Text | Not a number |
Results from the converter number rule; values are unquoted fields.
- Upload a CSV file by clicking the drop zone or dragging it in - it is converted right away.
- Let the tool auto-detect the delimiter, or manually select comma, semicolon, tab, or pipe from the options.
- Check the row count, column count, and detected delimiter in the results to confirm columns are correctly separated.
- Optionally set a custom sheet name for the output Excel workbook.
- Click Reprocess after changing any option, then download the .xlsx Excel spreadsheet.
Converting CSV to Excel Without Losing Data
This tool turns a CSV file into an .xlsx workbook that opens in Excel, Google Sheets and LibreOffice Calc. Drop the file in and it converts right away, with each value in its own cell and plain numbers stored as real numbers.
A CSV (comma-separated values) file is plain text. Each line is a row, and a delimiter splits the row into columns. Not every file uses a comma. Many European exports use semicolons, and some systems use tabs or pipes. The tool counts these characters in the first five lines and picks the most common one. If it guesses wrong, pick the delimiter yourself and click Reprocess.
The real risk in a CSV import is damaged data. When Excel opens a CSV directly, it often drops the leading zeros from ZIP codes and rounds long ID numbers. This converter avoids both. A value becomes a number only if it looks like a plain number and has at most 15 significant digits, which is the most Excel can store exactly. Everything else stays as text, exactly as written. That includes dates, prices with currency signs and percentages. Quoted fields can hold commas, quotes and line breaks without shifting the columns.
The file stays on your device. The SheetJS library builds the workbook in your browser, and files up to 20 MB are accepted. To go the other way, use the Excel to CSV Converter. If the data is headed for code rather than a spreadsheet, CSV to JSON may suit you better.
Sources
Frequently Asked Questions
Related Tools
Excel to CSV Converter
Parse .xlsx and .xls Excel spreadsheets to CSV format with sheet selection. All processing happens in your browser.
File ConvertersJSON to CSV Converter
Convert a JSON array of objects to CSV with automatic column headers, and convert CSV back to JSON in the same tool.
Developer ToolsCSV to JSON Converter
Convert CSV data to a JSON array of objects with header mapping and automatic comma, semicolon, or tab detection.
Developer ToolsZIP Creator
Combine multiple files into a downloadable ZIP archive entirely in your browser using JSZip. No server upload needed.
File Converters