How to Fix Files Not Opening in Word for the Web on OneDrive
Question details
Users are unable to open or edit Word documents in Word for the web after uploading them to OneDrive for Business or a SharePoint Online library.

- Product
- Microsoft Word for the web
- Device & OS
- not provided
- Scenario
- Attempting to view or edit a document in a web browser using Word for the web after uploading it to cloud storage.
- Observed behavior
- The document fails to open in the browser, typically because it uses an unsupported file format such as RTF, HTML, PDF, or MHTML.
Before troubleshooting, verify the exact file extension (e.g., .rtf, .pdf, .docx) of the document you uploaded, as Word for the web strictly requires specific formats for browser compatibility.
Convert the Document to a Supported Format
Word for the web only supports specific file formats for viewing and editing. Converting your file to .docx ensures full compatibility.
Word for the web fully supports DOCX, DOTX, DOCM, and DOTM formats. While it can display older DOC and DOT files, it must create a modern DOCX copy to allow editing. Unsupported formats like RTF, HTML, and PDF will trigger an error and must be converted.
Open the unsupported document (e.g., the RTF or PDF file) using the Microsoft Word desktop application.
Click on 'File' in the top-left corner of the desktop app, then select 'Save As' from the left sidebar menu.
In the file format dropdown menu, select 'Word Document (*.docx)' and save the file to your computer.
Upload this newly created .docx version to your OneDrive for Business or SharePoint Online library. You will now be able to open and edit it in Word for the web.

Open the File in the Word Desktop App
If you do not want to convert the file format, you can bypass the browser limitation by opening the file directly in the desktop version of Word.
Use WPS Office for Better Format Compatibility
Avoid online browser limitations and formatting issues by switching to WPS Office. It is a highly compatible, free Office suite that seamlessly opens, edits, and saves a vast array of document formats, including those that Word for the web rejects.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the application: Run the installer and follow the quick on-screen instructions to set up WPS Office on your computer.
- 3. Open your documents directly: Launch WPS Writer and easily open your .rtf, .pdf, or .docx files without worrying about web browser format restrictions.

Frequently Asked Questions
Why does Word for the web create a new copy when I try to edit a .doc file?
Word for the web can only display older Word 97-2003 (.doc) documents. To allow you to make changes in the browser, it automatically upgrades the file and saves a new copy in the modern .docx format.
Can I edit PDF files in Word for the web?
No, Portable Document Format (PDF) files are not supported for viewing or editing in Word for the web. You must convert the PDF to a .docx file or open it using a desktop application like WPS Office or Microsoft Word.
How do I check my document's file format in OneDrive?
You can check the file format by looking at the extension at the end of the file name (e.g., document.rtf, report.docx). If extensions are hidden, right-click the file in OneDrive, select 'Details', and check the file type in the properties pane.
Do macros work in Word for the web?
You can open macro-enabled documents (.docm or .dotm) in Word for the web to view and edit the text, but the macros themselves will not run in the browser. You need to open the file in the desktop version of Word to execute macros.




