logo
search
Data Import & Export

How to Stop Excel from Using Commas as TXT File Delimiters

Maira MehtabMaira Mehtab Sep 27, 2026 869 views

Question details

The user wants to prevent Excel from automatically parsing text files using commas as delimiters when opening them.

Product
Microsoft Excel
Device & OS
Windows 10
Scenario
Opening or importing a TXT file into Excel where the user needs the text to remain intact or be split by a different character.
Observed behavior
Excel automatically splits the text data into multiple columns at every comma due to system default formatting, rather than keeping the text in a single column or respecting the intended file structure.
Before you start

Before modifying your system settings, ensure that all instances of Excel are fully closed, as changes to regional settings will only take effect upon restarting the application.

Solution 1Recommended

Adjust Windows Regional List Separator Settings

Modifying the default list separator in Windows prevents Excel from automatically assuming commas are delimiters for text files.

Excel relies on the Windows operating system's regional settings to determine how to separate data in text files. If your system is set to use a comma as the default list separator, Excel will automatically split your data at every comma when you double-click to open a TXT or CSV file.

1
Open Windows Control Panel

Press the Windows key, type 'Control Panel' in the search bar, and open the application. Navigate to 'Clock and Region' and then click on 'Region'.

2
Access Additional Settings

In the Region window under the Formats tab, click the 'Additional settings...' button at the bottom.

3
Change the List Separator

Locate the 'List separator' field. Change the comma (,) to your preferred character, such as a pipe (|) or a semicolon (;).

4
Apply and Test

Click 'Apply' and then 'OK' to save the changes. Reopen Excel and open your TXT file to verify that the commas are no longer acting as delimiters.

System-Wide Impact: Changing the list separator here is a system-wide setting and will affect how other applications on your computer handle list formats and CSV files.
Seamless Data Import

Easily Import TXT Files with Custom Delimiters in WPS Spreadsheet

WPS Spreadsheet provides a highly intuitive Text Import Wizard that prompts you to choose your exact delimiters before the data loads, preventing automatic comma separation issues without requiring you to change Windows system settings.

  1. 1. Launch WPS Spreadsheet: Open WPS Office and create a new blank Spreadsheet document.
  2. 2. Initiate Data Import: Navigate to the 'Data' tab on the top ribbon and click on 'Import Data', then select 'Import Data' again.
  3. 3. Select the Text File: Choose 'Select Data Source', browse for your TXT file, and proceed to the Text Import Wizard.
  4. 4. Define Delimiters Manually: Choose 'Delimited', click Next, and simply uncheck the 'Comma' option while selecting the delimiter you actually want to use (or none at all). Click Finish.
Built-in Text Import Wizard gives you full manual control over custom delimiters.Fully compatible with Microsoft Excel file formats, including .xlsx, .csv, and .txt.Lightweight application that opens and processes large text files quickly.Free to download with a familiar, easy-to-navigate user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel automatically use commas to split TXT files?

Excel relies on your Windows operating system's regional settings to determine the default list separator. If your system is set to use a comma, Excel will automatically split data at every comma when directly opening text files.

Can I change the delimiter for a specific file without altering Windows settings?

Yes. Instead of double-clicking the TXT file to open it directly, open a blank Excel workbook first. Use the 'From Text/CSV' option located under the Data tab. This prompts a data import wizard where you can define the exact delimiter for that specific file.

Does changing the Windows list separator affect other applications?

Yes. Modifying the list separator in the Windows Control Panel is a system-wide change. It will affect how CSV files are saved and how other programs on your computer that rely on regional settings interpret list data.

Why didn't my text file open correctly even after changing the list separator?

If Excel is already running when you change the Windows regional settings, the changes won't apply immediately. You must completely close and restart Excel for the new list separator settings to take effect.