How to unprotect Word files when you don’t know the password

How to remove unknown passwords from protected Microsoft Word files I’m regularly annoyed at password-protected Microsoft Word files that only permit editing of certain aspects of the document such as form fields. By itself, Word’s “Restricted Editing” isn’t necessarily a bad thing. It’s the fact that file creators are usually very conservative and prefer to disallow editing something “just in case”, rather than giving users the option to add text somewhere unexpected.
The result is often that in order to complete a form, one must print it out and amend it with a pen, or convert to PDF and use the “comment” function.

Looking for a way around, I recently found out how to remove the Document Protection from Word files without knowing the actual password*:

* Note that this method only works with Word Docs that are protected from editing, not files that require a password to open.

    1. Open the Word file in question (doc, docx)
    2. Choose “File”, “Save File As”, and make sure the file format is set to “Rich-Text-Format (*.rtf)”. Close the file in Word (important!)
      Choose "File", "Save File As", and make sure the file format is set to "Rich-Text-Format  (*.rtf)".  - ow to remove unknown passwords from protected Microsoft Word files
    3. Open the new Rich-Text file with a text editor (e.g. Notepad or Notepad++). You can do so by dragging and dropping it into the editor window, or choose “File”, “Open File”, and set the file format to “All files (*.*)”.
    4. Find (ctrl-f) “passwordhash” and replace the string that follows with something else (e.g. “nopassword”). Save and close the file in your text editor.
      Find (ctrl-f) "passwordhash" and replace the string that follows (marked here in green) with anything else (e.g. "nopassword"). Save and close the file in your text editor. - How to remove unknown passwords from protected Microsoft Word files
    5. Re-open the modified Rich-Text file in Word, go to “Review”, “Restrict Editing” and click on “Stop Protection” (german version: “Überprüfen” – “Bearbeitung Einschränken” – “Schutz aufheben”). Uncheck all tick-boxes.
      Re-open the modified Rich-Text file in Word, go to "Review", "Restrict Editing" and click on "Stop Protection". Uncheck all tick-boxes. - How to remove unknown passwords from protected Microsoft Word files Re-open the modified Rich-Text file in Word, go to "Review", "Restrict Editing" and click on "Stop Protection". Uncheck all tick-boxes. - How to remove unknown passwords from protected Microsoft Word files
    6. Done. You’ve unprotected your Word file without ever knowing the password.
    7. Optional: Convert your file back to its original file format by selecting “File”, “Save As”, and choosing the original file format.

I’ve successfully tested the above workaround with Microsoft Office Professional Plus 2010 and Microsoft Office Professional Plus 2013. Please let me know whether this works with older/newer Office versions by commenting on this post!

Also, if this tutorial just saved you a lot of time and work, my paypal page is always open for a cup of tea or, preferably, a piece of cake. :)

344 thoughts on “How to unprotect Word files when you don’t know the password

  1. I can’t open my word file because I forget password. How should I do that?? Please help me if you can.

  2. Tried and failed a lot of other methods … this worked! Many thanks.

  3. No matches found in the rtf file for “passwordhash”; also no matches found for “password”, “pass” or “hash”, so couldn’t identify what text to replace. Tried saving the rtf from doc and docx (2010) with no success. Any suggestions?

  4. I haven’t come across such a case. All I can offer is to have a look at the file myself (e.g. via dropbox link) if it’s not a confidential one.

  5. G Sines – don’t include the quote marks in the search string???

    (This worked very well for me – just as described)

  6. sorry but I am struggling at step 1. 1.» Open the Word file in question (doc, docx), that the whole point, I cannot open the file to save it as an rtf file. Appreciate any advise

  7. hi wayne,
    this method only works with word documents that are protected from editing, not word files that don’t allow opening without the password.

  8. OMG, you just totally saved my bacon at work! (Or at the very least saved me hours of having to recreate a 42 page document by hand!) THANK YOU!!!!!

  9. Wow! Works perfectly! It even keeps all of the formatting intact! Thanks man!

  10. Awesome step-by-step advice – worked like a charm. Big THANK YOU!!

  11. No luck at all. It also states that it was created in an older version of microsoft word and it has macros. I am at a loss of what else to do.

  12. Thanks a million! This was brilliant! I had tried a convoluted method that involved creating an HTML page, finding a “unprotect password” string of eight characters, then opening the Word file with a hex editor (which I had to download) and finding this string inside out — didn’t work. This method was so simple and brilliant, and now I can do what we intended without a typewriter to fill in the missing fields.

  13. Awesome!!!
    This work perfectly, the original author of the Doc did not even know their own password and this saved me from reinventing the wheel.

  14. Worked for me. The password protected document was such a nuisance before, Cheers :)

  15. Great work, I really appreciate it! However, all the cool little drop boxes and links don’t work anymore, do you have any ideas why that would be?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.