File Format & Compatibility

How to Open a Text File in Word Instead of Notepad

Steven ParkerSteven Parker Oct 26, 2026 868 views

Question details

The user needs to open a document saved as a .txt file in Microsoft Word and restore correct file associations so Word documents do not default to opening in Notepad.

How to Open a Text File in Word Instead of Notepad
Product
Microsoft Word
Device & OS
Windows
Scenario
A document was accidentally opened or saved in Notepad resulting in a plain text file, or Windows settings have mistakenly set Notepad as the default app for Word documents.
Observed behavior
The document opens as plain text in Notepad without any original formatting, or double-clicking a document forces it to launch in Notepad instead of Word.
Before you start

Ensure you know the exact folder location of your text document so you can easily browse to it from within your word processor.

Solution 1Recommended

Open the Text File in Word and Save as a Word Document

Use this method to open your plain text file directly inside Word and convert it into a fully editable, formatted document.

Plain text files (.txt) do not contain formatting. By opening the file in Word and saving it in the .docx format, you can reapply styles, fonts, and layouts securely.

1
Launch Word and open the file menu

Open Microsoft Word on your computer, click on 'File' in the top-left corner, and select 'Open'.

2
Change the file type filter

Click 'Browse' to locate your file. In the file explorer window, click the file type dropdown menu (usually set to 'All Word Documents') and change it to 'All Files (*.*)' or 'Text Files (*.txt)'.

3
Open the text document

Select your text file from the list and click the 'Open' button.

4
Convert and save as .docx

Go to 'File' > 'Save As', choose your desired save location, and select 'Word Document (*.docx)' from the 'Save as type' dropdown menu. Click 'Save'.

Open the Text File in Word and Save as a Word Document
Formatting required: Because plain text does not preserve Word formatting, you will need to manually reapply your preferred fonts, styles, and layouts.
Easily manage files with WPS Office

Open and Convert Text Files with WPS Office

WPS Office Writer seamlessly opens plain text files, allowing you to quickly format and save them as standard Word documents. It is a highly compatible, free, and lightweight alternative.

  1. 1. Open WPS Writer: Launch WPS Office and click on 'Docs' to open the word processor.
  2. 2. Open your text file: Click 'Menu' in the top left, select 'Open', browse to your file, and open the .txt document.
  3. 3. Save as a Word document: Click 'Menu' > 'Save As', and choose 'Microsoft Word Document (*.docx)' as the file type.
  4. 4. Reformat your document: Use the intuitive ribbon at the top to reapply any necessary styles, bold text, or layout options, then click save.
Fully compatible with Microsoft Word formats (.doc, .docx)Easily open, edit, and convert .txt filesFree to download and use with a familiar interfaceLightweight application that runs smoothly on all devices
microsoft office alternative - wps office

Frequently Asked Questions

Why did my Word document open as a Notepad file?

This usually happens if the default file association for .docx files was accidentally changed to Notepad, or if the document was intentionally saved with a .txt extension.

Can I recover the original formatting from a .txt file?

No. The .txt format is purely plain text and automatically strips out all formatting such as bolding, colors, images, and tables. Once converted back to a Word document, you must manually reapply your formatting.

How do I show file extensions in Windows to see if it's a .txt file?

Open File Explorer, click on the 'View' tab at the top of the window, and check the box labeled 'File name extensions'. This will reveal whether your document ends in .txt or .docx.