Forum Discussion

Finneganfg's avatar
Finneganfg
Brass Contributor
Jun 30, 2026

How can I remove password protection from excel file in Windows 11?

Have an Excel file that's password protected from a while back, the sheets requiring a password to edit. Trying to remove that password protection from excel file since it's no longer needed and is just adding friction every time the file gets opened.

I forgot the protection password and I tried a few passwords but it is unable to remove password protection from excel file in Windows 11. Anyone dealt with this recently on Windows 11? Curious what the correct steps are for both file-level and worksheet-level protection, since not sure which type this file actually has.

13 Replies

  • Noreen's avatar
    Noreen
    Iron Contributor

    You can use The ZIP File Trick if you want to remove password from Excel file in Windows 11.

    This method works for worksheet or workbook protection on modern Excel files (. xlsx), but it will not work for the password required to open the file itself. It exploits the fact that .xlsx files are actually compressed ZIP archives.

    1. Back up your file first — seriously, do this before anything else. Work on a copy.

    2. Rename the file extension:

    • Right-click your Excel file and select Rename.
    • Change . xlsx to . zip. So MyFile. xlsx becomes MyFile .zip.
    • Click "Yes" when Windows warns you about changing the extension.

    3. Open the ZIP file:

    • Right-click the .zip file and select Extract All to extract the contents into a folder .

    4. Find the protected sheet:

    • Navigate into the extracted folder, then into xl → worksheets.
    • Inside, you'll see files like sheet1. xml, sheet2. xml, etc. The protected sheet(s) will have protection code inside.

    5. Edit the XML file:

    • Right-click on the relevant sheet1.xml (or whichever) and open it with Notepad.
    • Search (Ctrl+F) for the word protection.
    • You'll find a tag that looks something like:
    • <sheetProtection algorithmName="SHA-512" hashValue="..." saltValue="..." spinCount="..." sheet="1" objects="1" scenarios="1"/>
    • Delete this entire tag and save the file .

    6. Re-package everything:

    • Go back to the main extracted folder, select all the files and folders (xl, _rels, [Content_Types].xml), right-click, and select Send to → Compressed (zipped) folder .
    • Rename this new ZIP file back to .xlsx.

     

    Open it up—the protection should be gone. If you have multiple protected sheets, repeat the XML editing for each one .

  • Beverly's avatar
    Beverly
    Brass Contributor

    If you are looking to remove password protection from Excel file (specifically a modern .xlsx file) on Windows 11, here are more relevant methods:

    1. If you know the password: The simplest and most secure way is to open the file with the password, then go to File > Info > Protect Workbook > Encrypt with Password, delete the password, and save the file. You can also use the "Save As" option, click "Tools" > "General Options," and clear the password fields.

    2. If you have forgotten the password: For modern Excel files that use strong AES encryption, there is no simple "backdoor" or tool like xlcrack that can instantly remove the protection . Instead, specialized password recovery software is required. These programs use methods like "Brute-Force" or "Dictionary" attacks to try to guess the password, which can take a very long time.

    Here's what the search results reveal about xlcrack if you are going to remove password protection from Excel:

    It's for Legacy Files Only: The tool's primary function is to recover lost passwords from old .xls files, specifically those saved by Excel 95 . Its method relies on a simple XOR encryption algorithm that was common in older Microsoft Office applications, making it obsolete for today's standards.

    Linux Environment: While it might be possible to run it on Windows, the search results indicate xlcrack is distributed as a package for the Fedora Linux operating system. This suggests it is not a native Windows application.