How to Recover Word Documents Changed to PDF in OneDrive
Question details
The user needs to recover Microsoft Word documents that appear to have converted into PDF files after being uploaded to or accessed via OneDrive.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Managing documents in OneDrive and attempting to open or edit existing Word files.
- Observed behavior
- Files that were originally Word documents (.docx or .doc) now display as PDF files, preventing standard text editing and formatting.
Ensure you have access to a web browser to log into your OneDrive account, as the web interface provides the most reliable access to file version history and the recycle bin.
Use OneDrive Version History to Restore the Original Word File
Use this method if the original Word file was accidentally overwritten or replaced by a PDF version in the same folder.
OneDrive automatically saves older versions of your documents. If a file was saved over as a PDF or modified incorrectly, you can roll back to the last known .docx version.
Open your web browser, navigate to the OneDrive website, and sign in with your Microsoft account credentials.
Find the document that is currently appearing as a PDF. Right-click on the file to open the context menu.
Select 'Version history' from the drop-down menu. A pane will appear on the right side of the screen displaying all previously saved iterations of the file.
Look for the earlier version of the file that was saved as a Word document. Click the three vertical dots next to that version and select 'Restore' to replace the current PDF with the original Word file.

Verify Default Apps and File Extensions
Use this method to ensure the file hasn't just lost its correct default opening application, making a .docx file look like a PDF.
Check the OneDrive Recycle Bin
Use this method if the original Word file was deleted and a new PDF was uploaded or generated in its place.
Manage and Edit Word and PDF Files Seamlessly with WPS Office
If you are tired of confusing file conversions and unexpected formatting issues in OneDrive, consider switching to WPS Office. It provides a lightweight, all-in-one workspace where managing both Word documents and PDFs is straightforward and completely free.
- 1. Download and Install: Visit the official WPS Office website to download the free suite and follow the simple on-screen instructions to install it on your device.
- 2. Open Your Documents: Launch WPS Office and click 'Open' to browse for your .docx or .pdf files. Both file types open seamlessly within the same unified application window.
- 3. Convert PDF to Word: If your file is stuck as a PDF, use the built-in 'PDF to Word' tool found in the Tools menu to accurately convert it back to an editable document format.

Frequently Asked Questions
Does uploading files to OneDrive automatically convert them to PDF?
No, uploading files such as photos or Word documents to OneDrive does not trigger an automatic conversion to PDF. The files retain their original format unless manually saved or exported otherwise.
Why did my Word document download as a PDF from OneDrive?
This commonly happens if you use the 'Print' function in Word for the Web. Printing from the web version often generates a PDF file to send to your local printer, which might accidentally be saved locally instead of the original .docx file.
Can I fix this by renaming the .pdf extension back to .docx?
No, changing the file extension manually from .pdf to .docx will not convert the data. It will corrupt the file structure, making it unreadable. You must either restore the original version or use a dedicated PDF to Word converter.




