Decrypt Encrypted Office Files: Step-by-Step
In this article
This guide shows you how to remove password protection from Microsoft Office files (Word, Excel, PowerPoint) when you know the password. You’ll learn the exact steps for Windows and Mac, what to do if the password doesn’t work, and how to avoid common pitfalls.
What You'll Need
- The encrypted Office file (e.g., .docx, .xlsx, .pptx)
- The correct password (if you don't have it, see Troubleshooting)
- Microsoft Office 2013 or newer (the steps are similar for Office 2016, 2019, 2021, and Microsoft 365)
Step-by-Step
- Open the file normally. Double-click the file in File Explorer (Windows) or Finder (Mac). Office will immediately show a password prompt.
- Enter the password. Type the password exactly, paying attention to uppercase and lowercase letters. Click OK.
- If the file opens, you’re done. The password is only needed to open the file. To remove it, continue to the next steps.
- Go to File > Info. In Word, Excel, or PowerPoint, click the File tab in the top-left corner, then select Info from the left sidebar.
- Click “Protect Document” (or “Protect Workbook” / “Protect Presentation”). This button is usually in the middle of the Info screen. A drop-down menu will appear.
- Select “Encrypt with Password”. This option is labeled “Encrypt with Password” in all three apps. A small dialog box will appear.
- Delete the password. In the dialog box, the password is shown as dots. Select all the dots (Ctrl+A on Windows, Cmd+A on Mac) and press Delete to clear the field.
- Click OK. The dialog box will close. If you deleted the password correctly, no new prompt will appear.
- Save the file. Press Ctrl+S (Windows) or Cmd+S (Mac), or click the floppy disk icon in the Quick Access Toolbar. This is the critical step – without saving, the password remains.
- Close and reopen the file to verify. Close the file completely, then open it again. If it opens without asking for a password, the encryption has been successfully removed.
Common Mistakes
- Forgetting to save after removing the password. The change only takes effect when you save the file. If you close without saving, the password stays.
- Typing the password incorrectly. Passwords are case-sensitive. If the file doesn’t open, check Caps Lock and try again.
- Editing the wrong file. Make sure you’re working on the original encrypted file, not a copy or a different version.
- Removing the wrong protection. Office has two types of protection: “Encrypt with Password” (requires a password to open) and “Restrict Editing” (allows opening but limits changes). This guide only removes the open password.
- Using the “Protect Document” > “Restrict Editing” option. That’s for editing restrictions, not encryption. You need “Encrypt with Password”.
Tips
- Work on a copy. Before making changes, copy the file and work on the copy. If something goes wrong, you still have the original.
- Use a strong password for new files. If you’re encrypting files in the future, use a mix of letters, numbers, and symbols.
- Keep a backup of the password. Write it down in a secure place or use a password manager. There is no official way to recover a lost Office password.
- Check file properties. In File Explorer, right-click the file and select Properties. If the “Encrypt contents” checkbox is ticked, that’s Windows EFS, not Office encryption – you’ll need to uncheck that in the Advanced Attributes.
Troubleshooting
I don’t know the password. If you don’t have the password, you cannot decrypt the file using Office’s built-in tools. The encryption is strong (AES-256 in modern Office). Do not use third-party “password recovery” tools that claim to bypass it – they often don’t work and can contain malware. Your only options are to find the password (ask the person who created it, check your password manager) or restore an unencrypted backup.
The password prompt appears again after I saved. This usually means you didn’t delete the password in the “Encrypt with Password” dialog. Repeat steps 4-9, making sure the password field is completely empty before clicking OK.
The “Encrypt with Password” option is grayed out. This can happen if the file is a different format (e.g., .doc instead of .docx) or if you’re using an older Office version. Try saving the file in the current format (File > Save As > .docx) and then try again.
I’m getting a “file is corrupt” error. This might be because the file was damaged during encryption or transfer. Try opening it on another computer, or use Office’s “Open and Repair” feature: in the Open dialog, select the file, click the arrow next to Open, and choose “Open and Repair”.
I can open the file but can’t edit it. That’s not an encryption issue – it’s a “Restrict Editing” or “Mark as Final” setting. Go to File > Info > Protect Document and select “Restrict Editing”, then click “Stop Protection” (you may need the password for that restriction).
Frequently Asked Questions
Can I decrypt an Office file without the password? No, not through official means. The encryption is designed to be unbreakable without the password. Third-party tools that promise recovery are either scams or use brute-force attacks that can take years.
Does this work for .doc, .xls, .ppt (old formats)? Yes, the steps are the same for old binary formats, but the encryption is weaker. You may still be able to open them with the password, and the removal process is identical.
Will removing the password change the file’s content? No, removing encryption only changes the file’s protection settings. All content, formatting, and formulas remain intact.
Can I remove the password using Google Docs or LibreOffice? Yes, but the steps differ. In LibreOffice, open the file, then go to File > Properties > Security, and clear the “Open file password” field. In Google Docs, you’d need to upload and convert, but that may not work for all encrypted files.
What’s the difference between “Encrypt with Password” and “Protect Sheet/Workbook”? “Encrypt with Password” requires a password to open the file. “Protect Sheet” or “Protect Workbook” allows opening but restricts editing. This guide covers the former.
Is it legal to decrypt a file I don’t own? Only decrypt files you own or have explicit permission to modify. Decrypting someone else’s file without permission may violate copyright or privacy laws.