How to Fix Microsoft 365 Saving Word Documents as HTML Files
Question details
Users are experiencing an issue where Microsoft Word saves documents as .htm or .html files instead of the standard .docx format, or documents display as web pages instead of standard documents.

- Product
- Microsoft 365 Word
- Device & OS
- not provided
- Scenario
- Creating, saving, or viewing a Word document and expecting a standard .docx file layout and format.
- Observed behavior
- Documents are either being saved with an .htm/.html file extension or appearing completely unformatted like a webpage due to an incorrect view layout.
Verify whether your file is actually saved with an .html extension by checking the file properties, or if it is merely displaying differently within the Word application due to view settings.
Set the Default Save Format to Word Document (.docx)
Change Microsoft Word's default save settings to ensure all new documents are automatically saved as .docx files instead of web pages.
If your documents are genuinely being converted to .htm or .html files, Word's default save settings may have been accidentally altered.
Launch Microsoft Word and click on the 'File' tab in the top-left corner. Then, select 'Options' at the bottom of the left-hand menu.
In the Word Options dialog box, click on 'Save' in the left pane to access document saving preferences.
Locate the 'Save files in this format' dropdown menu and select 'Word Document (*.docx)'.
Click 'OK' at the bottom of the window to apply the new settings. Future documents will now save correctly.

Switch from Web Layout to Print Layout
If your document is properly saved as a .docx file but looks like a continuous, unpaginated webpage, changing the View layout will resolve the visual issue.
Run a Microsoft Office Repair
If Word continues to save files incorrectly despite changing the settings, repairing the Office installation can resolve underlying software glitches.
Try WPS Office for a Hassle-Free Document Experience
Tired of dealing with unexpected layout changes and save format glitches in Microsoft Word? WPS Office is a completely free, lightweight alternative that offers perfect compatibility with Microsoft Office formats. It natively supports .docx files, ensuring your documents look exactly the way you intended without the hassle of unwanted HTML conversions.
- 1. Download and Install: Visit the official WPS website to download the free installation package for your Windows, Mac, or Linux operating system.
- 2. Set as Default Program: During installation, easily configure WPS Writer as your default application for opening and editing .docx and .doc files.
- 3. Open and Edit Seamlessly: Double-click any existing Word document to open it directly in WPS Office with highly accurate layout and formatting.

Frequently Asked Questions
Why did my Word document suddenly change to a web browser icon?
This usually happens if the default 'Save As' format in Word was accidentally changed to Web Page (.htm or .html), or if a web browser (like Edge or Chrome) was mistakenly set as your computer's default application to open Word documents.
How can I convert an already saved HTML file back to a Word .docx format?
Right-click the HTML file and choose 'Open with > Microsoft Word'. Once it opens in Word, click on File > Save As, choose your desired folder, and change the 'Save as type' dropdown to 'Word Document (*.docx)' before saving.
Does this save issue occur in Word for the web?
Word for the web automatically saves your work to OneDrive in the standard .docx format. If you are downloading a copy and it is saving as an HTML file, it is likely a browser-related download glitch. Try clearing your browser cache or downloading the file using a different web browser.
Is it possible that a Word add-in is causing files to save as HTML?
Yes, incompatible or faulty third-party add-ins can interfere with Word's save functions. You can test this by launching Word in Safe Mode (hold the CTRL key while opening Word) and checking if the default save behavior returns to normal.




