Skip to content

CSV to Excel Converter

Turn a .csv file into an Excel workbook. Preview the columns first, keep leading zeros if you need them, then download the .xlsx.

Updated

Choose a .csv file or drop it here.csv .tsv .txt · up to 50 MB · opened on your device, not uploaded

How to convert CSV to Excel

  1. Select Choose a .csv file, or drop the file onto the box.
  2. Look at the preview. Each value should sit in its own column.
  3. If the file holds ZIP codes, phone numbers or IDs, tick Keep every value as text.
  4. Select Download Excel (.xlsx).

CSV and XLSX compared

CSV XLSX
What it is Plain text, one row per line A zipped set of XML files
Sheets One Many
Formulas No, values only Yes
Formatting, column widths No Yes
Data types Everything is text until a program guesses Numbers, dates and text are stored as such
Opens in Any text editor or spreadsheet Spreadsheet programs

A CSV is the safest format for moving data between systems. An XLSX is better once people need to sort, filter, add formulas or share the file by email.

Convert CSV to Excel inside Excel

If you have Excel, you can also import the file directly, which gives you control over each column’s type.

  1. Open a blank workbook.
  2. Go to Data > Get Data > From File > From Text/CSV.
  3. Pick the file. Excel shows a preview with the delimiter it detected.
  4. Select Transform Data if you want to set a column to Text (for IDs and ZIP codes), then Close & Load.
  5. Save with File > Save As and choose Excel Workbook (.xlsx).

Double-clicking a .csv also opens it in Excel, but Excel then converts anything that looks like a number or a date without asking.

Things that go wrong, and how to avoid them

  • Leading zeros removed (00501 becomes 501). Import as text.
  • Long numbers rounded after 15 digits. Import as text.
  • Dates swapped (03/04 read as March 4 instead of 3 April). The CSV carries no date format, so check a date you know.
  • Everything in column A. The file uses a separator that was not detected. Open it in a text editor to see whether the values are split by commas, semicolons or tabs.
  • Strange characters such as é. The file is not UTF-8. Re-export it from the source system as UTF-8.

Limits

  • 50 MB per file. An Excel sheet holds at most 1,048,576 rows and 16,384 columns; a longer CSV cannot fit in one sheet.
  • The result has one sheet with the values. A CSV has no formatting, so there is none to carry over.

Questions

How do I convert a CSV file to Excel?

Choose the .csv file above, check the preview, and select Download Excel (.xlsx). The workbook opens in Excel, Google Sheets, Numbers and LibreOffice.

Why did my leading zeros disappear?

A value such as 00123 looks like a number, so spreadsheet programs store it as 123. Tick Keep every value as text before downloading and the zeros stay.

Why does a long number turn into 1.23E+15?

Excel keeps 15 digits of a number and shows large ones in scientific notation. Card numbers, tracking numbers and IDs should be stored as text. The Keep every value as text option does that for every column.

Does it work with semicolon or tab separated files?

Yes. The separator is detected from the file. Comma, semicolon, tab and pipe files are all read, and .tsv and .txt files are accepted too.

Is the CSV uploaded?

No. The conversion runs in your browser, so the file stays on your device.

Are accented letters and other languages kept?

Yes, when the CSV is saved as UTF-8, which is the usual encoding today. The Excel file that comes out is always Unicode.

Related