Unprotect MS word Doument.

This is a how to on how to recover access to a word document that has been protected to disable editing.

In MS word if you go to the tools menu then select 'protect document' you can set the password to protect the document from editing. Useful feature if it s a memo or a form that needs to be passed about and you don't want anyone to make changes to it.

Now what happens if you forget the password and you need to make changes to the document?

For this instructable you will need.

1) A protected word document.
2) Ms Word.
3) Text Editor (like WordPad or Notepad).
4) Hex editor (Like WinHex).
Remove these adsRemove these ads by Signing Up

Step 1: Method 1: Copy contents of the document into a new document.

One of the disadvantages of using this method is that you might mess up some of the formatting especially if you don't have all the fonts etc. Also some of the protection options even might prevent copying.

Open the protected document do a Ctrl + A to select everything in the document.

Do a Ctrl + C to copy the selected area

Open a new document

Do a Ctrl + V to paste the selected area

Save the new document.

The new document is ready for you to make changes.

Step 2: Method 2: Format the word document.

Picture of Method 2: Format the word document.
a. Make a copy of the protected document incase you mess it up ;0)
b. Open the protected document in MS word.
c. Under the file menu select 'Save As'.
d. Under 'Save as type' choose "Web page (*.htm; *.html)" and click save
e. Close word.

Step 3: Method 2: Find the password.

In WordPad (or notepad) open the HTML document you just created.

Search through the document for tag.

The value between the open and closed tag represents the password. It should be eight characters in length. Write this value down. (Characters: 12345678).

Close WordPad
Seebauer3 months ago

Thanks, a great article. I wish a similar method existed for the Word docs that are password protected from opening. I had one with a forgotten password, and I did have to use a commercial tool, namely the service that a guy suggested in the comments below. It did the trick, but did cost money. Hopefully more freeware tools will appear on the web soon.

nbeched6 months ago
This is plain awesome.

Thanks a lot, just saved me a ton of time...

I can't believe there are paid tools to do this...
My unprotected password showed up as 00000000. I typed in nothing in the password section and it told me I have the wrong password.
a value of 0 means your document is unprotected. or protected with a null password. which means a password string of one or more zeros were used.
pecker10 months ago
This works if you've got Acrobat Pro.
Open your MS Word document.
Save as PDF.
Open the PDF file.
Save as MS Word.
zambi007 pecker7 months ago
nope. even if you have the latest acrobat x, your method doesn't work. acrobat doesn't include tags/comments/notes &c from a protected word doc in its pdf. so if one has a header/footer, it gets all mixed up in the finally retrieved doc from acrobat. of course, you get a final protection-removed word doc but just have a look at the formattings. everything you get is so clunky and goofed up like a badly dressed salad.

mr_e has given a way far easier and quicker than yours.
You may work with word files with the help of .doc repair recovers text files of any version, works under MS Windows 98/.../7
cwolf51 year ago
There's some online services that specialize in unprotecting Word and other docs if you don't want to bother with it yourself. It's as easy as it sounds: you upload a protected document to the server and get it back in several seconds with all passwords removed! Used the one named and can't say anything bad about it. Hope it'll help someone!
tom471 year ago
For work with word files try to use repair docx files repairs the structure of DOC, DOT, RTF and similar MS Word documents on any PC
Dee key2 years ago
very good website for android
IPR1232 years ago
Thank you for the good idea.

I tried it on a file with edit protection in word 2010

At this stage I opened it up in Notepad++ and I found the password was shown as all zeros (was not blank in word however). So couldnt use the hex approach.

So I just deleted the two xml lines referring to protection, re opened in word and it seems to be fine. Note that you have to reset the view mode from web to normal otherwise the document looks odd on screen.

I also noticed that openoffice ignores the protection.
amclean42 years ago
it lets me go to tools but it doesnt let me select protect or unprotect document :@
rscsmith2 years ago
Useful instructable! Thanks. Just one edit suggestion:-

If you're using Word XP/2003 there is a short-cut. Try this:-
(courtesy of )

If you are using office XP or 2003, you can change the view to HTML-Code using Microsoft Script-Editor by pressing the [Alt]+[Shift]+[F11] key combination.

Search for "Password" and you will find somethimg like this:

To remove the protection:
-Just remove those two lines, and after saving the document , the protection is gone.

To remove the password:
-replace the Password, here "19E8E61E", with "00000000", save the Document and close "Script-Editor".

Alternative you can save your document as .html and use a html-Editor.

Cheers, Rob.
ixilon3 years ago
It worked for me, Office 2003 + Notepad++ and HxD. Great work!
juiya3 years ago
Thanks, Jezza Bear! Worked for me
riskrail5 years ago
Here is the easiest way I have found to unprotect a word document: save file as a Rich Text File File will appear with file name followed by .rtf Open .rtf and save as a word document click Tools and select Unprotect This should give you the file unprotected.
squirmster7 years ago
Any idea how I would get this to work with password protected pdfs? I often have to capture contents of these and I can't copy the text from them.
Use Colorsync in OS X. Open document Save as... (new name) TA-DAA! No password. Google if you have any more questions.
pixil5 years ago
hey, i tried this but couldn't find the string in the hex editor. so i just went back to the html file, deleted the entire line that referenced the password protection. then i saved the modified html file, opened it in word, and was able to turn off the protection. silly users locking themselves out of their own documents. thanks for the tips though!
jchar775 years ago
You don't even need hex editor... You save it as a .htm file, find the 8 letter code and replace it with 8 zeros. Nice try though!
zaeka_dori6 years ago
10x, Jezza Bear. That's brilliant and very useful.
omg that could be used to hack a grades sheet or something at school. like my teacher does that and lets us see our grades from the network drive, but they are unchangeable. i promise never to put this info to bad use. :-)
Jezza Bear7 years ago
Even simpler way is this: 1) Create a blank new document. 2) Select Insert | File... 3) Browse to the document, then click Insert. You'll have the unprotected form document on your hands. Much simpler and not underhand.....the reason this is done is to protect the document from changes for version control
lemonie7 years ago
I'm not sure that I get this. How do you open a password protected doccument? The password would prevent you from doing this? If you can open the protected doccument and view it, where is the advantage in de-protecting it? (please explain, I'm tired and must have missed something) L
There are two levels of password protection in Word. Password needed to open the document and password needed to modify the document.
And you can get around the 'modify' password with 'save as'. The actual unprotection of the original is interesting, but I can't see the use(?)

tuxracer667 years ago
You don't need it with OpenOffice - it ignores the protection by word (in most cases)
rimar20007 years ago
The step 5 doesn't work in MS Word 97.
rislejay7 years ago
Tried this in Word XP and 2003 without any luck. Maybe an update patched this hole or it never existed in these versions.
Taotaoba7 years ago
I just tried it in Word 2000. The protected document cannot prevent you from openning and even editing, but the later changes will be prevented or marked as red (Depends on what you choose to protect). Thanks for sharing.