How to a protected Excel sheet without the password

You will remove worksheet and workbook protection from an Excel file using only Windows and Excel, with no add-ins or coding. It suits anyone locked out of their own spreadsheet and works by editing the file's XML. You need a Windows PC, Excel and a text editor such as Notepad.

YouTube video: Unlock Protected Excel Sheets (No Password Needed!)

Caption availability is unknown. Check the CC control in the YouTube player.

9 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (9)
Video length
6 min 51 s
Time to do it
10 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. Make a copy of the Excel file and keep the original somewhere safe. Work only on the copy, since a wrong edit can damage the workbook.

  2. In File Explorer, open the View tab and tick File name extensions. This lets you see and change the.xlsx ending.

  3. Close Excel, right-click the copy, choose Rename and change the ending from.xlsx to.zip. Confirm the warning.

  4. Open the zip, go into the xl folder and then the worksheets folder. Copy sheet1.xml out to a normal folder.

  5. Open sheet1.xml in Notepad. Find the sheetProtection tag, delete the whole tag, then save the file.

  6. Put the edited file back into the worksheets folder inside the zip, replacing the old copy.

  7. For workbook protection, open xl and then workbook.xml, delete the workbookProtection tag and save.

  8. Rename the zip back to.xlsx. Open it in Excel and check that the tabs and cells are editable again.

Tips and common mistakes

Only do this on files you own or have permission to edit.

If Excel opens a repair message, delete the copy and start again from the original.

Turn file extensions back off in Explorer afterwards if you prefer a cleaner view.

This removes sheet protection, not the password needed to open an encrypted file.

Questions

Does this work on a Mac?

The steps are written for Windows and File Explorer. Mac users can use the Archive Utility and a text editor, but the file paths and menus differ.

Will my formulas and data survive?

Yes, if you only delete the protection tags and change nothing else. Keep the backup copy in case an edit goes wrong.

Can this recover a password-protected file that will not open?

No. This trick removes sheet and workbook structure protection only. A password required to open the file itself needs the actual password.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all