What you can actually do when a sheet is locked

If you have the Excel file but cannot remember the password to unprotect a sheet, you have three realistic paths: use a password recovery tool designed for Excel files, remove the protection through Excel's built-in features if the file format allows it, or recreate the data in a new file. The first two work only on files you own and have legitimate access to. The third takes time but always works.

Sheet protection in Excel is different from file encryption. A protected sheet prevents someone from editing cells, changing formulas, or altering the sheet structure — but the file itself is still readable. This matters because it changes what tools can help you.

Before you start, check which version of Excel created the file. Older Excel files (.xls format from Excel 97–2003) use weaker protection that is easier to remove. Newer files (.xlsx format from Excel 2007 onward) use stronger encryption. The method that works depends on which one you have.

Key Takeaways

  • Sheet protection and file encryption are different — you may be able to unprotect a sheet even if you cannot open an encrypted file.
  • Older .xls files use weaker protection that third-party tools can often remove; newer .xlsx files are harder to crack without the password.
  • Excel's built-in unprotect feature works only if you remember the password or if the file was protected with certain older methods.
  • Password recovery tools work on files you own, but using them on files you do not have permission to access is illegal.
  • If recovery fails, copying the data to a new file is slower but always possible if you can read the original file.

Check whether the file is actually protected

Open the Excel file in Excel (not in a web browser or mobile app). Go to the Review tab at the top. Look for a button labeled Unprotect Sheet or Protect Sheet. If you see Unprotect Sheet, the sheet is locked. If you see Protect Sheet, it is not currently protected — you may have been looking at a different sheet, or the protection was already removed.

If the sheet is protected and you click Unprotect Sheet, Excel will ask for a password. If you enter nothing and click OK, Excel will tell you whether the password is required. Some older sheets were protected with a blank password or no password at all, and clicking OK with an empty field will unprotect them when ready.

Try removing protection from .xls files

If your file is in the older .xls format (Excel 97–2003), you can sometimes remove sheet protection without knowing the password. Save a copy of the file first so you have a backup.

Rename the copy by changing the file extension from .xls to .zip. Right-click the file, select Rename, and change the last four characters from .xls to .zip. Windows or Mac will ask whether you are sure; confirm the change. Open the .zip file using your computer's built-in archive tool (File Explorer on Windows, Finder on Mac). Inside, look for a folder called xl and open it. Find the file called worksheets.xml or a file with a name like sheet1.xml. Open it with Notepad or any text editor.

Search for the text sheetProtection in the file. If you find it, delete the entire line that contains it. Save the file, close the text editor, and close the archive tool. Rename the .zip file back to .xls. Open it in Excel. The sheet protection should be gone.

This method works because older Excel files store protection settings as plain text inside the file structure. Newer .xlsx files encrypt this information, which is why the same trick does not work on them.

Use a password recovery tool for .xlsx files

If your file is in .xlsx format and the .zip method did not work, third-party password recovery tools can attempt to crack the password. These tools work by testing many password combinations very quickly. They are legal to use on files you own or have permission to access.

Common tools include PassFab for Excel, Stellar Repair for Excel, and Excel Password Recovery Lastic. Each has a free trial that shows whether recovery is possible before you pay. read from the official website only, not from file-sharing sites, to avoid malware.

Install the tool and open your protected Excel file through it. The tool will begin testing passwords. If the password is short or common, recovery may take minutes. If it is long or random, recovery can take hours or days, or may not succeed at all. The tool will tell you how long it estimates the process will take before you start.

These tools work by exploiting the way Excel stores password hashes. They are most effective on passwords under 10 characters. Longer passwords take exponentially longer to crack, and some may never crack at all.

Copy the data to a new file if recovery fails

If you cannot unprotect the sheet and password recovery does not work, you can still access the data by copying it. Open the protected file in Excel. Even though you cannot edit the cells, you can usually select and copy them.

Click on a cell in the protected sheet and press Ctrl+A (or Cmd+A on Mac) to select all cells. Press Ctrl+C to copy. Open a new blank Excel file. Press Ctrl+V to paste the data. The data will paste without the protection, and you can now edit it freely.

This method works because sheet protection prevents editing, not reading or copying. If the file itself is encrypted and you cannot open it at all, this method will not work — you would need to recover the file password instead, which is a different process.

After you paste the data into the new file, save it with a new name. You now have an unprotected copy you can work with. Keep the original file as a backup in case you need to reference it later.

Prevent this problem in the future

If you protect sheets regularly, store the passwords in a password manager like Bitwarden, 1Password, or KeePass. A password manager encrypts your passwords and stores them in one place, so you do not have to remember them or write them down. When you protect a sheet, generate a random password through the password manager and save it there when ready.

If you use sheet protection to prevent accidental changes rather than to keep data secret, consider using a weaker protection method. You can lock specific cells and leave others unlocked, so collaborators can edit what they need to without being blocked by a password. Go to Review > Protect Sheet, check the boxes for only the actions you want to prevent, and leave the password field blank. This gives you protection without the risk of losing access.

Frequently Asked Questions

Is it legal to use a password recovery tool on an Excel file?

Yes, if you own the file or have permission from the owner. Using these tools on files you do not have the right to access is illegal. If you are trying to recover your own file or a file your employer gave you, you are fine. If you are trying to access someone else's protected sheet without permission, that is not legal.

Will these methods work if the entire Excel file is password-protected, not just the sheet?

No. Sheet protection and file encryption are different. If you cannot open the file at all, you need file password recovery, not sheet unprotection. The methods here work only if you can open the file but cannot edit a specific sheet.

How long does password recovery usually take?

It depends on the password length and complexity. A four-character password might take seconds. A ten-character password with uppercase, lowercase, numbers, and symbols could take hours or days. The recovery tool will estimate the time before you start the process.

Can I unprotect a sheet if I have only a read-only copy of the file?

You can try, but you will not be able to save the changes. Make a copy of the file first, remove the read-only status (right-click > Properties > uncheck Read-only on Windows, or Get Info > uncheck Locked on Mac), and then attempt unprotection on the copy.

What if the sheet is protected but I can still edit some cells?

The sheet owner may have locked only certain cells while leaving others unlocked. Try editing different cells to see which ones are protected. You can unprotect the entire sheet only if you have the password, but you can already edit the unlocked cells without it.