If you’ve inherited or downloaded a Word document that’s locked for editing, you don’t necessarily need the original password. Depending on the type of lock, you can often remove it in a few minutes using built-in tools or a simple file conversion trick. This guide covers the three most common scenarios: a forgotten editing password, a document marked as read-only, and a file you simply need to edit without the original credentials.
What You’ll Need
- A Windows PC or Mac with Microsoft Word installed (2016 or later recommended).
- The locked Word document (.docx or .doc).
- A file archiver that can open ZIP files (built-in on Windows and Mac).
- Optional: a backup copy of the file before you start.
Step-by-Step
Method 1: Remove the “Read-Only Recommended” Lock
This is the easiest lock to remove. It’s not a true password—it just asks you to confirm before opening. If you can open the document, you can clear it.
- Open the locked document in Word.
- Click File > Save As (or Save a Copy on newer versions).
- Choose a location, then click the Tools dropdown (next to the Save button) and select General Options.
- In the dialog, find the Password to modify field. Delete any dots or characters in it, leaving it blank.
- Click OK, then Save. The new copy will open without the read-only prompt.
Method 2: Unlock a Password-Protected Document (If You Know the Password)
If you have the password but want to remove it permanently:
- Open the document in Word and enter the password when prompted.
- Go to File > Info > Protect Document > Encrypt with Password.
- Delete the existing password (leave the field blank) and click OK.
- Save the file. The password is now removed.
Method 3: Bypass the Editing Restriction (No Password Needed)
This works for documents that are locked for editing but not encrypted (common with shared templates). You can strip the restriction by editing the file’s XML directly.
- Make a copy of the .docx file and rename it to .zip (e.g.,
document.docxbecomesdocument.zip). - Right-click the ZIP file and choose Extract All (Windows) or double-click to open it (Mac).
- Navigate to the word folder inside the extracted files.
- Open the file named settings.xml with a text editor (like Notepad or TextEdit).
- Look for a tag that contains
w:documentProtection. It usually looks like:<w:documentProtection w:edit="readOnly" w:enforcement="1"/> - Delete that entire tag, or change
w:enforcement="1"tow:enforcement="0". - Save the file, then re-zip the extracted folder. Make sure the
wordfolder is at the root of the ZIP, not inside another folder. - Rename the ZIP back to
.docxand open it in Word. The editing restriction should be gone.
Common Mistakes
- Using the wrong method: If the document is password-protected to open (you can’t even view it without a password), the XML trick won’t work. That requires a password recovery tool.
- Re-zipping incorrectly: When you re-zip, ensure the extracted files are at the root. If you zip a folder containing the extracted files, Word won’t recognize the document.
- Forgetting to save a copy: Always work on a copy. A mistake in the XML can corrupt the file.
- Clearing the wrong field: In General Options, there are two password fields: “Password to open” and “Password to modify.” Only clear the one you want to remove.
Tips
- If the document is a .doc (old format), the ZIP trick won’t work. You’ll need to use Word’s built-in password removal (if you know the password) or a third-party tool.
- For a document that’s marked as “Read-Only” but not password-protected, simply go to File > Save As and save it under a new name. The read-only attribute is often removed.
- If you frequently deal with locked documents, consider keeping a backup of the original password in a password manager.
Troubleshooting
The XML trick doesn’t work. Make sure you edited the correct file (settings.xml) and that you removed the entire w:documentProtection tag. Also, verify the file was re-zipped correctly: open the ZIP and check that word is the first folder, not nested inside another.
Word says the file is corrupt. This usually means the ZIP structure is wrong. Re-extract and re-zip, ensuring you select all the extracted files and folders (including [Content_Types].xml) before compressing.
The password prompt still appears. The document may have both an open password and a modify password. You need to remove both. For the open password, you’ll need to know it to open the file; then use Method 2 to clear it.
You don’t have Word. You can use Google Docs to open a read-only document, then download it as a Word file—this often removes the restriction. For password-protected files, Google Docs will still ask for the password.
Frequently Asked Questions
Q: Can I unlock a Word document without any password at all?
A: Yes, if the document is only restricted for editing (not encrypted). The XML method works. If it’s encrypted to open, you’ll need the password or a recovery tool.
Q: Is it legal to bypass a Word document password?
A: It’s legal if you own the document or have permission from the author. Removing a password from a document you don’t have rights to may violate copyright or terms of use.
Q: Does this work on Mac?
A: Yes, the same steps apply. Instead of right-clicking to extract, you can double-click the ZIP file. For editing XML, use TextEdit.
Q: What if the document is .doc instead of .docx?
A: The ZIP method only works with .docx (and .docm). For .doc files, you’ll need to use Word’s built-in password removal (if you know the password) or a third-party tool.
Q: Will this remove the password permanently?
A: Yes, once you save the file after clearing the password or editing the XML, the restriction is gone. The original file is unchanged if you work on a copy.
Q: Can I unlock a document that has a password to open?
A: Not without the password. The methods here only work for editing restrictions. For open passwords, you’ll need to know it or use specialized recovery software.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Cool Down an Overheating Laptop
- Good Password: How to Create One
- Remove Write Protection on External Hard Drive
- How to Disable Chkdsk at Windows Startup
- Restore WiFi and Secure Your Netgear Router After Reset
- Fix Error 0x80004005: Top Easy Ways That Work