You can unprotect a worksheet without the password, but the method depends on which version of Excel you use and how the sheet was protected
If you have forgotten the password to an Excel worksheet you own, you have several options that do not require you to remember it. The simplest methods work in Excel 2010 and later on Windows. Older versions and Mac require different approaches. None of these methods work on worksheets protected with the highest security setting (which is rare in typical business use), but most standard protections can be removed in minutes.
The key difference is between sheet protection (which locks cells and formulas but lets you view the file) and workbook protection (which locks the entire file structure). This article covers sheet protection. If your entire workbook is locked and you cannot open it, that is a different problem.
Key Takeaways
- Excel 2010 and later on Windows can unprotect most sheets by saving the file as XML, editing one line of code, and reopening it — no password needed.
- Excel 2007 and earlier, or Mac versions, require converting the file to a different format or using a third-party tool designed for this purpose.
- The XML method takes about five minutes and works on sheets protected with standard settings, but fails on sheets with the "Encrypt sheet contents" option enabled.
- If you own the file and have access to it, removing the protection is legal; if the file belongs to someone else, you should contact them for the password instead.
The XML method for Windows Excel 2010 and later
This is the fastest way to unprotect a worksheet in modern Excel. The method works because Excel stores sheet protection as a single line of code inside the file. By removing that line, you remove the protection.
First, close the Excel file completely. Then locate the file on your computer and right-click it. Select "Rename" and change the file extension from .xlsx to .zip. Windows will ask if you are sure; click "Yes". The file is now a compressed folder that you can open like any other zip file.
Double-click the renamed .zip file to open it. Navigate to the folder path: xl > worksheets. Inside that folder you will see files named sheet1.xml, sheet2.xml, and so on. Open the sheet you want to unprotect in Notepad (right-click, "Open with", choose Notepad). Search for the text <sheetProtection. You will see a line that looks like this:
<sheetProtection password="A1B2C3" sheet="1" objects="0" scenarios="0" />
Delete this entire line. Save the file and close Notepad. Close the zip folder, then rename the file back to .xlsx. Open it in Excel. The sheet protection is now gone.
When the XML method does not work
If you cannot find the sheetProtection line, or if the line exists but removing it does not unprotect the sheet, the file was protected with the "Encrypt sheet contents" option. This setting stores the password in a way that cannot be removed without the actual password.
You have two options at this point. The first is to contact whoever created the file and ask for the password. The second is to use a third-party tool. Several programs exist that can crack or remove Excel sheet passwords, including XLSX Key, PassFab for Excel, and Accent XLSX Password Recovery. These tools work by testing many password combinations very quickly. They are legal to use on files you own, but they can take anywhere from seconds to hours depending on the password length and complexity.
Before purchasing a tool, search online for "[your password recovery tool name] free trial" — most offer a trial version that will tell you whether the tool can crack your specific file before you pay.
Excel 2007 and earlier on Windows
The XML method does not work on .xls files (the format used in Excel 2007 and earlier). Instead, you can use the "Save As" workaround. Open the file in Excel, then go to File > Save As. Change the file format to "Excel 97-2003" or another format like "CSV" or "Excel 2003 XML". Save the file with a new name. When you reopen the file in the new format, the sheet protection is often removed.
This method does not always work, and you may lose some formatting or formulas in the conversion. If it fails, your next option is a third-party password recovery tool.
Mac Excel versions
Mac Excel does not allow you to rename files to .zip in the same way, so the XML method is not practical. Your best option is a third-party tool. Some tools, like XLSX Key and PassFab, work on both Windows and Mac. Others are Windows-only, so check the system requirements before purchasing.
Alternatively, if you have access to a Windows computer, you can copy the file to that computer, use the XML method there, and copy the unprotected file back to your Mac.
What happens to the data when you unprotect a sheet
Unprotecting a worksheet does not change any data, formulas, or formatting. It only removes the lock that prevents editing. All the content stays exactly as it was. If the sheet was protected to prevent accidental changes, removing the protection means anyone with access to the file can now edit any cell.
If you want to re-protect the sheet after making your changes, you can do so in Excel by going to the Review tab (or Tools menu on Mac) and selecting "Protect Sheet". You can set a new password at that time.
Frequently Asked Questions
Will unprotecting a sheet damage the file or make it unusable?
No. Removing sheet protection does not corrupt the file or change how Excel reads it. The file will open and function normally. All your data, formulas, and formatting remain intact.
What if the file is also password-protected to open?
That is workbook-level protection, not sheet protection. You will need the password to open the file itself before you can unprotect the sheets inside. Sheet protection and file-opening passwords are separate locks.
Can I unprotect a sheet that someone else created and shared with me?
Technically yes, but you should contact the person who created it first and ask for the password. If the sheet is protected to prevent accidental changes to important formulas, removing the protection without permission could cause problems. If the person is unavailable or the file is yours, then unprotecting it is reasonable.
Does the XML method work on Google Sheets or other spreadsheet programs?
No. Google Sheets uses a different file format and protection system. The XML method only works on Excel files (.xlsx or .xls). For Google Sheets, you would need to contact the owner or use a different approach.
If I use a password recovery tool, how long will it take?
It depends on the password length and complexity. A short password (four to six characters) might crack in seconds. A longer password (ten or more characters with mixed case and numbers) could take hours or days. Most tools show an estimated time before they start.