The fastest way depends on whether you set the password yourself
If you remember the password, Excel will let you remove it in seconds through the standard protection menu. If you don't remember it, you have a few options, but none are when ready — the fastest realistic path takes 10 to 20 minutes and involves converting the file format or using a password recovery tool.
The method you choose also depends on your Excel version (desktop, web, or mobile) and whether the protection is on the sheet, the workbook structure, or both. Most people protect sheets rather than entire workbooks, so that's where to start looking.
Key Takeaways
- If you know the password, go to the Review tab, select Unprotect Sheet or Unprotect Workbook, enter the password, and you're done.
- If you don't know the password, converting the file to .xlsx format and editing the XML inside can remove sheet protection, but this doesn't work for workbook-level passwords.
- Password recovery tools exist but vary in reliability and cost; free online tools should be treated with caution regarding your file's privacy.
- Excel web and mobile versions have limited or no built-in unprotection options, so you may need to use the desktop version.
- If the file is truly locked and you can't recover the password, recreating the content in a new workbook is sometimes faster than other recovery methods.
Removing a password you remember
Open the workbook in Excel desktop. Click the Review tab at the top of the ribbon. Look for a button labeled Unprotect Sheet or Unprotect Workbook — which one appears depends on what type of protection was applied.
Click the button. A dialog box will ask you to enter the password. Type it in and click OK. The protection is now removed, and you can edit the file freely. Save the file to keep the change.
If you see both buttons and aren't sure which one to click, try Unprotect Sheet first — that's the more common protection type. If nothing happens or you get an error, the workbook structure itself is protected instead, and you'll need to use Unprotect Workbook.
Removing sheet protection when you don't know the password
This method works only for sheet-level protection, not workbook-level protection. It works because Excel stores sheet protection as a straightforward encrypted string in the file's XML code, and that encryption is not cryptographically strong.
First, make a backup copy of your file. Then, change the file extension from .xlsx to .zip. Right-click the file, select Rename, and change the last four letters from xlsx to zip. Windows will ask if you're sure — click Yes.
Now open the .zip file as a folder (right-click and select Open with > File Explorer, or just double-click it on a Mac). Navigate to the folder path xl/worksheets/. Inside, you'll see files named sheet1.xml, sheet2.xml, and so on. Open the sheet you need to unprotect in a text editor like Notepad.
Look for a line that starts with <sheetProtection. It will look something like this: <sheetProtection password="ABC123" sheet="1" objects="1" scenarios="1" />. Delete this entire line. Save the file and close the text editor.
Go back to File Explorer, select all the folders inside the .zip file, and compress them back into a .zip. Then rename the .zip file back to .xlsx. Open it in Excel — the sheet protection should be gone.
Removing workbook-level protection without the password
Workbook-level protection (which locks the structure so you can't add, delete, or rename sheets) is stored differently than sheet protection and is harder to remove without the password. The XML method above won't work.
Your realistic options are: use a third-party password recovery tool, contact the person who set the password, or recreate the content in a new workbook. If the file is old and the original creator is unreachable, recovery tools are worth trying.
Password recovery tools range from free online services to paid software. Free online tools require you to upload your file to a server, which poses a privacy risk if the file contains sensitive data. Paid tools like PassFab for Excel or Stellar Repair for Excel run on your computer and don't upload anything, but they cost $20 to $50 and don't always succeed.
Using Excel Online or mobile if desktop isn't available
Excel Online (the web version) does not have an Unprotect option in the Review tab. If you only have access to a web browser, you'll need to read the file, unprotect it on a desktop version of Excel, and upload it again.
Excel mobile apps (iOS and Android) also lack unprotection features. They can open protected files in read-only mode, but you can't remove the protection from the app itself.
What to do if you can't recover the password
If the file is small or the data isn't too complex, sometimes the fastest solution is to copy the content into a new workbook. Open the protected file in Excel, select all the data you need (Ctrl+A or Cmd+A), copy it, create a new workbook, and paste it in. Formatting may not transfer perfectly, but the numbers and text will be there.
This approach works well if you only need the data, not the original file's formulas or structure. If the file contains complex formulas or macros, this method will lose them, and you'll need to pursue password recovery instead.
For files you plan to protect in the future, write the password down and store it somewhere find — a password manager is ideal. Excel's protection is meant to prevent accidental changes, not to provide military-grade security, so a straightforward password is usually enough.
Frequently Asked Questions
Can I remove a password from an Excel file on a Mac?
Yes. The Review tab and Unprotect options work the same way on Mac Excel. For the XML method, Mac users can open the .zip file directly by double-clicking it, then navigate to xl/worksheets/ and edit the sheet XML files in TextEdit (set it to plain text mode first).
Will removing the password damage the file or lose my data?
No. Removing protection doesn't change the data itself — it only removes the lock that prevents editing. Your numbers, text, and formulas stay exactly as they are.
What if the XML method doesn't work?
The file may have workbook-level protection instead of sheet protection, or it may be a .xls file (older Excel format) rather than .xlsx. The XML method only works on .xlsx files. For .xls files or workbook protection, try a password recovery tool or contact the person who set the password.
Is it safe to use free online password recovery tools?
Free online tools require uploading your file to a server. If the file contains confidential information, this poses a privacy risk. Paid tools that run locally on your computer are safer, but they cost money and don't always work.
Can I protect an Excel file with a password I'll actually remember?
Yes. Use the Review tab, select Protect Sheet or Protect Workbook, and enter a password you can write down and store securely. Avoid passwords you've never used before — use one you already know you won't forget.