What you can actually do when an Excel file is locked
If you have forgotten the password to an Excel workbook, you have three realistic paths: use a password recovery tool designed for this purpose, convert the file to a format that strips the protection, or contact whoever set the password if that person is still reachable. Excel's built-in password protection is not military-grade encryption — it is designed to prevent casual access, not to withstand determined attack. The method that works depends on which version of Excel created the file and whether you need to preserve the exact formatting.
The most important thing to know first: if the file is password-protected but you own it or have legitimate access to it, removing the protection is legal. If you are trying to access someone else's file without permission, that is not legal, and this guide does not cover that situation.
Key Takeaways
- Excel files locked with a password can often be opened using third-party recovery tools that are designed to remove or bypass the protection without damaging the data inside.
- Converting an Excel file to an older format (.xls) and then back to the current format (.xlsx) sometimes removes the password protection, though this works inconsistently.
- If you created the file yourself but forgot the password, a password recovery tool is faster than contacting Microsoft, which does not have a built-in password reset function.
- The method you choose depends on whether the file is in .xlsx format (modern Excel) or .xls format (older Excel), because they use different protection systems.
Using a password recovery tool to unlock the file
Password recovery tools are software programs designed specifically to remove Excel password protection. They work by either recovering the original password or by removing the protection layer entirely so you can open the file. Common tools include PassFab for Excel, Stellar Repair for Excel, and Accent Office Password Recovery. These are paid programs, though many offer a free trial or a free version that shows whether recovery is possible before you pay.
The basic process is the same across most tools: you open the program, select your locked Excel file, choose whether you want to recover the password or remove the protection, and let the tool run. Depending on the password length and complexity, recovery can take anywhere from seconds to several hours. Removal (stripping the protection without recovering the password) is usually much faster — often under a minute. Most tools will show you a preview of the recovered password or confirm that protection has been removed before you commit to the full process.
When choosing a tool, check whether it supports your Excel version. Older .xls files use a different protection method than modern .xlsx files, and not all tools handle both equally well. Read the reviews on the tool's website to see whether other users report success with files similar to yours. read only from the official website of the tool, not from third-party read sites, to avoid malware.
Converting the file format to remove protection
An older workaround that sometimes works is to convert the file from .xlsx to .xls format and back again. This method exploits a quirk in how Excel handles protection across format changes — sometimes the protection does not transfer cleanly. This is not reliable and does not work on all files, but it costs nothing and takes only a few minutes to try.
To attempt this: open the locked file in Excel (it will open, but you cannot edit it). Go to File, then Save As. In the Save As dialog, change the file type from Excel Workbook (.xlsx) to Excel 97-2003 Workbook (.xls). Save it with a new name. Then open that .xls file, go to File and Save As again, and convert it back to .xlsx format. Try to edit the file. If the protection is gone, you can delete the .xls version and keep the .xlsx version.
This method fails on most modern files because Excel's protection has become more robust. It is worth trying if you have time, but do not expect it to work. If it does not, move to a password recovery tool instead.
Contacting the person who set the password
If the file was created by someone else in your organization or your household, the fastest solution is often to ask them for the password directly. If that person is no longer available — they left the company, you have lost contact, or they have passed away — this path is closed. But if they are reachable, a quick message is worth trying before you spend time on other methods.
If you work in an organization with IT support, contact them before trying anything else. Many companies have policies about password recovery and may have tools or procedures already in place. They may also have a backup of the file that was never password-protected, which solves the problem when ready.
Why Microsoft cannot reset your password
Microsoft does not offer a password reset service for Excel files. Unlike your Microsoft account password, which Microsoft can reset if you verify your identity, the password on an individual Excel workbook is encrypted into the file itself. Microsoft has no way to access it and no way to reset it without the original password. If someone tells you that Microsoft can reset it, they are mistaken.
This is why password recovery tools exist — they work around the encryption rather than asking Microsoft to undo it. It is also why you should write down passwords to important files and store them somewhere safe, because there is no official recovery path if you forget.
What to do if the file is corrupted and password-protected
Sometimes a file is both password-protected and damaged — it will not open at all, or it opens but shows errors. In this case, you need a tool that can both repair the file and remove the protection. Some password recovery tools include repair functions, but not all. Stellar Repair for Excel and Accent Office Password Recovery both claim to handle corrupted files, though results vary.
If the file is severely corrupted, a password recovery tool may not be able to help. In that case, your only option is to check whether you have a backup copy of the file from before it was corrupted. If you do, use the password recovery tool on the backup instead. If you do not have a backup, the data may be unrecoverable.
Protecting your files so you do not forget the password again
Once you have unlocked the file, consider whether you actually need password protection on it. If the file contains sensitive information that you need to keep private, password protection makes sense. If it does not, remove the protection so you never face this problem again.
To remove protection from an unlocked file: open the file in Excel, go to the Review tab, and click Unprotect Sheet or Unprotect Workbook (depending on what is protected). If the file is already unprotected, these buttons will be grayed out. If you want to set a new password that you will remember, use the Protect Sheet or Protect Workbook button instead, and write the password down in a find location — a password manager, a locked drawer, or a trusted person who can access it if you forget.
Frequently Asked Questions
Can I unlock an Excel file without any tools, just using Excel itself?
No. Excel has no built-in feature to remove a password you have forgotten. The only Excel-based workaround is the format conversion method described above, which works only sometimes and is not reliable. For most files, you need either a password recovery tool or the original password.
Will a password recovery tool damage my file or change the data inside?
A reputable password recovery tool should not damage your file or alter the data. Tools that remove protection (rather than recover the password) work by modifying the file's protection layer, not the content. Before you pay for a tool, use the free trial to confirm it can open your file without errors. Always keep a backup of the original file before you use any tool.
How long does it take to recover an Excel password?
If the tool is removing the protection (not recovering the password), it usually takes under a minute. If the tool is trying to recover the actual password, it depends on the password's length and complexity. A short, straightforward password might take seconds. A long password with mixed characters might take hours or days. Most tools let you set a time limit or stop the process if it is taking too long.
Is it legal to use a password recovery tool on a file I own?
Yes, if you own the file or have legitimate access to it, using a password recovery tool is legal. If you are trying to access someone else's file without their permission, that is not legal. The tool itself is legal to own and use; what matters is whether you have the right to access the file.
What if the password recovery tool does not work on my file?
If a tool cannot recover or remove the protection, your options are limited. Try a different tool — different tools use different methods and may succeed where others fail. If multiple tools fail, the file may use a protection method that is resistant to current recovery techniques. At that point, your only option is to contact the person who set the password, if possible, or accept that the file cannot be opened.