How to Remove Password Protection from Excel Worksheet: Step-by-Step Guide

I’ve run into this situation myself, where an Excel worksheet is locked and the password is missing or forgotten. Worksheet protection is useful until it stops you from editing your own data.

In this guide, I’ll show how to remove password protection from an Excel worksheet without affecting data, formulas, or formatting. These methods are meant for files you own or are authorized to edit and apply only to worksheet-level protection.

Notice: This guide is intended for removing password protection from Excel worksheets that you own or are authorized to edit. Worksheet protection is designed to prevent accidental changes, not to secure confidential data. These methods should not be used to access files without permission or to bypass encrypted or corporate-protected documents.

Worksheet Protection vs Workbook Password (Read This First)

Excel uses different types of protection, and this often causes confusion.

The methods below work only for worksheet protection. This is the lock that prevents editing cells, formulas, or formatting inside a sheet.

If your Excel file asks for a password before it opens, or shows a message like “This workbook is protected,” these steps will not work. That type of protection uses file-level encryption and cannot be removed using this method.

Make sure the issue is limited to a single worksheet before continuing.

Things to Know Before You Start

Before removing worksheet protection, there are a few important points to check.

These methods work only with .xlsx files. They do not work with older .xls files or Excel files protected by an open password.

Always create a copy of the Excel file before making any changes. Editing the wrong file or deleting the wrong code can corrupt the workbook.

This process removes protection from one worksheet at a time. If multiple sheets are protected, the steps must be repeated or a VBA method should be used.

Also Read: How to Change Your Gmail Name on Any Device

Ways to Remove Password Protection from Excel Worksheets

Method 1: Using a Text Editor (Manual Method)

This method is best when you need to remove password protection from one worksheet.

Step 1: Create a Copy of the Excel File

Before making any changes:

  • Right-click on the password-protected Excel file to open the options menu
Selected password protected worksheet file in Microsoft Excel.
A password protected Excel worksheet file selected before removing sheet protection.
  • Click once on the Excel file and press Ctrl + C to copy it.
Copying a password protected Excel worksheet file using Ctrl C in Windows.
A password protected Excel worksheet selected and copied using Ctrl + C before removing sheet protection.

Press Ctrl + V to paste the file and create a copy of the protected worksheet.

Pasting a copied password protected Excel worksheet file using Ctrl V.
The copied password protected Excel worksheet is pasted using Ctrl + V to create a duplicate file.

Next, select the copied Excel file and press F2 on your keyboard to rename it.

Renaming a copied Excel worksheet file using the F2 key in Windows.
The copied Excel worksheet file is renamed by pressing F2 before removing sheet protection.

Step 2: Change the File Extension to ZIP

Next, change the file extension of the copied Excel file from .xlsx to .zip.

Confirming the file extension change from XLSX to ZIP for a protected Excel worksheet.
The Excel file extension is changed from XLSX to ZIP, and the warning message is confirmed to proceed with unlocking the worksheet.

After renaming the file extension from .xlsx to .zip, click Yes to confirm the change when Windows shows the warning message.

Step 3: Open the ZIP File and Locate the Worksheet Folder

  • Double-click the ZIP file
  • After opening the ZIP file, locate and open the xl folder to access the worksheet files.
  • Then open the worksheets folder
Opening the xl folder inside a ZIP version of an Excel file to access worksheet data.
The Excel file is opened as a ZIP archive, showing the xl folder that contains worksheet and structure files.

Inside the xl folder, open the worksheets folder to locate the protected sheet file.

Opening the worksheets folder inside the xl directory of an Excel ZIP file.
The worksheets folder inside the xl directory contains the XML files for each Excel worksheet.

Step 4: Open the Worksheet File in a Text Editor

From the worksheets folder, locate the XML file for the protected sheet (for example, sheet1.xml) and drag it to the Desktop to create a copy.

Copying the sheet1.xml file from the worksheets folder of an Excel ZIP file to the Desktop.
The protected worksheet XML file is copied from the worksheets folder for editing and removal of sheet protection.

Right-click the copied worksheet XML file, select Open with, and choose Notepad to edit the file.

Opening a worksheet XML file using Notepad from the Excel ZIP archive.
The copied worksheet XML file is opened in Notepad to locate and remove the sheet protection code.

Step 5: Find and Remove the Sheet Protection Code

In Notepad, press Ctrl + F, type <sheetProtection>, and press Enter to locate the worksheet protection code.

Searching for the sheetProtection tag in a worksheet XML file using Ctrl F in Notepad.
The worksheet XML file is searched in Notepad using Ctrl + F to locate the sheetProtection tag for removal.

Carefully select the entire <sheetProtection> section, from the opening tag to the closing angle bracket, to prepare it for removal.

Selecting the sheetProtection code block inside an Excel worksheet XML file in Notepad.
The sheetProtection tag and its associated code are selected in the worksheet XML file before deleting the protection.

Step 6: Save and Replace the XML File

After deleting the sheet protection code, click File and select Save to apply the changes to the XML file and Close Notepad

Saving the edited worksheet XML file in Notepad after removing the sheetProtection tag.
The modified worksheet XML file is saved in Notepad after removing the sheet protection code.

Return to the worksheets folder, right-click the original sheet1.xml file, and click Delete to remove it.

Deleting the original sheet1.xml file from the worksheets folder inside an Excel ZIP file.
The original worksheet XML file is deleted from the ZIP archive before replacing it with the modified version.

When prompted, click Yes to permanently delete the original sheet1.xml file from the worksheets folder.

Confirming deletion of the original sheet1.xml file inside an Excel ZIP archive.
The deletion of the original worksheet XML file is confirmed before inserting the modified version.

Copy the modified sheet1.xml file and paste it back into the worksheets folder inside the ZIP archive.

Pasting the modified sheet1.xml file back into the worksheets folder of an Excel ZIP file.
The edited worksheet XML file is pasted back into the worksheets folder to replace the original protected version.

Confirm that the modified sheet1.xml file is now present inside the worksheets folder before proceeding to restore the Excel file format.

Verifying the modified sheet1.xml file inside the worksheets folder of an Excel ZIP archive.
The worksheets folder is checked to ensure the edited sheet1.xml file has been correctly placed back into the Excel ZIP archive.

Step 7: Convert the ZIP File Back to Excel Format

Go back to the folder containing the ZIP file, select the file, and prepare to rename it back to the Excel format.

Selecting the Excel ZIP file before changing it back to XLSX format.
The modified Excel ZIP file is selected in File Explorer before restoring it to the XLSX format.

Rename the ZIP file by changing the extension from .zip back to .xlsx, then click Yes to confirm the file format change.

Confirming the file extension change from ZIP to XLSX for the modified Excel workbook.
The modified Excel ZIP file is renamed back to XLSX format to restore it as a usable Excel workbook.

Step 8: Open Excel and Verify

Finally, open the renamed .xlsx file and verify that the worksheet is now unlocked and editable.

Opening the unlocked Excel worksheet file after removing password protection.
The Excel workbook is reopened after restoring the XLSX format, confirming that the worksheet protection has been successfully removed.

Open the Excel workbook and confirm that the worksheet is editable, indicating that the password protection has been successfully removed.

Unlocked Excel worksheet opened and fully editable after removing password protection.
The Excel worksheet opens normally and allows editing, confirming that worksheet protection has been successfully removed.
Also Read: How to Transfer Files from Laptop to Laptops

Conclusion

Worksheet protection in Excel is meant to prevent accidental changes, not to lock you out of your own work. When the password is missing, removing that protection can be the fastest way to get back to editing without rebuilding the file.

As long as the file is not encrypted and you are authorized to use it, the methods above provide a practical way to unlock protected sheets safely. Once access is restored, it’s a good idea to review or reset the protection to avoid the same issue in the future.

FAQs

What is Excel worksheet protection?

Worksheet protection prevents changes to cells, formulas, or formatting inside a sheet. It does not encrypt the file or protect it from being opened.

Can I remove worksheet protection without knowing the password?

Yes. Worksheet protection can be removed using the methods shown here, as long as the file is not encrypted and you are authorized to edit it.

Will removing worksheet protection delete data or formulas?

No. These methods remove only the protection setting. All data, formulas, and formatting remain unchanged.

Why doesn’t this method work on some Excel files?

It will not work if the file uses an open-password, workbook encryption, or Excel Online protection.

Is the text editor method safe to use?

Yes, when you work on a copy of the file and remove only the sheetProtection tag from the worksheet XML file.

Which method is better for large Excel files?

For workbooks with multiple protected sheets, the VBA method is faster and avoids repeating manual steps.

Related Articles

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Articles