Updated 2026-10-05 · By Sergi (spnfury)

Convert CSV to Excel: 5 ways, from double-click to Python

A CSV is just text; an Excel workbook has typed cells, sheets and formatting. Converting one into the other is easy, but the method decides whether ZIP codes keep their zeros, whether accents survive and whether the file can be shared with people who only use Excel.

Here are the five methods we actually use, with the steps, the time each takes and the trap to avoid. If you only need the file once and quickly, jump to method 5.

Method 1: open in Excel and Save As (fast, risky)

Takes ten seconds and works for clean numeric data. The trap: anything Excel misinterpreted on opening (lost zeros, 1/2 turned into a date, garbled accents) is now permanently in the .xlsx.

  1. Double-click the CSV. If it opens in one column, use method 2 instead.
  2. Check columns with codes, phone numbers and dates: Excel may have converted them already.
  3. File > Save As > Excel Workbook (.xlsx).

Method 2: Excel import wizard (Data > From Text/CSV)

Two minutes, full control over types and encoding, and the query can be refreshed when the CSV changes. The best option when the workbook is something you will maintain.

  1. Open a blank workbook, go to Data > Get Data > From Text/CSV and select the file.
  2. In the preview choose the delimiter (comma, semicolon, tab) and the File Origin (65001 UTF-8 for accents).
  3. Click Transform Data to set column types (Text for codes with zeros), then Close & Load.
  4. Save as .xlsx.

Method 3: Google Sheets

Good detection, free, works on any device. The trap: the file is uploaded to Google, which may be a problem for confidential data, and large files (over about 100 MB or 10 million cells) are rejected.

  1. In Google Drive, New > File upload, choose the CSV, then open it with Google Sheets (or File > Import inside a sheet).
  2. Sheets detects separator and encoding; choose "Convert text to numbers, dates and formulas" = No if you need codes kept as text.
  3. File > Download > Microsoft Excel (.xlsx).

Method 4: LibreOffice Calc

Free, offline and the import dialog is more explicit than Excel's. Minor formatting differences may appear when the file is later opened in Excel.

  1. Open the CSV with LibreOffice Calc; the Text Import dialog appears.
  2. Set character set (UTF-8), separator options and, in the preview, click a column header to set its type to Text.
  3. File > Save As > Excel 2007-365 (.xlsx).

Method 5: online converter in the browser (CSV Creator)

Thirty seconds, no software, and the conversion runs in the browser so the file is never uploaded. Leading zeros are stored as text automatically and UTF-8 is read correctly. The limit is Excel's own: 1,048,576 rows per sheet; split larger files first with Split CSV.

  1. Open CSV to Excel and drop the file or paste the CSV.
  2. Check the detected separator and the preview; change the sheet name if you want.
  3. Click Convert and download the .xlsx.

CSV to Excel

Bonus: Python with pandas (for automation)

When the conversion happens every day, script it. pandas reads the CSV with the right encoding and dtype, and writes the workbook through openpyxl.

import pandas as pd

df = pd.read_csv('orders.csv', sep=',', encoding='utf-8', dtype={'zip': str, 'phone': str})
df.to_excel('orders.xlsx', index=False, sheet_name='Orders')

Which method to pick

NeedMethod
Clean numeric data, once1. Open and Save As
Codes with zeros, accents, recurring file2. Import wizard
No Excel installed, non-confidential data3. Google Sheets
No Excel, confidential data, offline4. LibreOffice
Quick and private, no software5. CSV Creator
Daily or in a pipelinePython / pandas

Frequently asked questions

What is the difference between CSV and XLSX?

CSV is plain text with one record per line and a separator between values: no types, no formatting, one table. XLSX is a zipped XML package with typed cells, several sheets, styles, formulas and charts. CSV is for exchanging data; XLSX is for working in Excel.

Can Excel open a CSV directly?

Yes, but it interprets the file according to regional settings and converts values silently. For anything beyond plain numbers, use the import wizard or convert to .xlsx first.

How do I convert a CSV with semicolons to Excel?

In the import wizard choose Semicolon as delimiter; in CSV Creator the separator is detected automatically; in pandas pass sep=';'. Double-clicking works only if your regional settings already use semicolons.

How do I convert many CSV files to Excel at once?

Use a script: a short Python loop with pandas, or PowerShell with Import-Csv and the ImportExcel module. Online tools convert one file at a time.

Is there a row limit?

Excel sheets hold 1,048,576 rows and 16,384 columns. A CSV with more rows must be split into several sheets or files, or loaded into a database instead.

Related tools