Why Excel Opens CSV Files in Separate Columns & How to Fix It
Question details
The user wants to understand the default behavior of CSV files in Excel, specifically why the data is divided into columns rather than displaying the raw comma-separated text.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening a plain-text CSV (Comma-Separated Values) file directly in Microsoft Excel.
- Observed behavior
- Excel automatically parses the default delimiters (like commas) and places the values into separate columns instead of showing the original text format.
Before opening your file, determine whether you need to edit the raw text itself or if you want to analyze the data within a standard spreadsheet grid layout.
Import the CSV File Using Get Data for Full Control
Instead of double-clicking the file, importing it gives you complete control over how Excel separates the data and formats each column, preventing automatic formatting errors.
By default, Excel assumes standard delimiters based on your system's regional settings and attempts to automatically guess data types. This can lead to lost leading zeros or incorrect date formats. Using the import wizard prevents this.
Launch Excel and create a new, blank workbook.
Click on the **Data** tab located in the top ribbon menu.
Click on **From Text/CSV** (or go to **Get Data** > **From File** > **From Text/CSV** depending on your Excel version).
Locate your `.csv` file in the file explorer and click **Import**.
In the preview window, ensure the correct **Delimiter** (e.g., Comma) is selected. Click **Transform Data** if you need to assign specific column formats (like Text for zip codes), then click **Close & Load**.

Open with a Text Editor to View Raw Data
If you just want to see the original comma-separated text without Excel parsing it into columns, you can open the file using a basic text editor.
Easily Import and Edit CSV Files with WPS Spreadsheet
WPS Spreadsheet offers an intuitive Data Import tool that lets you customize delimiters, preserve text formatting, and manage CSV files effortlessly without the risk of unwanted auto-formatting.
- 1. Launch WPS Spreadsheet: Open WPS Office and create a new blank spreadsheet.
- 2. Access the Import tool: Navigate to the **Data** tab on the top menu and click on **Import Data**.
- 3. Select your CSV: Browse your local files, select the `.csv` file you wish to open, and click **Open**.
- 4. Configure the import wizard: Follow the Text Import Wizard prompts to choose your delimiter (e.g., Comma) and assign accurate data types to your columns before finalizing the import.

Frequently Asked Questions
Why does my CSV file open in one single column instead of separate columns?
This usually happens when the CSV file uses a delimiter (such as a semicolon) that does not match your computer's default regional settings list separator. You can fix this by using the 'Data > From Text/CSV' import tool to manually select the correct delimiter.
How do I stop Excel from removing leading zeros in my CSV files?
When you double-click a CSV, Excel automatically formats numbers and drops leading zeros (common in ZIP codes or IDs). To prevent this, do not double-click the file. Instead, import it using 'Data > From Text/CSV' and change the specific column's data type to 'Text' before loading it into the spreadsheet.
Is a CSV file the same as an Excel file?
No. A CSV (Comma-Separated Values) is a universal, plain-text file that only stores raw data separated by commas. An Excel file (.xlsx) is a specialized format that supports multiple sheets, complex formulas, formatting, macros, and charts.




