Guide

Forgot Your Office File Password? How to Recover an Encrypted Document

Updated January 2026 • 5 min read

You need a file, and it wants a password you don't have. Before you give up, it helps to know that “password protected” means two very different things in Microsoft Office, and only one of them is a dead end. Here's how to tell which lock you're facing and how to get back in.

First, which kind of password is it?

If the file opens and only blocks editing, it's editing protection, which can be removed in seconds for free. If the file won't open at all until you type a password, it's open-password encryption, which can only be recovered, not stripped.

Editing protection (removable)

The file opens fine, but sheets, the document, or the layout are locked for editing. This is a simple flag you can remove instantly and for free, right in your browser.

Remove it for free

Open-password encryption (recover only)

The file demands a password before it will even open. The contents are fully encrypted, so there's no flag to remove. Your only route is to recover the password, which the steps below cover.

Recover a forgotten open-password: start here

These cost nothing and solve most real-world lockouts. Work through them in order before considering paid software.

  1. Retrace the password. Try your usual passwords and close variations. Office passwords are case-sensitive, so check Caps Lock and any trailing spaces.
  2. Ask the source. If someone sent you the file, they set the password. A quick message is faster than any tool.
  3. Check version history. If the file lives on OneDrive or SharePoint, open its version history. An earlier version may pre-date the password, and you can restore that copy unlocked.
  4. Restore from a backup. A pre-lock copy in a backup, email attachment, or synced folder sidesteps the password entirely.

If the file is still locked: recovery software

When the password is truly lost and there is no earlier copy, dedicated recovery software is the remaining option. It runs on your own computer and tries to work out the password through dictionary and brute-force attacks. Success depends on how strong the password was and how much time you allow, so treat it as a maybe, not a guarantee.

Choosing recovery software

Pick a reputable, well-reviewed tool, download only from the official site, and be realistic: a short or common password can fall in minutes, while a long random one may be impractical. Never upload a sensitive file to an unknown web service to “recover” it.

Search for a well-reviewed Office password recovery tool and download it only from the official site.

Frequently asked questions

Can I remove an open-password for free online?

No. An open-password encrypts the whole file, so there is nothing to strip out; it has to be recovered by working out the password. Free online removers only handle editing protection, which is a different, non-encrypted lock. Be very cautious of any site that asks you to upload an encrypted file.

How is this different from removing sheet or document protection?

Sheet and document protection only restrict editing; the file still opens without a password, so the restriction can be removed instantly and for free. An open-password stops the file from opening at all, which is encryption, and encryption can only be recovered.

Is password recovery software safe and legal?

Recovering a password for a file you own or are authorised to access is legitimate, and reputable tools run entirely on your own machine without uploading your file. Only ever use it on files you have the right to open, and download the software from its official source to avoid malware.

Related guides

Try Office Password Remover Free