What you can do when a sheet is password-protected

If you have an Excel file where the sheet itself is locked but you don't remember the password, you have three realistic paths: use a password recovery tool designed for this specific problem, remove the protection through Excel's built-in options if the file is older, or reconstruct the data from a backup or earlier version of the file. None of these will work in every situation, and the one that works depends on which version of Excel created the file and how recently it was protected.

The key distinction is between a file password (which locks you out of opening the file at all) and a sheet protection password (which lets you open the file but prevents you from editing specific cells, deleting rows, or changing formulas). This article covers sheet protection only. If the entire file won't open, you need a different approach.

Key Takeaways

  • Sheet protection in Excel 2010 and earlier can sometimes be removed by saving the file as XML, finding the protection tag in the code, and deleting it — but this only works on older files.
  • Third-party tools like PassFab for Excel or Stellar Repair for Excel can crack sheet protection passwords, though they cost money and take 10 minutes to several hours depending on password complexity.
  • If you have an older backup or version history of the file (through OneDrive, Google Drive, or your company's file server), you may be able to recover an unprotected copy without needing to crack anything.
  • Asking the person who protected the sheet is faster than any technical workaround if the file belongs to a shared project or came from a colleague.

The XML method for Excel 2010 and earlier files

Excel files from 2010 and earlier used a simpler protection system that you can sometimes bypass by editing the file's underlying code. This does not work reliably on Excel 2013 and later, but it costs nothing to try if your file is old enough.

Save your file with a .zip extension instead of .xlsx (for example, rename "budget.xlsx" to "budget.zip"). Open the zip file with your computer's built-in archive tool — on Windows, right-click and choose "Extract All"; on Mac, double-click. Navigate to the folder called "xl" and then open "worksheets". You will see files named "sheet1.xml", "sheet2.xml", and so on. Open the correct sheet file in a text editor like Notepad (Windows) or TextEdit (Mac). Search for the word "sheetProtection" — you will see a line that looks like ``. Delete that entire line, save the file, and close the text editor. Zip the folder back up, rename it back to .xlsx, and open it in Excel. The sheet should now be unprotected.

This method fails on files created in Excel 2013 or later because Microsoft changed how the protection works. It also fails if the file has been opened and re-saved in a newer version of Excel, even if it was originally created in 2010. If you try this and the sheet is still protected after you remove the tag, the file uses newer encryption and you will need to use a third-party tool instead.

Third-party password recovery tools

Programs like PassFab for Excel, Stellar Repair for Excel, and Excel Password Recovery Lastic are designed specifically to crack sheet protection passwords. They work by running through possible passwords very quickly — some can test millions of combinations per second. The time it takes depends on password length and complexity: a straightforward four-digit PIN might crack in seconds, while a 12-character password with mixed case and symbols might take hours or days.

These tools typically cost between $20 and $60 for a one-time license. You read the software, open your protected Excel file inside it, choose whether you want to use a "brute force" attack (trying every combination) or a "dictionary" attack (trying common words and variations), and let it run. Most will show you a progress bar and an estimated time remaining. Once the password is found, the tool either removes the protection automatically or shows you the password so you can unprotect the sheet yourself in Excel.

The main trade-off is time versus cost. If the password is short or straightforward, a free online tool might work, but those are less reliable and some carry security risks. Paid tools are faster, more reliable, and safer because you are not uploading your file to a stranger's server. Read reviews before buying — some tools work only on certain Excel versions or only on Windows, not Mac.

Checking for backup or version history

Before spending time or money on password recovery, check whether you have an unprotected copy of the file somewhere else. If the file is stored on OneDrive, Google Drive, Dropbox, or your company's file server, those services often keep version history. Right-click the file in OneDrive or Google Drive and look for an option like "Version history" or "See version history". You will see a list of earlier saves. Open an older version and check whether it is unprotected. If it is, you can read that version or copy the data you need from it.

If the file is on your computer, check your Recycle Bin or Trash to see if an older copy is still there. On Windows, you can also right-click the file, choose "Properties", click the "Previous Versions" tab, and see if Windows has backed up an earlier version through File History. On Mac, open Time Machine and browse to the folder where the file is stored to see if an unprotected copy was saved before the protection was added.

This approach only works if the file was protected after you last backed it up or if someone else protected it and you have access to an earlier version they created. But if it works, it is the fastest solution by far.

Asking the original creator or owner

If the file came from a colleague, manager, or client, the simplest step is to ask them for the password or to send you an unprotected copy. Many people protect sheets to prevent accidental changes, not to keep information secret, and they will remove the protection if you explain why you need to edit it. This is especially true in shared projects where the protection was meant to lock down a template or a summary sheet while leaving working sheets open.

If you cannot reach the person who protected it, or if they no longer work at your organization, check with your IT department or file manager. They may have records of who created the file or may be able to recover an unprotected version from backups.

When none of these options work

If the file is very new, uses strong encryption, and you have no backups or access to the original creator, you may not be able to unprotect it without the password. At that point, your options are limited to accepting the protection as permanent or reconstructing the data from scratch if you have the underlying information elsewhere.

Some organizations use sheet protection as part of a security or compliance requirement, and removing it without authorization may violate policy. If this is a work file, check with your manager or compliance team before attempting to crack the password.

Frequently Asked Questions

Is it legal to crack an Excel sheet password?

If the file is yours or you have permission from the owner, yes. If you are trying to access someone else's file without permission, that is not legal. Sheet protection is a weak security measure meant to prevent accidental changes, not to protect confidential information, so the law treats it differently than cracking a file password or a network login.

Will removing sheet protection damage the file or the data?

No. Removing sheet protection does not change any of the data, formulas, or formatting in the file. It only removes the lock that prevents editing. The file will open and function exactly as it did before, except you will now be able to edit protected cells.

Can I unprotect a sheet on a Mac?

Yes. The XML method works the same way on Mac — use the built-in Archive Utility to unzip the file, edit the XML in TextEdit, and re-zip it. Third-party tools like PassFab also have Mac versions, though not all password recovery software supports Mac.

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

The person who protected the sheet may have left certain cells unlocked on purpose. Check whether the cells you need to edit are in an unlocked range. If they are, you can edit them without removing the protection. If they are locked and you need to change them, you will need to unprotect the sheet using one of the methods above.

How long does it take a password recovery tool to crack a sheet password?

It depends on the password. A straightforward four-digit code might take seconds. A random eight-character password might take minutes to hours. A 12-character password with uppercase, lowercase, numbers, and symbols could take days or weeks. Most tools let you set a time limit or stop the process if it is taking too long.