• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Easily Remove Excel Password Protection

You are here: Home / Excel / Easily Remove Excel Password Protection
Easily Remove Password Protection from Excel Files
August 11, 2022 by Mynda Treacy

In most cases you can easily remove Excel password protection if you’ve forgotten the password. However, the likelihood of your success depends on which password protection method was used, as some of the four options below are more robust than others.

Excel password protection is available for:

  • Sheets
  • Workbooks
  • File Open
  • File Edit

Each method requires a slightly different solution to remove the password.

Before we get started, keep in mind that password protection for worksheets and workbooks was designed to prevent users breaking your files, as opposed to keeping your data confidential. If you’re relying on it for this purpose, you might want to reconsider your approach. This post is written on the basis that you’re being ethical and only unlocking your own files where you’ve forgotten the password and not trying to hack into confidential files.

Table of Contents

  • How to Remove Excel Passwords Video
  • Remove Excel Worksheet Password Protection
  • Unprotect Workbook Structure Without Password
  • Unprotect Read Only Workbooks Without Password
  • Unprotect Excel Files Without Password

Watch the Video

Subscribe YouTube


Remove Excel Worksheet Password Protection

Excel worksheet protection is applied via the Review tab > Protect Sheet:

Easily Remove Excel Password Protection

A password is optional:

Excel Passwords 02

If you enter a password here and later forget it, it’s easy to unlock the protected sheet.

Unprotect Sheets Without Password

Step 1: The first thing you’ll want to note is which sheet in the file contains the password protection. Notice there are three sheets in the file. The second sheet called ‘Sales Data’ is the one protected.

Excel Passwords 03

Note: if you rearranged the sheets in your file after inserting them, the numbers will not be in sheet tab order. To find out the sheet number, right-click a sheet tab > View Code:

Excel Passwords 04

Step 2: Close the file and make a copy just in case you make a mistake!

Step 3: Rename the file and change the extension to .zip

Excel Passwords 05

Tip: if you can’t see the file extensions, go to the View tab in your File Explorer and check the box ‘File name extensions’:

Excel Passwords 06

Step 4: Drill down through the zip file folders: xl/worksheets/ and select the .xml file for the sheet containing your password.

Excel Passwords 07

Notice the sheet tab names are not visible here, hence why you need to know which sheet you applied the password to.

Step 5: Copy the sheet .xml file to another location outside of the zip folder and open it in a text editor like Notepad.

Step 6: CTRL+F to find the text ‘sheetProtection’. Delete everything between the < > tags. See highlighted example below:

Excel Passwords 08

Step 7: Save the file and copy it back to the xl/worksheets folder, replacing the original file.

Step 8: Rename the file type from .zip back to .xlsx

Now you can open the file and the worksheet protection will be gone.

If you have multiple sheets with worksheet protection, you can repeat steps 5 through 7 above for each sheet.

Unprotect Workbooks Without Password

Workbook protection is applied via the Review tab > Protect Workbook:

Excel Passwords 09

It enables you to protect the structure of the workbook, preventing sheets being added, removed, hidden/unhidden etc.

Excel Passwords 10

The process for unprotecting a workbook is similar to unprotecting worksheets.

Step 1: Close the file and make a copy just in case you make a mistake!

Step 2: Rename the file and change the extension to .zip

Step 3: Drill down through the zip file folders: xl/ and select the workbook.xml file.

Excel Passwords 11

Step 4: Copy the workbook.xml file to another location outside of the zip folder and open it in a text editor like Notepad.

Step 5: CTRL+F to find the text ‘workbookProtection’. Delete everything between the < > tags. See highlighted example below:

Excel Passwords 12

Step 6: Save the file and copy it back to the /xl/ folder, replacing the original file.

Step 7: Rename the file type from .zip back to .xlsx

Now you can open the file and the workbook protection will be gone.

Unprotect Read Only Workbooks Without Password

Read only protection is set up when you save the file. Click on the Tools drop down > General Options:

Excel Passwords 13

When opening a Read Only password protected file, you’ll be prompted to enter the password. If you don’t have it, or you’re happy to open it in Read Only mode, you can click the Read Only button

Excel Passwords 14

To remove the password on a Read Only file:

Step 1: Close the file and make a copy just in case you make a mistake!

Step 2: Rename the file and change the extension to .zip

Step 3: Drill down through the zip file folders: xl/ and select the workbook.xml file.

Excel Passwords 11 Again

Step 4: Copy the workbook.xml file to another location outside of the zip folder and open it in a text editor like Notepad.

Step 5: CTRL+F to find the text ‘fileSharing’. Delete everything between the < > tags. See highlighted example below:

Excel Passwords 15

Step 6: Save the file and copy it back to the /xl/ folder, replacing the original file.

Step 7: Rename the file type from .zip back to .xlsx

Now you can open the file and the Read Only protection will be gone.

Tip: Another option with Read Only files is to open the file in Read Only mode, then Save As a copy without the password.

Unprotect Excel Files Without Password

If your file is password protected and there is no option to open it in Read Only mode i.e. you get the dialog box below when opening the file:

Excel Passwords 16

You cannot use any of the techniques above. If you try to change the file type to .zip and then open the zipped folder, you’ll get this error:

Excel Passwords 17

Password protection at the file level is the most secure way to protect your data, but it’s still not completely secure. You can purchase third-party apps to unlock Excel files. Just be sure you’re being ethical and only unlocking your own files.

Fortunately, I’ve never needed to remove a password at this level, so I don’t have any firsthand experience of apps I can recommend.

Easily Remove Password Protection from Excel Files

More Excel Posts

tips for working in multiple excel files

Hacks for Working in Multiple Excel Files

Awesome tips for navigating, arranging and working in multiple Excel files. Guaranteed to streamline your workflow and increase productivity.
chatgpt for excel

ChatGPT for Excel

Using ChatGPT for Excel can be hit and miss. Learn the best uses for ChatGPT to make your Excel life easier and what to avoid using it for.
excel templates

Where to Find Free Excel Templates

Where to find free Excel templates and how to create your own Excel templates. Using templates saves time and effort.
Import data from a picture to Excel

Import Data from a Picture to Excel

Import data from a picture to Excel. Works with pictures from a file or the clipboard and loads it to the spreadsheet.
excel online

5 Excel Online Features Better than Desktop

5 Excel Online Features Better than Desktop including searchable data validation, track changes, single line ribbon and more.

10 Common Excel Mistakes to Avoid

10 common Excel mistakes to avoid, including merge cells, external links, formatting entire rows/columns and more.
new Excel features

Cool New Features in Excel for Microsoft 365

Cool New Features in Excel for Microsoft 365 including the navigation pane, smooth scroling, unhide multiple sheets and more.
dynamic dependent data validation

Dynamic Dependent Data Validation

Dynamic Dependent Data Validation with dynamic array formulas like FILTER make it quick and easy to set up.
QAT

Excel Quick Access Toolbar

The Excel Quick Access Toolbar is not only a handy for your mouse, but it also enables some super easy keyboard shortcuts.

Share and Collaborate in Excel

Share and Collaborate in Excel just like Google Sheets! Show changes, custom views, threaded comments with @ mentions and more.


Category: Excel
Previous Post:power query variablesPower Query Variables 3 Ways
Next Post:Excel S-Curve ChartsExcel S Curve Charts

Reader Interactions

Comments

  1. Jason Grant

    March 1, 2023 at 3:30 am

    I’ve tried this method over the years and have been successful in the past but now when I change the extension to zip and open it I’m not seeing those xml files? I’ve tried 7zip, winrar, etc. Any idea?

    Reply
    • Mynda Treacy

      March 1, 2023 at 8:53 am

      Hi Jason,

      That’s usually an indication that the password is at the file level, as per the last example in the tutorial above.

      Mynda

      Reply
  2. E

    February 23, 2023 at 2:19 am

    Very clearly explained. Thank you!

    Reply
    • Mynda Treacy

      February 23, 2023 at 8:57 am

      Glad you thought so, thank you!

      Reply
  3. Susan M

    December 23, 2022 at 6:31 am

    Thank you so for your newsletter today that led me back to this post. We work from spreadsheets that were saved & updated & copied & pasted multiple times over the last 20 years, and sometimes we find a random locked sheet in the workbooks. This worked perfectly so I was able to fix one of our files today and saved us the hassle of copying and renaming and reinserting the worksheet from another similar file. Thanks for all the wonderful Excel tips and best wishes for 2023.

    Reply
    • Mynda Treacy

      December 23, 2022 at 7:56 am

      Wonderful to hear, Susan! Best wishes for 2023 to you too 🙂

      Reply
  4. Alan James

    August 12, 2022 at 8:52 am

    Password protected Excel files are AES encrypted. Providing you use a reasonable length password then no tool is going to crack it.

    See https://www.tutorialspoint.com/how-to-encrypt-the-ms-excel-workbook

    “Microsoft uses AES with a 128bit key, plus SHA1 salt and cipher block chaining for encryption

    Currently, no practical methods can break or crack the algorithm provided by Microsoft.”

    Reply
    • Mynda Treacy

      August 12, 2022 at 10:29 am

      Interesting, Alan. Thanks for sharing. Wikipedia also has some informationhere on the history and different types of encryption used by different versions of Excel.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Current ye@r *

Leave this field empty

Sidebar

More results...

Featured Content

  • 10 Common Excel Mistakes to Avoid
  • Top Excel Functions for Data Analysts
  • Secrets to Building Excel Dashboards in Less Than 15 Minutes
  • Pro Excel Formula Writing Tips
  • Hidden Excel Double-Click Shortcuts
  • Top 10 Intermediate Excel Functions
  • 5 Pro Excel Dashboard Design Tips
  • 5 Excel SUM Function Tricks
  • 239 Excel Keyboard Shortcuts

100 Excel Tips and Tricks eBook

Download Free Tips & Tricks

Subscribe to Our Newsletter

Receive weekly tutorials on Excel, Power Query, Power Pivot, Power BI and More.

We respect your email privacy

Guides and Resources

  • Excel Keyboard Shortcuts
  • Excel Functions
  • Excel Formulas
  • Excel Custom Number Formatting
  • ALT Codes
  • Pivot Tables
  • VLOOKUP
  • VBA
  • Excel Userforms
  • Free Downloads

239 Excel Keyboard Shortcuts

Download Free PDF

Free Webinars

Excel Dashboards Webinar

Watch our free webinars and learn to create Interactive Dashboard Reports in Excel or Power BI

Click Here to Watch Now

mynda treacy microsoft mvpHi, I'm Mynda Treacy and I run MOTH with my husband, Phil. Through our blog, webinars, YouTube channel and courses we hope we can help you learn Excel, Power Pivot and DAX, Power Query, Power BI, and Excel Dashboards.

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk – For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.