How do I convert a CSV to XLSX (Excel)?
A CSV is plain text: one row per line, values separated by a comma, a semicolon, a tab or a pipe. An XLSX is an Excel workbook, a zipped package of XML that holds typed cells, sheets and formatting. Converting CSV to XLSX turns that text into a real spreadsheet you can open in Excel, LibreOffice or Google Sheets, with numbers stored as numbers.
Use it when a system exports CSV and you want to hand someone a proper Excel file, when Excel splits your CSV into one column because of the wrong delimiter, or when you want to see the data in a table before sending it on.
You type or paste the CSV, or drop a .csv, .tsv or .txt file on the box, and the spreadsheet is built as you type. Below it you see a preview of the first 8 rows and 8 columns, and a note with the size, for example "4 rows x 3 columns" and the separator that was used. The conversion runs in your browser with the SheetJS library; the text never leaves your device. There is no upload, no account and no file size limit set by a server.
How to convert CSV to Excel step by step
- Paste your CSV into the CSV text box, or click Open a file and pick it, or drop the file on the box. An example is loaded first. Files are read as UTF-8 text.
- Leave Delimiter on Detect automatically, or set Comma, Semicolon, Tab or Pipe. The detector checks the first lines and picks the separator that gives the same number of columns on each row, respecting quotes.
- Set the Sheet name (if left empty,
Sheet1is used). Excel allows 31 characters and no\ / ? * [ ] :; the tool replaces forbidden characters with spaces and cuts the name at 31. - Check the Spreadsheet preview and the note under it.
- Click Download to save the
.xlsx. It takes the name of the file you opened (sales.csvgivessales.xlsx), orplanilha.xlsxif you pasted text.
Examples
A semicolon CSV from a Brazilian system
Input:
Name;Price;Stock
Pen;1.5;120
Notebook;12.9;40
Code 007;3;15The delimiter is detected as ;. Price and Stock become numbers (you can sum the column), while Code 007 stays text because of its leading zeros.
Quoted values with commas inside
name,city,note
"Silva, Ana",Recife,"said ""hello"""The quotes are read the standard way (RFC 4180): Silva, Ana is one cell and the doubled quotes become one. Result: 2 rows x 3 columns.
Data copied from a web table
Cells copied from a web page usually arrive separated by tabs. Paste them as they are and the tab delimiter is picked automatically, no need to replace characters.
Long identifiers
| Value in the CSV | In the spreadsheet |
|---|---|
12345678901 (11 digits) | number |
0012345 | text, zeros kept |
1234567890123456 (16 digits) | text, so Excel does not round it |
Whole numbers up to 15 digits without leading zeros become numbers; longer strings stay text, because Excel keeps only 15 significant digits.
Common errors and how to fix them
- "An Excel sheet holds at most 1,048,576 rows and 16,384 columns.": that is the limit of the XLSX format. Split the file, or keep CSV for data this big.
- Everything is in one column: the delimiter was wrong. Choose it by hand in Delimiter.
- Decimals with a comma: in a semicolon or tab CSV,
1,5and1.234,56become numbers. In a comma-separated CSV with the page in English, only a dot is read as a decimal point. Codes with a leading zero (007) stay text. - Dates are not dates: values such as
2026-11-21are kept as text, exactly as written. Use Excel's date functions or Text to Columns after opening. - Accents look broken (é): the file was read as UTF-8 but saved in another encoding, usually Windows-1252 from an old export. Open the file in an editor, save it as UTF-8 and load it again.
- Rows with fewer columns: short rows are kept short; check for a stray delimiter or an unclosed quote in the source.
CSV, XLSX or something else?
What is the difference between CSV and XLSX?
CSV is text with no types, sheets or formatting: any program can read it, and it is ideal for moving data. XLSX keeps typed cells and sheet names, and is the native Excel format. Pick XLSX to share with people, CSV to feed another system.
Does the XLSX keep formulas, colours or column widths?
No. The tool writes values only, in one sheet: no formulas, styles or widths. If you need a styled workbook, finish it in Excel or Google Sheets.
Can I convert more than one sheet?
No: one CSV becomes one sheet. For the opposite direction, with several sheets, see XLSX to CSV.
Is my data uploaded?
No. Parsing and the XLSX file are made in your browser. You can check that no request is sent while you use it.
Is it free, and does it work on a phone?
Yes to both. It is free, needs no install, and works in mobile browsers; for very large files a computer has more memory.
What if my data is JSON?
Turn it into CSV first with JSON to CSV, then convert it here.