Comparison Guide

Remove Password from Word Document: Free vs Paid Methods

Forgot the password on a Word document? Before paying for a recovery service, you need to identify which type of Word protection you are dealing with. There are three separate layers: document editing restrictions (structurally removable, free), VBA project password (structurally removable, free), and file-open encryption (requires real cryptographic work, paid services justified). This guide walks through each layer, shows the free methods, and explains exactly when paid recovery makes sense.

Identifying the type of Word password protection

Word has three distinct password layers, and most confusion comes from treating them as interchangeable. The correct identification determines whether the fix is free (two minutes, no tools) or requires paid recovery.

Layer 1 — Editing restrictions (Review > Restrict Editing). If Word opens the document and shows content but blocks editing, this is a structural hash stored in the document XML. It is trivially removable without the password. Every free method works on this layer.

Layer 2 — VBA project password (Tools > VBAProject Properties > Protection). If the document opens, content is visible, but you cannot view macro code — the password gates only the VBA editor. Also structural: the macro source code is compressed plaintext in the file. Free removal in seconds.

Layer 3 — File-open encryption (File > Info > Protect Document > Encrypt with Password). Word asks for a password before showing any content. This is real AES encryption with key derivation. Free methods do NOT work here — the XML and binary streams are themselves encrypted. This layer requires cryptographic recovery via hashcat or a paid service.

First question: does Word show content before asking for a password?

If yes — the protection is structural (free removal). If Word locks up entirely with a password prompt before showing anything — you need paid recovery. This single observation saves most people an unnecessary payment.

Free method 1 — Remove editing restrictions via XML edit

Word document editing restrictions (also called restricted editing or formatting restrictions) are stored as a single XML element inside the .docx archive. Removing it takes under two minutes.

Steps: (1) Make a backup copy of the .docx file. (2) Rename the copy from document.docx to document.zip. (3) Open the ZIP with any archiver (7-Zip, Windows built-in). (4) Navigate to word/settings.xml. (5) Find the <w:documentProtection> element and delete it entirely. (6) Save the change, rename back to .docx, open in Word — editing restrictions are gone.

This method works on all modern .docx files from any Word version (365, 2021, 2019, 2016). It also works on .docm (macro-enabled) files. The element looks like: <w:documentProtection w:edit="readOnly" w:enforcement="1" w:cryptProviderType="rsaAES" w:cryptAlgorithmClass="hash" w:cryptAlgorithmType="typeAny" w:cryptProvider="Microsoft Enhanced RSA and AES Cryptographic Provider" w:cryptAlgorithmSid="14" w:cryptSpinCount="100000" w:hash="..." w:salt="..." />

Free method 2 — Copy-paste to a new document

If you cannot be bothered with XML editing, a trivial bypass: open the protected document in Word (it opens read-only), select all (Ctrl+A), copy (Ctrl+C), open a new blank document, and paste (Ctrl+V). The new document has no editing restrictions.

This works because the content is always readable — only the editing gate is locked. Caveats: formatting may shift slightly, tracked changes are flattened, and macros do not transfer. For quick content recovery, it is the fastest free method.

Free method 3 — VBA project password removal

If the Word document has a VBA project password (you can open the doc but cannot view macro code), the fix is structural: (1) Open the .docm (or .doc) as a ZIP archive. (2) Extract vbaProject.bin from the archive. (3) Use a hex editor or a dedicated tool (vbaProjectPasswordRemover, oletools) to patch the DPB protection flag. (4) Replace vbaProject.bin in the archive and rename back.

The macro source code is compressed plaintext inside vbaProject.bin. The password is a 4-byte hash that gates only the UI. Patching one byte removes the gate entirely. This has been true since Office 97 and remains true in Office 365.

Free tools: vbaProjectPasswordRemover (GitHub), oletools (Python). Both are open source and work on Windows, Mac, and Linux.

When paid recovery is justified — file-open password

File-open password encryption (Encrypt with Password in the Info panel) is the only Word protection layer where paid recovery services are legitimately useful. The document content is encrypted with AES-256 (modern .docx) or RC4 (legacy .doc), and the key is derived from the password through thousands of iterations of SHA-512.

No XML edit, no VBA patch, no copy-paste bypass works because the content itself is ciphertext. The only path to recovery is cryptographic: try candidate passwords until one decrypts the file successfully.

Paid services justify their cost here by maintaining GPU clusters (RTX 5090 arrays, cloud instances) that test billions of candidates per second — far beyond what a consumer PC can achieve. They also use ordered attack strategies (dictionary+rules, Markov chains, PCFG models) that find human-chosen passwords far faster than brute force.

Free vs paid comparison table

The decision matrix for Word password removal:

  • Editing restrictions (read-only, can't edit): FREE — XML edit, 2 minutes, any .docx
  • VBA project password (can't view macros): FREE — vbaProject.bin patch, 1 minute
  • File-open password (can't open file at all): PAID — cryptographic recovery via GPU cluster
  • Modify password (legacy .doc only): FREE — structural hash removal via hex edit
  • Mark as Final (yellow banner): FREE — click 'Edit Anyway', no password involved

Why free methods cannot handle file-open encryption

File-open encryption in modern Word (.docx) uses the ECMA-376 Standard Encryption framework. The file is a ZIP archive where the XML parts are encrypted with AES-256 in CBC mode. The encryption key is derived from the password using PBKDF2 with SHA-512 and 100,000 iterations (hashcat mode 9600).

Since the XML content is encrypted, opening the .docx as a ZIP shows only encrypted binary blobs, not readable XML. There is no element to delete, no flag to patch, no structural shortcut. The password is the only key, and without it the content is mathematically inaccessible.

This is the exact boundary between 'free DIY fix' and 'paid recovery service.' Any service that claims to 'remove Word password instantly' but cannot distinguish between editing restrictions and file-open encryption is either misinformed or misleading.

Word password type identification flow

  1. 1

    Try to open the document

    If Word shows content = structural protection (free fix). If Word asks for password immediately = file-open encryption (paid recovery).

  2. 2

    If content is visible but editing blocked

    Editing restrictions. Rename to .zip, edit word/settings.xml, remove <w:documentProtection>. Free, 2 minutes.

  3. 3

    If content is visible but VBA locked

    VBA project password. Extract vbaProject.bin, patch DPB flag, repackage. Free, 1 minute.

  4. 4

    If file asks for password before opening

    File-open encryption. No free method works. Use hashcat (if you have GPU hardware) or a paid recovery service.

  5. 5

    For legacy .doc with modify password

    Open as read-only (no password needed) or remove the modify hash via hex editor. The content is always accessible.

Frequently Asked Questions

Can I remove a Word password for free?
Yes, if the document opens and shows content but blocks editing or VBA viewing. Those are structural protections removable via XML edit or binary patch. If Word asks for a password before showing any content, free methods do not work — the document is encrypted with AES.
Is the XML edit method legal?
Removing editing restrictions from a document you own is fully legal. Removing restrictions from someone else's document without permission may violate terms of use or computer-misuse laws.
Will XML editing work on .doc files?
The method works on .docx (modern XML-based) files. Legacy .doc (binary) files require a hex editor approach. For .doc files with file-open encryption, recovery is often easier than .docx due to the weaker 40-bit RC4 encryption.
Do paid services guarantee Word password recovery?
For modern .docx file-open passwords, no reputable service can guarantee recovery — it depends on password strength. For legacy .doc files with 40-bit RC4 encryption, recovery is effectively guaranteed. Always check if the service offers a free pre-check before committing payment.
Can Word's own 'Recover Password' feature help?
Word has no built-in password recovery feature. The 'Password to modify' hint (available in some versions) only applies to the modify gate, not file-open encryption.
What about Word Online — can it bypass protection?
Word Online cannot open file-open encrypted documents at all. It respects editing restrictions set in Desktop Word. Switching to Online does not bypass either protection type.

Need Office password recovery?

Run a free analysis — encryption type detected automatically, fast techniques tried first, pay only on success.

Run Free Analysis

Related Reading