How to Fix Word Opening PDF Files with an Encoding Error
Question details
The user is experiencing encoding errors because Windows is automatically opening PDF files in Microsoft Word instead of a dedicated PDF viewer, usually due to incorrect file associations.

- Product
- Microsoft Word / PDF
- Device & OS
- Windows
- Scenario
- Attempting to open a downloaded or scanned PDF file directly from the computer.
- Observed behavior
- The PDF opens in Microsoft Word instead of a PDF reader, resulting in an encoding error message or gibberish text instead of the actual document content.
Verify that the file extension of the document you are trying to open is indeed '.pdf' and ensure you have a dedicated PDF reader installed on your computer.
Change the Default Program for PDF Files
Fix the encoding error by setting a dedicated PDF viewer as the default application for all PDF files.
When PDF files appear to have been converted into Word documents or display encoding errors, the actual issue is often an incorrect file association. A PDF may still have a .pdf extension while Windows attempts to open it with Microsoft Word.
Find any PDF file on your computer that is currently displaying the Microsoft Word icon.
Right-click the file and hover over 'Open with' in the drop-down menu.
Select 'Choose another app' or 'Choose default application' from the expanded menu.
Choose a proper PDF reader from the list, such as WPS Office, Adobe Acrobat, or your preferred web browser.
Check the box that says 'Always use this app to open .pdf files' and click 'OK'.

Open the PDF Directly from Your PDF Reader
Bypass Windows file associations by opening the file directly from within your preferred PDF application.
Use WPS Office to Seamlessly Open and Edit PDFs
WPS Office includes a built-in, lightweight PDF reader and editor. By setting WPS Office as your default PDF application, you can view, edit, and convert PDFs without dealing with Microsoft Word encoding errors.
- 1. Download and Install WPS Office: Get WPS Office for free from the official website and install it on your computer.
- 2. Set WPS as Default: During installation or in your Windows settings, set WPS Office as your default application for PDF and DOCX files.
- 3. Open Your PDF: Double-click any PDF file. It will now open cleanly in WPS PDF without any encoding issues.

Frequently Asked Questions
Why is Microsoft Word trying to open my PDF files?
This happens when the file association for '.pdf' files gets accidentally changed to Microsoft Word in your Windows settings. Changing the default 'Open with' program back to a PDF reader resolves this.
Can Microsoft Word open PDF files without errors?
Modern versions of Microsoft Word have a 'PDF Reflow' feature that attempts to convert PDFs into editable Word documents. However, complex PDFs or those opened incorrectly via forced file associations can result in encoding errors or formatting loss.
How do I stop my web browser from downloading PDFs as Word files?
Web browsers do not inherently convert PDFs to Word. If downloaded files have a Word icon, it means your computer's default app for PDFs is set to Word. Change your default PDF viewer in Windows Settings to fix the icon and opening behavior.
Will changing the default PDF app affect my Word documents?
No. Changing the default application for '.pdf' files only affects PDFs. Your standard '.doc' and '.docx' files will continue to open in Microsoft Word or your preferred word processor.




