How to Unlock a Word File: With a Known Password or When It's Lost

A Word password unlocker is a whole class of programs for recovering passwords to Microsoft Word files when the password is forgotten or lost. Here's what a decent unlocker has to have:

  • support for every version of Microsoft Word
  • instant removal of simple protection passwords
  • a high-speed search for strong "Passwords to Open"
  • GPU acceleration on NVIDIA/AMD/Intel Arc graphics cards
  • flexible control over the search range
Video: "How to Unlock a Word File: A Complete Guide to Removing and Recovering Passwords"

Try Accent OFFICE Password Recovery — a Windows program that unlocks password protection on Microsoft Word 6-2024/Microsoft 365 files, and it has everything on that list.

Password Protection in Microsoft Word: Strong vs. Weak

Password locking in Microsoft Word comes in two kinds: strong protection against public access to your data ("Password to Open") and simple protection against accidental changes (every other kind of password protection) (details).

  1. Protection against public access to your data (strong protection):
    • Password to Open
  2. Protection against accidental changes (weak protection):
    • Password to Modify
    • Restrict Editing password
    • VBA macros password

The Password to Open: Strong, Encryption-Based Protection

Setting a "Password to Open" encrypts all the data in a Word document (in Word 2007 and later that's AES, the same industry-standard cipher used everywhere else), and there's no unlocking an encrypted file without the password. Searching for that password (recovering it, which really means cracking it — running through combinations) takes time, and how much depends on the Word format version and the complexity of the password that was set.

Editing-Restriction Passwords: Weak Protection, Removed Instantly

Every other password type doesn't encrypt the data. It only blocks certain actions with it. You can still open the Word file and work with the data in a restricted mode — the password is only needed to save (or apply) changes. The thing about this kind of protection: it can be removed instantly in any version of Word.

Password protection in Word controls access to information, and it's been a useful feature since the very first versions of Office. But time passes, and sometimes those passwords stop being useful and need to go.

Gotta do it? Then let's do it. Time to learn how to unlock a Word file and clear out the passwords you don't need.

A guide to removing and recovering a lost Word password
Unlock This with Passcovery: A Password-Protected Word File

How to Unlock a Microsoft Word File When You Know the Password

If you know the password, you're all set. Unlocking a Word file is just locking it in reverse: enter the password, delete it, and save the file without one.

Here's how it works in Microsoft Word 2016.

How to Remove the Password to Open (Document Open Password)

1. Launch Word, go to "Open," and just click the file you need. That selects it and starts opening it.

Opening a file in Microsoft Word 2016-2024
The file open screen in Microsoft Word 2016-2024

2. Enter the password you know and open the Word file (if you don't know it, here's the guide on recovering it)

The Password to Open prompt in Microsoft Word 2016-2024
The "Password to Open" prompt in Microsoft Word 2016-2024

3. Go to "File" → "Info," open the "Protect Document" menu, and select "Encrypt with Password."

Microsoft Word 2016-2024. The file info screen
The file info screen in Microsoft Word 2016-2024

4. In the new window, delete the password you set, click "OK," and re-save the file. You can also save it under a new name. That way you'll have two Word files: the original with password protection, and a new, unlocked one.

Microsoft Word 2016-2024. Removing password encryption
Removing password encryption in Microsoft Word 2016-2024

That's it. Your data is decrypted and the "Password to Open" is gone. The next time you open the file, no password needed. …assuming you re-saved the original and didn't save a new file without a password, of course. 😜

How to Remove the Password to Modify (General Options)

1. Start Word and begin opening the file you need, enter the "Password to Modify," and continue.

Microsoft Word 2016-2024. The Password to Modify prompt
The "Password to Modify" prompt in Microsoft Word 2016-2024

2. In the "File" menu, click "Save As," then open the "Tools" menu and select "General Options…"

Microsoft Word 2016-2024. The file save options window
The file save options window in Microsoft Word 2016-2024

3. In the new window, delete the "Password to Modify," click "OK," and save the unlocked file.

Microsoft Word 2016-2024. Removing the Password to Modify
Removing the "Password to Modify" in Microsoft Word 2016-2024

The "Password to Modify" is gone!

Alternative: Remove the Password to Open via the Same Save Options

Here's the thing: the "Password to Open" comes off the same way. Besides the "Password to Modify," this options window lets you delete that password too. And right here you can not only remove but also change either of them.

How to Turn Off the Restrict Editing Password

1. Open the Word file you want to unlock, go to "Review," click "Protect," and then "Restrict Editing."

Microsoft Word 2016-2024. Enabling/disabling Restrict Editing
The tab for enabling/disabling Restrict Editing in Microsoft Word 2016-2024

2. In the window that appears, click "Stop Protection," enter the password you know, and click "OK" — that turns off the editing restrictions set on this Word document.

Microsoft Word 2016-2024. Removing editing restrictions
Removing editing restrictions in Microsoft Word 2016-2024

How to Remove the VBA Macros Password in a Word File

1. Open the Word file with the VBA password as usual, and press "Alt+F11." This launches the VBA code editor. Open the "VBAProject Properties…" window through the editor's "Tools" menu.

Microsoft Word 2016-2024. The VBA code editor
The VBA code editor (Alt+F11) in Microsoft Word 2016-2024

2. The editor will ask for the VBA password to access the Word file's data. Enter it and click "OK."

Microsoft Word 2016-2024. The VBA password prompt
The VBA password prompt in Microsoft Word 2016-2024

3. In the VBA project properties window that appears, go to the "Protection" tab, uncheck "Lock project for viewing," and delete the VBA password from the "Password" and "Confirm password" fields. That's it. Now click "OK" and save the file.

Microsoft Word 2016-2024. Removing the VBA password
Removing the VBA password in Microsoft Word 2016-2024

You've successfully removed the VBA macros password, and the VBA code is now saved unprotected in your Word file.

How to Unlock a Word File When the Password Is Lost

What a Word Unlocker Actually Does

The fix for a forgotten or lost Word password is a Word password unlocker. Most often these are Windows programs for recovering or removing passwords (though there are online tools too).

Microsoft has its own tool as well — DocRecrypt. But there's a catch: it only removes a password in organizations where the admin handed out an escrow key ahead of time. If you forgot the password to an ordinary file "just because," DocRecrypt isn't for you and won't help at all.

Accent OFFICE Password Recovery: GPU Acceleration, 3 Attack Types, Word 6-2024

My pick is Accent OFFICE Password Recovery. Here's why:

  1. AccentOPR recovers or removes weak-protection passwords (the kind guarding against accidental changes) instantly, in every version of Word.
  2. For strong, encrypted passwords, AccentOPR always searches at your computer's maximum speed.
  3. Brute-forcing the "Password to Open" on Word 2007-2024/Microsoft 365 (.docx files) gets a big speed boost from NVIDIA, AMD, and Intel Arc graphics cards.
AccentOPR Logo 48 Accent OFFICE Password Recovery
for Microsoft Office and OpenOffice/LibreOffice files, all versions

Everything AccentOPR Can Do

  • support for Microsoft Word 6-2024/Microsoft 365 formats (plus Access, PowerPoint, Excel, and LibreOffice/OpenOffice)
  • instant recovery or removal of simple protection passwords
  • high-speed brute force against strong, encrypted passwords (ASM-optimized source code)
  • GPU acceleration on NVIDIA/AMD/Intel Arc cards for Word 2007-2024/Microsoft 365 .docx files
  • 100% guaranteed decryption of Word 6-2003 files (by finding the 40-bit encryption key)
  • three password attacks (brute force, extended mask, and dictionary attacks)
  • custom attack scenarios (chained sequences of multiple attacks)
  • flexible search range controls (positional masks, dictionary merging and mutation)
  • auto-saved attack status (resume right where you left off)
  • a Windows GUI plus command-line support

How Password Recovery Works: Setting the Search Range

Using this Word password unlocker boils down to opening the password-protected file and, if needed, setting the search range for the "Password to Open."

Weak-Protection Passwords Are Removed Instantly, No Setup

Every other weak-protection password, Accent OFFICE Password Recovery recovers or removes instantly, no setup required, in every version of Word.

See how it works (the video shows examples with Excel, but it all works the same for Word):

Recover Excel 95-2024/Microsoft 365 passwords with AccentWPR/AccentOPR

Once you've recovered your password in Accent OFFICE Password Recovery, you can go ahead and unlock the Word file using the guide above.

Limitations: What a Word Unlocker Can't Do

Guaranteed Decryption Only for Word 6-2003 (40-bit Key)

The one case with a 100% guarantee is the one we already covered — Word 6-2003. There, you're not searching for the password but for a short 40-bit key, which is simply computed. Past that line, the word "guaranteed" ends.

The Password to Open in Word 2007-2024 Can't Be Removed, Only Recovered

Starting with Word 2007, that short key is gone — the data is locked with AES using a 128-bit key (up to 256 in recent versions). You can't compute a key like that, so you have to search for the password itself. And that means a full brute-force search.

Recovery Time for Strong Passwords Isn't Guaranteed

And since it comes down to a search, nobody can name an exact timeframe. It depends on the format version and the password's complexity. But "not guaranteed" doesn't mean "hopeless": three attack types, smart scenarios, and GPU acceleration on NVIDIA, AMD, and Intel Arc cards turn brute force from a lottery into actual work. Hard — but doable.

About the Author

Denis Gladysh

Denis Gladysh, co-owner and head of Passcovery, a maker of high-speed, GPU-accelerated password recovery software for popular file formats. Denis wrote the first versions of Accent OFFICE Password Recovery back in 1999.

Facebook LinkedIn Twitter

Microsoft Word Password Protection: FAQ

Can Encrypted Word Files Be Cracked?

The answer depends on the Microsoft Word format version:

  • Word 2-95 (through the French edition of 97) — uses very weak protection and gets cracked instantly, no matter how complex the password is
  • Word 97-2003 — uses a short 40-bit encryption key; guaranteed to crack by finding the encryption key, with the password itself staying unknown
  • Word 2007-2024/Microsoft 365 — reliable, strong protection with no loopholes: a 128/256-bit encryption key, and the password itself is run through tens of thousands of hashing iterations before each check — which is exactly what slows the search down. Cracking is only possible by running through combinations (brute-force attack, dictionary attack), with GPU acceleration as an option

But there's always room for human carelessness, and for simple passwords in the protection. 😉

Is .docx Protection as Strong as .doc?

No. DOCX (the Office Open XML format — that's where the X in the extension comes from) is a more modern, more reliable format with improved data protection algorithms (the AES cipher instead of the old RC4).

A password-locked DOC file can be decrypted without the password — its short 40-bit key is found by search (at AccessBack.com, for example, via rainbow tables). A key that's 240 long is realistic to brute-force. That won't fly with DOCX: there the key is 128/256-bit, and 2128/2256 combinations can't be searched in any reasonable time. So you're left searching for the password itself, one combination at a time. And each new format version makes that search slower.

The upside: passwords for DOCX files can be searched on NVIDIA, AMD, or Intel Arc graphics cards. That turns out much faster.

Is a Long Password Like "My$uper$ecretPassw0rd" Safe?

Yes and no. 🙃

It looks like everything's fine. No brute-force attack will crack a password this long in any reasonable time. That much is true. But…

Length is deceptive. Strength comes not from length itself but from entropy — unpredictability (length is only one part of it). "My$uper$ecretPassw0rd" is long but predictable: dictionary words plus the usual letter swaps.

A mask attack catches that structure, and the words themselves fall to dictionary merging and mutation. And that's much faster than a straight brute-force search.