Convert CSV to Excel Automatically with Easy Steps

Comma-separated values or CSV is a very useful and extensively used file format. It is a text file where the comma is the delimiter that separates the values in that file. You may often need to convert these CSV files to Excel documents (.xlsx format) for various operations or calculations. In this article, we will show you how to automatically do that in several ways.

Download Practice Workbook

You can download the CSV file for practice from the download button below.

3 Steps to Convert CSV to Excel Automatically

Assume you have the following CSV file containing employee info. Now you need to convert the CSV file to an Excel document to be able to create a dynamic dataset.

CSV file

Follow the steps below to be able to do that.

Step 1: Open CSV File with Excel

  • First, go to the file location. Then right-click on the file name. Next, go to Open with >> Excel.

open CSV file with Excel

  • Excel will automatically detect the data and arrange them into separate columns accordingly as follows. But the file is still in CSV Excel will show you a warning of Possible Data Loss with the option to Save As a different file format.

CSV data in Excel

Step 2: Save CSV File as Excel Workbook

  • Alternatively, you can also go to File >> Save As to convert the file format from CSV to XLSX.

save CSV as XLSX

Read More: How to Open Notepad or Text File in Excel with Columns (3 Easy Methods)

Similar Readings

Step 3: Open the Excel Workbook

  • Finally, open the converted file to see the following result.

convert csv to excel

Read More: Excel VBA: Merge Multiple CSV Files into One Workbook 

How to Convert CSV to Excel with Columns

Sometimes Excel may fail to detect the data and insert all data into a single column as follows. This also happens if you copy the data from the CSV file and paste it onto an Excel worksheet.

convert csv to excel in single column

In such cases, you can use the Text to Columns wizard in Excel to extract the comma-separated values into separate columns. Alternatively, you can use the Get Data feature in Excel if the data in the CSV file has many columns. Follow the steps below to be able to do that.

  • First, go to Data >> Get Data >> From File >> From Text/CSV as shown below.

Data > Get Data > From File > From Text/CSV

  • Then browse the CSV file location, select it and click Import.

import CSV file to convert to excel

  • After that, you will see the following preview. Excel will try to detect and reformat the data automatically. If you are satisfied with the formatting in the preview, then click on Load (Load To for specific location). Otherwise, click on Transform Data to go to the Power Query Editor.

convert CSV to excel preview

Read More: How to Open CSV File with Columns in Excel (3 Easy Ways)

How to Convert CSV to XLSX without Opening

Suppose you need to convert the CSV file to XLSX without opening it. Follow the steps below to be able to do that.

  • First, go to File >> Options or press ALT + F + T. Then go to the Data tab, check the From Text (Legacy) checkbox, and click OK.

enable data import from legacy text

  • Next, go to Data >> Get Data >> Legacy Wizards >> From Text (Legacy) as follows.

get data from text

  • After that, browse the CSV file location, select the file and click OK.

import csv

  • Now the Text Import Wizard will open. Select the radio button for the Delimited file type, check My data has headers checkbox, and select Next.

text import wizard to convert csv to excel

  • Then, check the Delimiters checkbox as required (Comma, in this case) and select Next.

set comma as csv conversion delimiter

  • After that, you can choose the Column Data Format if needed. Click on Finish.

column data format

  • Finally, select the location where you want to import the data and click OK.

location for csv data import

Read More: Excel VBA to Convert CSV File to XLSX (2 Easy Examples)

How to Convert CSV to Excel Online

Assume you need to urgently convert a CSV file to Excel but it is not possible for you to follow the methods above. Then you can convert it online. Follow the steps below for that.

go to cloudconvert

  • Then click on Convert. This may take a few moments to process depending on the size of the CSV file.

click on convert

  • After that, you will see the Download button for the converted Excel file as shown below.

download the converted excel document

Read More: How to Convert CSV to Excel with Columns (5 Methods)

Things to Remember

  • A CSV file may contain values separated by other delimiters such as semicolons (;), spaces, tabs, etc. You need to choose the delimiter accordingly during the conversion.
  • If you import multiple CSV files at once using the Get Data feature, they will be converted to separate workbooks.


Now you know how to convert a CSV file to an Excel document automatically. Do you have any further queries or suggestions? Please let us know in the comment section below. You can also visit our ExcelDemy blog to explore more about Excel. Stay with us and keep learning.

Related Articles

Md. Shamim Reza

Md. Shamim Reza

Hello there! This is Md. Shamim Reza. Working as an Excel & VBA Content Developer at ExcelDemy. We try to find simple & easy solutions to the problems that Excel users face every day. Our goal is to gather knowledge, find innovative solutions through them and make those solutions available for everybody. Stay with us & keep learning.

We will be happy to hear your thoughts

Leave a reply

5 Excel Hacks You Never Knew

Genius tips to help you unlock Excel's hidden features