How to Stop Excel from Using Commas as TXT File Delimiters
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 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.
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.
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'.
In the Region window under the Formats tab, click the 'Additional settings...' button at the bottom.
Locate the 'List separator' field. Change the comma (,) to your preferred character, such as a pipe (|) or a semicolon (;).
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.
Use the Excel Data Import Wizard
If changing system settings isn't viable, use the Text Import Wizard to manually specify the correct delimiter for your file without affecting the rest of Windows.
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. Launch WPS Spreadsheet: Open WPS Office and create a new blank Spreadsheet document.
- 2. Initiate Data Import: Navigate to the 'Data' tab on the top ribbon and click on 'Import Data', then select 'Import Data' again.
- 3. Select the Text File: Choose 'Select Data Source', browse for your TXT file, and proceed to the Text Import Wizard.
- 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.

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.




