Excel How To Remove Password Protection: The Definitive Guide To Unlocking Workbooks And Sheets

Excel How To Remove Password Protection: The Definitive Guide To Unlocking Workbooks And Sheets

Remove Password From Excel Spreadsheet in How To Password Protect An ...

Removing password protection from Microsoft Excel files requires knowing the specific encryption type applied, whether it is an open-restriction password or a granular sheet-level restriction. By leveraging native decryption methods, administrative recovery pathways, or alternative file-conversion techniques, you can safely restore full editability to locked spreadsheets without compromising uncorrupted data integrity.


Prerequisites and Workbook Assessment Checklist

Before attempting to modify or strip security controls from a Microsoft Excel file, evaluate the structural state of the document and confirm you have the necessary authorization. Working with password-protected spreadsheets requires a clear understanding of Excel file architecture, which has evolved from the binary format (.xls) to the modern Office Open XML framework (.xlsx, .xlsm) utilizing Advanced Encryption Standard (AES) protocols.



  • Essential Tools and Software: Access to Microsoft Excel (Office 365, Excel 2019, Excel 2021, or Excel for Web), administrative permissions on the local machine, and, where applicable, a compatible text editor or third-party compression utility (such as 7-Zip) for structural XML manipulation.
  • Mandatory Prerequisite Knowledge: Familiarity with the distinction between "Password to Open" (which encrypts the entire file container) and "Password to Modify" or "Protect Sheet" (which restricts cell editing, formatting, and structural changes).
  • Time and Complexity Benchmarks: Estimated completion time ranges from under 60 seconds for known passwords or sheet restrictions to 10–15 minutes for manual XML container editing on unprotected structural layers.

Step-by-Step Procedures for Removing Excel Password Protection

Different locking mechanisms demand distinct removal techniques. Identify whether your file prevents opening entirely or merely restricts editing within specific worksheets.



Step 1: Remove Encryption When the Password Is Known

If you possess the password required to open or modify the workbook, clearing the security constraint permanently is a straightforward administrative task within the native application.



  1. Open Microsoft Excel and navigate to File > Open. Locate your encrypted spreadsheet and enter the current password when prompted.
  2. Once the file loads with full read-write access, click on File in the top-left ribbon menu and select Info.
  3. Click on the Protect Workbook button, which displays a drop-down menu of security options.
  4. Select Encrypt with Password. A dialog box will appear containing the encrypted password field filled with dots.
  5. Highlight the existing password string, delete it entirely so the field is completely blank, and click OK.
  6. Save the workbook by pressing Ctrl + S (or Cmd + S on macOS). The file is now unencrypted and will open without prompting for credentials.

Pro-Tip: Always save a backup copy of the original encrypted file in a secure archive directory before executing bulk edits or stripping passwords, ensuring you have a fallback if data corruption occurs during manual editing.



Step 2: Remove Sheet-Level Protection Using XML Decompression

When an individual worksheet is locked against user modifications and the password has been misplaced, modern XML-based Excel files (.xlsx) allow you to bypass the constraint by modifying the internal markup.



  1. Locate your target Excel file in your operating system's file explorer. Change the file extension from .xlsx to .zip (for example, change budget.xlsx to budget.zip). Confirm the extension change prompt if your operating system warns you about file usability.
  2. Extract the contents of the newly created ZIP archive using your preferred extraction tool into a dedicated temporary folder.
  3. Inside the extracted directory, open the folder named xl, and then open the subfolder named worksheets.
  4. Locate the specific worksheet XML file corresponding to the locked sheet (e.g., sheet1.xml, sheet2.xml). Open this file using a standard text editor such as Notepad or TextEdit.
  5. Press Ctrl + F to open the find utility and search for the term sheetProtection.
  6. Delete the entire XML tag containing the protection attribute. This typically begins with and ends with /> or includes a closing tag . Ensure you do not delete surrounding structural tags.
  7. Save the modified text file and close the text editor.

Warning: Deleting structural XML tags incorrectly can render the entire workbook unreadable by Excel. Always verify that you are modifying only the protection element within the correct worksheet document.



Step 3: Recompress and Restore the Workbook Container

After successfully stripping the sheet protection markup from the internal XML files, you must rebuild the archive container so Excel can interpret it as a valid spreadsheet.



  1. Select all the extracted files and folders (including the _rels, docProps, and xl folders, along with the [Content_Types].xml file) within your temporary directory.
  2. Compress these selected items back into a standard ZIP archive format.
  3. Rename the resulting ZIP file, changing its extension back to the original spreadsheet format (e.g., change budget.zip back to budget.xlsx).
  4. Double-click the restored file to launch it in Microsoft Excel. Navigate to the previously locked worksheet to confirm that cell editing, formatting, and structural changes are now fully accessible without password prompts.

Unprotect Excel Worksheet When Forgetting Password | PPTX

Unprotect Excel Worksheet When Forgetting Password | PPTX

Excel Security Protocols and Encryption Comparison



Protection Type Technical Mechanism Native Removal Requirement Security Strength
Password to Open AES-128 / AES-256 Bit Container Encryption Exact Password Required Extremely High (Virtually impenetrable via brute-force without specialized hardware)
Password to Modify Application-Level Flag & Read-Only Recommendation Exact Password or Save-As Workaround Moderate (Easily bypassed by saving a duplicate copy)
Protect Sheet XML Attribute Flag () Password OR Manual XML Markup Removal Low-to-Moderate (Designed to prevent accidental user error, not malicious intent)
Protect Workbook Structural XML Flag () Password OR Manual XML Markup Removal Low-to-Moderate (Restricts adding, deleting, or renaming tabs)

Common Failures and Field Fixes

Even with standardized removal workflows, unexpected technical roadblocks can occur due to file corruption, operating system restrictions, or legacy formats.



  • Root Cause: The file extension modification does not affect the file because operating system settings hide known extensions.

    • Actionable Fix: Open your file explorer settings, navigate to the View tab, and uncheck the box labeled "Hide extensions for known file types" before attempting to rename the file from .xlsx to .zip.
  • Root Cause: Excel displays a "File Corrupt" or "Unreadable Content" error message after recompressing the modified ZIP archive.

    • Actionable Fix: You likely compressed the parent folder instead of the internal contents directly. Ensure you select the individual files and root directories (xl, docProps, etc.) and zip them together so that [Content_Types].xml sits at the exact root of the archive.
  • Root Cause: The spreadsheet is saved in the legacy binary format (.xls) rather than the modern Open XML format (.xlsx), making ZIP extraction ineffective.

    • Actionable Fix: Open the legacy file using a compatible version of Excel (with the known password), go to File > Save As, and convert the format to Excel Workbook (*.xlsx) before applying XML-based editing techniques.

Frequently Asked Questions



Can I remove an Excel password to open without knowing the password?

Directly removing an open-restriction password without knowing the credentials is mathematically infeasible due to robust AES encryption standards used in modern Excel versions. Legitimate access requires either recovering the original password through organizational records or utilizing authorized administrative recovery procedures.



What is the difference between protecting a sheet and protecting a workbook?

Sheet protection restricts user interaction within a single worksheet, such as editing locked cells, formatting elements, or inserting rows. Workbook protection locks the overall structural integrity of the file, preventing users from adding, deleting, hiding, or renaming entire worksheet tabs within the container.



Does saving a password-protected file as a different format remove security?

If a file has a "Password to Modify" restriction, saving a copy under a new file name or format allows you to bypass the modification block. However, if the file has a "Password to Open" encryption applied, Excel will not permit any form of saving, exporting, or viewing without entering the decryption key first.



Is it safe to use third-party online tools to remove Excel passwords?

Using third-party web services to upload and unlock sensitive spreadsheets presents severe data privacy and compliance risks. Transmitting proprietary financial, operational, or personal data to external servers violates standard security policies, making local, manual methods or native software controls the preferred approach.

Unlock Your Spreadsheet Workflow Today

Mastering Excel security controls allows you to maintain strict document governance while ensuring authorized users never get locked out of critical data. Implement these structured recovery and removal techniques to keep your business operations running without interruption.


How to Lock Cells in Excel (with Pictures) - wikiHow

How to Lock Cells in Excel (with Pictures) - wikiHow

Read also: The 2014 Ebola Outbreak Revisited: A Legacy of Transformation in Global Health Security