How to Release Password in Excel? For Known or Unknown Passwords
We can easily release password in Excel to unprotect it if password is known to edit, open, and share workbook without entering password every time. The right technique depends on whether you know the password and what type of Excel protection is applied.
If you know the password, then Excel provides built-in options to remove it; however, password is unknown, then it can’t be removed easily. You may need a password recovery solution to unprotect Excel workbook without password.
In this write-up, we will explain what it means to release password in Excel, types of protection, different techniques, and correct solution for unknown password.
What Does It Mean to Release a Password in Excel?
Release password in Excel generally means removing protection from a locked file to open, edit, and share data files. Yes, we can remove password protection from Excel file using multiple techniques, but it depends on the applied protection. MS Excel provides different levels of security such as:
- Password to Open: Excel uses AES-256 encryption to strongly protect the Excel workbook with a password. No manual technique can bypass it.
- Password to Modify: Users can access and preview data, but can’t modify any data.
- Worksheet Protection: This protection prevents users from changing cells, formulas, or worksheet structure.
- Workbook Protection: Prevents users from modifying workbook structure such as adding, deleting, or moving sheets.
Quick Suggestion for Unknown Password
If your workbook is locked with Password to Open protection type, then there is no manual technique available to release password in Excel when you don’t know the password. Because Excel uses AES-256 encryption to completely secure your file with this protection.
Only Excel Password Recovery Tool can help you to find unknown or partially known password. This software can recover maximum 15-character password with complex structures. It works with both older and modern versions of XLSX and XLS. You can download free demo version to find first two characters of password.
How to Release Password in Excel When You Know the Password?
If the password is known, then we have explained how to remove password from Excel workbook, worksheet and structure protection one by one:
For Workbook
- Open locked file and enter password.
- Go to the “File” >> “Info” tab.
- Click “Protect Workbook”.
- Choose “Encrypt with Password”.
- Remove the password and choose “OK”.
- Finally, save your file locally.
For Worksheet
If you can open Excel file but can’t edit specific cells, then your file is protected with worksheet protection.
- Open your workbook.
- Select your protected worksheet.
- Go to the Review tab.
- Choose Unprotect Sheet.
- Enter the password and choose OK button.
- Save your workbook.
For Structure Protection
If you cannot add, delete, move, hide, or rename worksheets, workbook structure protection may be enabled.
- Go to the Review tab in Excel.
- Choose Protect Workbook.
- Provide password if required and save file.
How to Release Password in Excel (Forgotten & Lost Password)?
If the password is unknown, users can still remove password protection of Excel using VBA Code, editing XML files, Google Sheets and automated solution. These techniques depend on the protection applied.
The first three manual techniques can remove normal protection types; for Password to Open protection, use suggested automated solution.
Method 1: Using VBA Code
- Open protected Excel file.
- Use “Alt + F11” keys to open editor.
- After that, select “Insert” >> “Module” option.
- Use given code:
Sub UnprotectSheet()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim password As StringOn Error Resume Next
For i = 65 To 90
For j = 65 To 90
For k = 65 To 90
For l = 65 To 90
For m = 65 To 90
For n = 65 To 90
password = Chr(i) & Chr(j) & Chr(k) & Chr(l) & Chr(m) & Chr(n)
ActiveSheet.Unprotect password
If Err.Number = 0 Then
MsgBox “Sheet Unprotected! Password Found: ” & password, vbInformation, “Success”
Exit Sub
End If
Next n
Next m
Next l
Next k
Next j
Next iMsgBox “Could not unlock the sheet.”, vbExclamation, “Failed”
End Sub - After pasting, press the F5 key to start process.
- Lastly, select “OK” button to release password in Excel.
Method 2: Editing XML File
This method only removes Workbook structure protection by using 7-Zip or WinRAR applications. Follow given steps:
- Make a backup copy of your locked file.
- Change the name from .xlsx to .zip.
- A confirmation message will pop up.
- Open converter file with 7-Zip or WinRAR.
- Find your XL >> Worksheets file.
- Open XML files and find “<sheetProtection>” using Ctrl + F.
- If you find it, remove the complete tag.
- Then save your file again.
Method 3: Using Google Sheets
This method only works with read-only protection to release password in Excel.
- Open your Google Drive.
- Import your locked Excel file.
- Open locked file in Google Sheets.
- Choose File tab >> Download >> XLSX options.
- And save your file locally.
Method 4: Smart Solution to Unlock Locked Excel File
All manual techniques work with worksheet or structure password protection, but as we suggested, in case your workbook is protected with password, then you should use smart solution. This software provides two powerful features to find completely unknown and partially known passwords.
It comes with amazing and advanced features, and users can also download free demo version to guess first two characters of password.
How to Release Password in Excel? Forgotten Password
- Download and install this software on your machine.

- Use “Browse” button to import locked data file.

- Choose Attack Mode: “Brute Force” and “Mask Attack”.

- Provide known information about password.

- Select the “Recover” button to release password in Excel.

- After taking some time, it will show the password on the screen with a Pop-up, and choose “OK” button.

Why Should Users Prefer this Solution?
- This software can find maximum of 15 characters of password from simple to complex structures.
- The brute-force attack option allows you to find completely unknown credentials by combining all combinations until it finds the correct password.
- The mask attack helps to guess partially known password; users just have to provide known information like patterns, characters etc.
- This software can find passwords of XLSX and XLS formats.
- It recovers the correct password with certainty and doesn’t remove protection illegally.
- Works with all types of passwords such as workbook, worksheet and structure protection.
Final Conclusion
In this write-up, we have explained techniques to release password in Excel in both known and completely unknown situations. We have discussed Excel protection types, which types can be removed manually, and which require a smart solution. Users can analyze their protection types and choose right approach to unlock file without affecting original file source. You can connect with us anytime through live chat support.