Set Excel as the Default Program for TXT Files in Windows 10
Question details
The user wants Windows 10 to open TXT files in Microsoft Excel by default.

- Product
- Microsoft Excel
- Device & OS
- Windows 10
- Scenario
- The user wants to change the default application associated with the .txt file extension.
- Observed behavior
- TXT files should open in Excel when double-clicked after the default app is changed.
Make sure Microsoft Excel is installed on the Windows 10 PC. Have a TXT file available to test the association and check whether its contents are suitable for opening as spreadsheet data.
Choose Excel as the default app for TXT files
Use Windows Settings to change the application associated with the .txt extension.
Select Start > Settings > Apps > Default apps.
Select Choose default apps by file type, then scroll down to .txt.
Select the current app next to .txt and choose Microsoft Excel from the list.
In File Explorer, double-click a TXT file and follow any text import prompts that appear.

Select Excel using Open with
Try this method if Excel is not listed in the default apps settings.
Open Text and Spreadsheet Files with WPS Office
WPS Office is a free, lightweight, easy-to-use alternative with a familiar interface for working with text and spreadsheet files. Its Office format compatibility helps you move existing files into WPS, although it does not set Microsoft Excel as your Windows default app.

Frequently Asked Questions
Why isn't Excel listed as a default app for TXT files?
Excel must be installed, and the available choices depend on its registered file associations. Try right-clicking a TXT file and choosing Open with > Choose another app > More apps to find Excel.
Can I open a TXT file in Excel without changing the default?
Yes. In Excel, select File > Open, browse to the TXT file, and choose it. You may need to change the file type filter to see text files.
Why does Excel ask me to import a TXT file?
Excel may need information such as the file's encoding and delimiter to place text into columns. Follow the import prompts and choose the settings that match your file.
How do I change TXT files back to Notepad?
Go to Settings > Apps > Default apps > Choose default apps by file type, find .txt, and select Notepad as the default app.




