robot TL;DR:

You can bypass read-only editing restrictions on a Word document by converting it through Google Docs or modifying its XML code, but recovering a lost encryption password requires utilizing VBA scripts, command-line utilities, or dedicated password recovery software.
    ● To manually remove editing restrictions without third-party tools, save the restricted document as an .xml file, open it in Notepad to locate and change the exact text w:enforcement="1" to a 0, and resave the file as a normal .docx Word document.
    ● Free password decryption methods like the Guaword command-line utility and MS Visual Basic for Application (VBA) scripts only function on older Word document versions, with Guaword supporting Windows or Linux systems, while the Windows-only VBA cannot crack passwords longer than 3 characters.
    ● For complex passwords, paid software like iSunShare Word Password Genius utilizes GPU acceleration for faster recovery, but users must evaluate the inherent malware risks associated with using unverified third-party unlocking websites and software before proceeding.


Ask AI for a summary

Are you trying to open your protected Word document but forgetting your password? Throughout this article, you will learn how to unlock a Word document without password and with password. Although the Word software does not let users open their documents without a password, there are methods you can use to unlock your Word document even without a password.

🔑 Word Document Unlocking and Decryption Matrix

Identify your specific file lock state to deploy the correct system bypass:

Lock Vector Restriction Type Encryption Level Recommended Solution Track
Prompt on Open Read-Access Prevention High (AES-128/256) Part 2 - Method 1 (Google Docs Bypass) or Third-Party Decryptor
Grayed Out Tools Form Editing / Modify Lock Document Markup Only Part 2 - Method 3 (Manual XML Hacking Process)
Legacy .Doc Files Pre-2007 Version Lock Low (RC4 Encryption) Part 2 - Method 2 (Command-Line Utility / Guaword)
Broken File Structure Broken File/Corrupted Code Damaged Sectors Pro Tip: Deploy Wondershare Recoverit Scan

Part 1. How to Remove Word Document Passwords (When Password is Known)

If you already know the current credentials, removing protection takes just a few clicks. This clears the encryption keys so you can open the file normally in the future.

Method 1. Stop Editing Restrictions in Modern MS Word (Office 365 / 2019 / 2021)

  1. Open the Target Document (Access the restricted user workspace)
    Launch Microsoft Word and open the document by entering your known password.
  2. Navigate to the Editing Sub-Panel (Locate administrative security tools)
    Go to the top ribbon menu and click on the Review tab. In the Protect group option panel, click on Restrict Editing.
  3. Halt Active Document Protection (Clear encryption constraints instantly)
    Look at the bottom of the right-hand sidebar pane that appears and click the Stop Protection button. Input your password in the confirmation prompt window and click OK.

Method 2. Completely Remove a File Encryption "Open Password"

  1. Access the Backstage Document View (Open the primary program control panel)
    With your document open, click on the File menu tab located in the top-left corner of the interface header.
  2. Open the Document Encryption Window (Locate file protection properties)
    Select the Info tab from the left sidebar, click the Protect Document block icon, and choose Encrypt with Password from the dropdown menu list.
    click on file
  3. Clear the Encrypted Credential Box (Wipe security keys from the document file)
    A small dialog box containing an obscured password string will pop up. Completely erase all dots from the Password: text field, leaving it completely blank, then click OK and save your document.
    unlock password protected file

Method 3. Unlock Word Documents in Word 2007 and Earlier

  1. Open your Word document and enter its password.
    open word document
  2. click on the orange Microsoft icon on the top left corner and choose the Save as option.
    click on orange microsoft icon
  3. In the new window that opens, click Tools > General options.
    click on tools
  4. Clear the password in the Password to open field. You can also remove the password protection to modify your Word password. Then, click OK.
    remove password protection
  5. Rename the file if you don’t want to overwrite the original document. Then click the ‘Save’ button. Your Word document is now unlocked.

Part 2. How to Unlock a Word Document Without a Password

When you lose access to a password, you can bypass the lock by exploiting structural file formatting rules or using cloud rendering engines.

Method 1: Bypass File Restrictions Online via Google Docs

This method works because Google's server-side rendering engines ignore local Microsoft Office security flags when converting document formats.

  1. Upload the File to Google Drive (Transfer the document to cloud infrastructure)
    Open your web browser, navigate to drive.google.com, and log into your account. Click the + New button on the left panel and select File upload to upload your locked Word document.
    unlock word document
  2. Launch the File in Google Docs (Bypass read-only security blocks)
    Once the file finishes uploading, right-click the file icon inside your Google Drive dashboard directory list and select Open with > Google Docs.
    how to open password protected word file
  3. Export a Completely Unlocked Copy (Download the clean document to your desktop)
    The document will open in an editable workspace. To save it back to your computer, click File > Download > Microsoft Word (.docx). The newly downloaded file will be completely free of editing restrictions.
    how to open a password protected word document

Method 2: Unlock Document Editing Restrictions Manually (The XML Zip Strategy)

Modern Word files (`.docx`) are actually compressed zip archives containing structured XML code strings. You can easily remove editing restrictions by modifying these internal code flags.

  1. Change the File Extension Format (Convert the document container into a zip archive)
    Locate your locked .docx file in Windows File Explorer. Right-click the file, select Rename, and change the extension at the end from .docx to .zip. Press Enter and click Yes on the warning prompt.
  2. Extract the Settings Configuration Document (Locate the exact XML security node)
    Double-click the new .zip file to view its internal folders. Open the folder named word and locate the file named settings.xml. Copy this file out of the folder and paste it onto your desktop.
  3. Modify the Enforcement Tag Values (Disable protection flags using Notepad)
    Right-click settings.xml on your desktop and choose Open with > Notepad. Press Ctrl + F to search for the string <w:documentProtection. Delete this entire tag block (everything from <w:documentProtection to the closing /> symbol). Save and close the file.
  4. Reassemble the Archive Container (Restore the file back to a Word document)
    Drag your modified settings.xml file back into the word folder inside the zip archive, replacing the original file. Close the zip archive window, right-click your main file, change its extension back from .zip to .docx, and open it normally.
    type guaword doc
note
⚠️ Pro Tip for 2026: Recovering Files Damaged by Brute-Force Tools

Many online decryption tools and password-cracking programs use aggressive brute-force techniques to unlock documents. These methods often corrupt the underlying XML code blocks, resulting in file errors like "Word found unreadable content" or severe system file crashes.

If a cracking tool corrupts your document structure, or if you accidentally damage a file while editing its code blocks, you can restore your data using Wondershare Recoverit. Recoverit scans your hard drive sectors for earlier cached copies, temporary auto-save versions (`.tmp`), or healthy backup variants of the file. This allows you to recover a clean, uncorrupted version of your document without losing your text and formatting.

Method 3. Using Third-Party Software Recovery Tools

For complex open passwords on `.docx` files that cannot be bypassed manually, you can use specialized password recovery programs like Passper for Word or iSunShare Word Password Genius. These tools utilize advanced multi-thread GPU-acceleration loops to test millions of character combinations efficiently without affecting your original file.

  1. Open the restricted document in Microsoft Word.
  2. Navigate to File > Save As > select .xml.
  3. Right-click that new XML file and select Open with > Notepad.
  4. Press Ctrl+F on your keyboard and search for this exact text: w:enforcement="1"
  5. Change the number 1 to a 0.
  6. Save the file and close Notepad.
  7. Open the XML file in Word again.
  8. Go to File > Save As and save it back as a normal Word Document (.docx).

Method 4: Unlock a Word Document with MS Visual Basic for Application (VBA)

If a command line utility is not attractive to you or you are unwilling to install third-party software, the MS Visual Basic for Application (VBA) built-in Windows system is a good choice to open a password-protected Word document.

  1. Open your Word document.
  2. Press ALT + F11 to open Visual Basic Editor.
  3. You will see your file in the new window. Right-click on the Image name and select Insert > Module.
    select insert and module
  4. A new blank window will open. Please copy and paste the following code into it.

    Sub PasswordBreaker()

        Dim i As Integer, j As Integer, k As Integer
        Dim l As Integer, m As Integer, n As Integer
        Dim i1 As Integer, i2 As Integer, i3 As Integer
        Dim i4 As Integer, i5 As Integer, i6 As Integer

        On Error Resume Next
        For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
        For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
        For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
        For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
             ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
                Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
                Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
             If ActiveSheet.ProtectContents = False Then
                MsgBox "Password is " & Chr(i) & Chr(j) & _
                    Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
                    Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
              Exit Sub
             End If
        Next: Next: Next: Next: Next: Next
        Next: Next: Next: Next: Next: Next
    End Sub
    copy code into window
  5. Click on the Run icon. The recovered password will display on a small pop-up box that helps you open your Word document.
    click on run icon
icon note
Note: VBA also only works for older versions of Word documents on Windows computers.
Using VBA, you cannot crack a Word document password longer than 3 characters.

Method 5: Use a Free Online Word Password Unlocker (like LostMyPass)

There are plenty of online password decrypting tools for Word documents on Google. By googling the “online word password recovery tool,” you can see and use the one best suited for your needs.

The Word password unlocker you will learn in this section is LostMyPass. The lostmypass.com website offers a free tool for recovering the password of your Word documents. The process is quite easy to follow, and the interface is user-friendly. Let’s see how LostMyPass works.

  1. Type “lostmypass.com” in your browser.
  2. Upload your Word document to the LostMyPass Word password recovery.
    upload word document to lostmypass
  3. The website will start cracking your password automatically. When the process is done, a new window will open that shows you the password.
    start cracking password
  4. Copy the password to unlock your Word document.

If you are interested in cracking complex passwords, try ifindpass.com. The website offers different methods for recovering your document’s password, does so with great speed, and charges a relatively small amount of money for decrypting complex passwords.

copy password to unlock word document

Method 6: Recover a Word Document’s Password with Word Password Recovery Software

Aside from the online tools, a lot of Word password recovery software is available to help you unlock your Word documents. Throughout this article section, you will learn how to use a free and easy-to-use software called Passper. Let’s see how you can use Passper to unlock word document.

  1. Visit passper.imyfone.com and download the software.
  2. After installing and opening the software, select the option Recover Passwords.
    select recover password option
  3. Add your password-protected Word document to the program by clicking the Add button.
    click on add button
  4. Once the document is uploaded, you will see 4 recovery methods designed to recover password under different circumstances. Choose the one depending on your situation.
  5. Finally, click Recover to start the password recovery process. Once the process is finished, the password will be displayed on the software. Copy the password to unlock and open your Word document.
    start recovery process

Suppose you are looking for paid-for software with premium features such as GPU-acceleration, we recommend iSunShare Word Password Genius, as it uses smart algorithms and GPU acceleration to decrypt your Word document’s password much faster. In addition, the software has autosave, meaning that if the decryption is stopped before completion, it will remember how far it had gone.

isunshare word password software
Try Wondershare Recoverit to Recover Lost Word Document

article-safe-itemSecurity Verified. Over 7,302,189 people have downloaded it.

What to Consider Before You Unlock Word Documents Without a Password

Word documents often have the vital information you need and must have access to, but keep in mind that some websites or software used for unlocking Word documents can have malware that will harm your computer or laptop. Other aspects you must consider are that if you attempt to open another person’s file without their knowledge, they can sue you for vast sums of money. So, be careful.

Word Document Recovery
Get Back Deleted/Lost/Damaged Word Files Fast!
word document recovery

Conclusion

Unlocking Word documents is not complicated, and the process is further simplified with the help of online tools and software. Choosing the best software to unlock password-protected word document will ensure a fast and easy experience.

You may also be interested in: 6 Effective Solutions to “Word Icon Not Showing for DOCX Files” 

FAQ

  • How do you unlock a Word document?
    To unlock a Word document, open the file, click 'File' > 'Info' > 'Protect Document', and select 'Encrypt with Password'. If you know the password, enter it and click 'OK'. If you don't know the password, you can try using Google Docs or specialized password recovery software to unlock the document.
  • Why won't my Word document allow me to edit?
    Your Word document may not allow editing due to password protection, read-only mode, or document restrictions. To resolve this issue, check for password protection, ensure the file isn't set to read-only, and verify that no editing restrictions are in place.
  • Can Word files be locked?
    Yes, Word files can be locked using password protection or by setting the document to read-only mode. You can also apply editing restrictions to limit the actions users can perform on the document.
Raquel Alcocer
Raquel Alcocer Jun 16, 26
Share article:
Get Recoverit Get Recoverit