Microsoft Word and Excel Password-to-Open Encryption Explained
Question details
Determine whether passwords on Word documents and Excel workbooks encrypt file contents.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to protect document or workbook content with a password and understand the difference between opening and editing passwords.
- Observed behavior
- A password required before a file can be opened provides encryption, while a password that only restricts editing is not equivalent to full file encryption.
Confirm that you need to prevent unauthorized users from viewing the file contents, not only from changing them. Use the password-to-open or file-encryption option and keep the password available, because a forgotten encryption password may prevent access to the file.
Use a password required to open the Word or Excel file
Use this option when the file contents must be encrypted and unavailable until the correct password is entered.
In Word and Excel, a password that is required to open the document or workbook encrypts the file using that password. This is the appropriate protection level when you need to protect the contents from unauthorized viewing.
In Microsoft Word or Excel, open the document or workbook, select File, then choose Info.
Select Protect Document in Word or Protect Workbook in Excel, then choose Encrypt with Password.
Enter a strong password, select OK, enter it again to confirm, and then save the file. The password will be required the next time the file is opened.

Do not rely on editing restrictions for confidential file contents
Use this guidance when a document or workbook has a password to modify, restrict editing, or protect worksheet structure but can still be opened without a password.
Encrypt documents and spreadsheets with a WPS Office opening password
WPS Office lets you apply an opening password to Writer documents and Spreadsheets workbooks, helping protect file contents before the document can be viewed. Use its file encryption option when you need stronger protection than editing restrictions alone.
- 1. Open the document or workbook: Launch WPS Writer or WPS Spreadsheets and open the file you want to protect.
- 2. Access file encryption: Select Menu or File, then choose File Encryption or Encrypt, depending on your WPS Office version.
- 3. Create an opening password: Enter a password in the password-to-open field and confirm it when prompted.
- 4. Save the protected file: Select Save or Save As to apply encryption; enter the password when reopening the file to verify protection.

Frequently Asked Questions
Is a Word document encrypted when it asks for a password to open?
Yes. When Word uses the Encrypt with Password option and requires a password before opening the document, the file contents are encrypted with that opening password.
Does an Excel password to modify encrypt the workbook?
Not necessarily. A password to modify or an editing restriction is different from Encrypt with Password. To protect workbook contents, use File > Info > Protect Workbook > Encrypt with Password.
Can people read a document protected only by Restrict Editing?
They may be able to open and view the document, depending on the restriction used. Restrict Editing is intended to control changes; use Encrypt with Password when viewing the contents must also require a password.
How do I encrypt a file in WPS Office?
Open the file in WPS Writer or WPS Spreadsheets, select Menu or File, choose File Encryption or Encrypt, enter a password to open the file, and save it.
What happens if I forget a password-to-open password?
You may be unable to open the encrypted document or workbook. Store the password securely before sharing or closing the protected file.




