You can remove Excel sheet protection without the password in most cases, because the protection password is a verifiable hash rather than encryption. The exception is a workbook saved with the "Encrypt with Password" option, or a file where the structure is genuinely encrypted. Excel's own Unprotect Sheet command needs the exact password; the workarounds below exploit the fact that sheet passwords, unlike workbook-open passwords, protect the interface rather than the file content.
What Excel's Protection Feature Actually Does β and What It Doesn't
Sheet protection in Excel is an interface lock, not an encryption layer. When you click Review > Protect Sheet and set a password, Excel stores a hash of that password inside the workbook's XML. Anyone who can open the file can read data from it using formulas, scripts, or a second program, because the cells are never encrypted. The lock only stops a user in the Excel UI from typing into locked cells or resizing columns.
Microsoft's own support documentation draws the distinction explicitly. On the Protect Sheet reference page, Microsoft describes the feature as preventing users from changing, moving, or deleting data, and separately documents "Encrypt with Password" under File > Info > Protect Workbook as the option that makes a file unreadable without the password. Those are different mechanisms with different security levels, and only the second one is real encryption.
That gap is why "forgot sheet password" is a routine office problem and "forgot workbook password" is not. A forgotten sheet password costs you a few minutes with a zip tool or a macro. A forgotten open password with strong encryption costs you a dictionary attack that may never finish. Fixing the first kind is the subject here.
One version boundary matters from the start. The legacy .xls binary format and the older .xlsx protection scheme stored a 16-bit or weaker hash, which is trivial to reverse. Excel 2013 and later tightened the algorithm Excel uses when it writes new protection passwords, so a file protected in Excel 2016 or Microsoft 365 may not open with a simple hex edit of the old hash. Modern Excel also records the algorithm in the file, which is why the zip-editing trick works on some sheets and fails on others.
Route 1: Unprotect With a Password You Know
1: Open the workbook and select the protected sheet tab. 2: Go to the Review tab on the ribbon. 3: Click Unprotect Sheet in the Protect group. In some layouts this button sits inside a Protect Sheet drop-down. 4: Type the password in the dialog and press OK. 5: If a workbook-level structure lock is also set, click Unprotect Workbook on the same tab and enter that password.
The failure mode to expect is a wrong-password dialog that gives no hint about which of several sheets is failing. Excel applies protection per sheet, so a workbook with six tabs can require six separate unprotects, and one forgotten tab will not block the other five. If Unprotect Sheet appears greyed out rather than prompting, the file was opened read-only or from a protected view β close it and reopen from a normal folder location before trying again.
Route 2: The Zip-Archive Method, With the XML Names You Need
An .xlsx file is a zip container of XML parts, and the sheet protection setting lives in a single element you can delete. Rename a copy of the file to .xlsx.zip, extract it, and navigate to the xl/worksheets folder, where each sheet appears as sheet1.xml, sheet2.xml, and so on. Open the target file in a text editor and find the <sheetProtection .../> tag near the top. Delete that whole tag and save.
Inside that tag you'll see attributes such as sheet="1", objects="1", and a password="XXXX" value. The password attribute is a four-character hexadecimal hash, not the password itself, which is exactly why deleting the tag rather than decoding the value is the reliable move. Re-zip the folder contents, keeping [Content_Types].xml at the root, rename back to .xlsx, and the sheet opens unlocked.
Two failure cases bite here. If you re-zip the parent folder instead of its contents, Excel reports the file as corrupt on open. If the sheet is protected at workbook level instead of sheet level, the workbook.xml part carries a tag, and you have to remove that one too. Neither operation needs a third-party tool, though commercial "Excel password recovery" utilities automate the same edits and typically charge for it.
Route 3: VBA That Strips Protection Across Every Sheet
A short macro clears protection on all sheets at once, which saves time on a workbook with dozens of tabs. Press Alt+F11 to open the Visual Basic Editor, insert a module, and run a loop that sets ProtectContents to False on each worksheet. The one-line core is ActiveWorkbook.Worksheets(i).Unprotect, wrapped in For i = 1 To ActiveWorkbook.Worksheets.Count.
The macro fails with a run-time error if any sheet has a password set that the code doesn't supply. You can push both a blank and a guessed password through Unprotect Password:="...", but a wrong value throws error 1004 rather than skipping quietly, so wrap each call in error handling if you're processing a mixed workbook. The macro also cannot touch a workbook whose structure is locked until that lock is cleared, and it cannot run at all while the sheet protection is combined with a workbook-open password the macro host can't satisfy.
The macro approach earns its place in repeat work. If you routinely receive protected templates from a supplier or a departing colleague's files, save the module in your Personal.xlsb so it's available in every Excel session. Just remember that Excel's Trust Center macro settings block unsigned macros by default in many organisations, so check with whoever manages your machine before relying on it.
Excel for the Web and Mobile: What You Can't Do From the Browser
Excel for the web can view a protected sheet but will not let you remove protection on a file stored in OneDrive or SharePoint unless the file permits it and you have edit rights. The Review tab in the browser version exposes Unprotect Sheet only when the sheet was protected without a password or you supply the right one. There is no zip-editing or macro route in the browser, because the browser refuses to run VBA entirely.
The Excel mobile apps on iOS and Android follow the same rule: they can open and edit, but the protection controls are limited to the desktop app's feature set. If a file arrives protected and you only have a phone, your practical path is to open it on a desktop with Excel installed, or use a cloud-based converter. For a quick look at values without unlocking, the mobile app still shows the data β protection blocks edits and structural changes, not reading.
This matters for shared work. A team that protects a shared budget sheet in SharePoint and then needs to update the template has to involve someone with the desktop app and the password. Plan the handover of that password the way you'd plan a shared account, because the alternative is a support ticket and a zip file.
The Password You Can't Remove: Encrypted Workbooks
If the file prompts for a password before any content appears, you're not dealing with sheet protection at all. That's workbook encryption, set through File > Info > Protect Workbook > Encrypt with Password, and the entire file is wrapped in AES encryption. Deleting XML tags won't help because you can't read the XML. Running Unprotect Sheet won't help because no sheet is loaded yet.
Microsoft's documentation on file protection states that a lost password for an encrypted workbook cannot be recovered β the company's position is that the encryption is deliberately unrecoverable. Your realistic options shrink to trying variations of likely passwords, restoring an unprotected copy from version history in OneDrive or SharePoint, or returning to whoever sent the file. For files saved to a corporate SharePoint library, version history often includes an earlier unprotected draft, which is the single fastest recovery route in an organisation.
If the encrypted file is a template you control, the fix is procedural: keep the master unencrypted and apply encryption only to the distribution copy. Teams that encrypt the only copy discover the cost at the worst moment, usually when the person who set the password leaves.
Choosing a Route: Time, Risk, and Reversibility Compared
| Route | Typical time per sheet | Works on encrypted files | Leaves an audit trail | Reversible |
|---|---|---|---|---|
| Unprotect Sheet dialog (known password) | Under 1 minute | No | No | Re-protect with same password |
| Zip/XML edit | 3β6 minutes | No | File modified timestamp changes | Re-add tag or restore backup |
| VBA macro loop | Under 1 minute for all sheets | No | Macro-enabled file saved | Re-protect via script |
| Password-recovery utility | Minutes to hours, paid | Partially, dictionary only | Vendor-dependent | Depends on vendor |
| Restore earlier version | 1β2 minutes | Often yes | Version history record | Permanent until next save |
The zip method is the safest for a file you'll keep, because it changes one XML element and you can preserve a backup copy untouched. The macro is fastest but alters the file's macro status if you save as .xlsm. Commercial recovery tools sit in the middle: they cost money and their success on modern Excel protection is uneven, so treat any vendor claiming guaranteed recovery of an encrypted workbook with scepticism.
Pick the dialog route whenever the password is in a team password manager. Save the zip route for files where the password is genuinely gone. Reach for the macro when you have a stack of files, and don't bother with any of them until you've checked whether the file is encrypted rather than just protected β that's the fork in the road that decides everything else.
Re-Protecting Cleanly So Nothing Breaks
Protecting a sheet again is one click, but what you lock matters more than the password. In the Protect Sheet dialog, Excel lists permissions such as "Select locked cells," "Format columns," and "Insert rows," all ticked by default unless you clear them. A sheet re-protected with defaults lets users select but not edit, which is usually the intent, though it also blocks sorting and filtering unless you tick those boxes.
Locked versus hidden is a separate control. Right-click a cell, choose Format Cells > Protection, and you'll see Locked and Hidden. Locked does nothing until the sheet is protected; Hidden conceals the formula in the formula bar while still showing the result. Teams often protect a sheet and then wonder why formulas are visible β the Hidden box was never ticked.
The password itself is weak by design. Excel's sheet protection accepts a password, but the hash is computed so that anything typed unlocks an all-lowercase entry case-insensitively and longer strings collapse to the same hash as their truncated form. That's not a flaw you fix by choosing a stronger password; it's the reason the protection is a speed bump. Treat it as a guard against accidental edits, and use file-level encryption plus SharePoint permissions for anything that must stay confidential.
FAQ
Does unprotecting an Excel sheet without the password break the file?
No, and it doesn't break formulas or data either, because protection never encrypted the cell contents. The zip method removes a single XML tag and leaves every value, formula, and formatting rule intact. Keep an untouched backup before editing the archive, since a badly re-zipped file will fail to open and Excel's repair prompt can't always rebuild it.
Can I unprotect an Excel sheet on a Mac?
Yes, and the Mac route differs in one detail: you need a third-party archive tool because Finder's built-in compression can produce a zip that Excel for Mac rejects. Right-click the .xlsx file, choose Open With, and use a dedicated archiver to extract and re-zip. The Review > Unprotect Sheet command is present in Excel for Mac 2011 and later, so the dialog route works unchanged.
What's the difference between protecting a sheet and protecting a workbook?
Sheet protection locks cells within one tab; workbook protection locks the structure, preventing users from adding, deleting, renaming, or hiding sheets. Excel requires two separate unprotects, and the file's XML stores them in different parts β workbook.xml for structure, each sheetN.xml for cell-level protection. Clearing one does not clear the other.
Why does Unprotect Sheet stay greyed out even with the right password?
The most common cause is Excel's Protected View, which opens files from the internet or email attachments in a restricted mode where editing controls are disabled. Click Enable Editing on the yellow bar across the top, or check File > Info for a read-only notice. A sheet protected with a password also greys out nothing β it prompts instead β so a greyed button almost always means the file is read-only or in Protected View.
Can a password-recovery tool crack an encrypted workbook?
For genuine AES encryption on a modern .xlsx file, no tool guarantees success, and vendors that promise it are overselling. Recovery tools succeed mainly against older .xls files with weak hashes or against short passwords in a dictionary attack. Microsoft's documented position is that a lost encryption password is unrecoverable, which is why version history and backups beat any cracking attempt.
Does protecting a sheet stop someone from copying the data?
No. Protection stops edits in the Excel interface, but a user can still select unlocked cells, copy visible values, or open the file in another program that reads the underlying XML. If copying is the risk you're managing, file encryption and access permissions in SharePoint or OneDrive are the controls that matter, not sheet protection.
Will the zip method work on a file saved in the older .xls format?
No, because .xls is a binary format with no XML parts to edit, so the technique depends on the .xlsx or .xlsm container. For .xls files, open in Excel and try Unprotect Sheet with a known password, or convert the file to .xlsx first and then run the XML route. Older files with weak hashes are also the ones commercial recovery tools handle best, if conversion isn't practical.
How do I stop a colleague from re-protecting a sheet I've just unlocked?
You can't prevent it through Excel alone, since anyone with edit rights can reapply protection. The durable fix is to store the file in SharePoint or OneDrive with versioning turned on, so every change is recorded and earlier versions are restorable. Add a short note in the workbook itself naming who holds the password, and the team avoids the repeat support ticket.