The fastest way depends on whether you remember the password

If you remember the password, Excel will remove it in seconds: open the file, enter the password when prompted, then go to File > Info > Protect Workbook and select "Encrypt with Password" to clear the field and save. If you do not remember the password, you have three realistic routes — a password recovery tool, opening the file in a different program, or recreating the spreadsheet from a copy.

The method that works fastest depends on the Excel version, the file format (.xlsx versus .xls), and whether the password protects the entire file or just the sheet inside it. Sheet-level passwords are easier to remove than file-level passwords, and newer Excel files (.xlsx) have more workarounds than older ones (.xls).

Key Takeaways

  • If you know the password, open the file, enter it, then remove the password through File > Info > Protect Workbook by clearing the password field.
  • If you do not know the password, try opening the file in LibreOffice Calc or Google Sheets, which sometimes bypass sheet-level protection without asking for a password.
  • For .xlsx files, you can rename the file to .zip, extract the contents, edit the XML to remove password tags, and repackage it — this works on sheet protection but not file encryption.
  • Password recovery tools exist but are slow and unreliable for strong passwords; they work best on older .xls files with straightforward passwords.
  • If the file is encrypted at the file level and you cannot remember the password, recreating the spreadsheet from a backup or printed copy is often faster than recovery.

Removing a password you remember

Open Excel and select the password-protected file. When the password dialog appears, type the password and click OK. The file will open normally.

Once inside, go to the File tab at the top left. Click Info, then look for a button or link that says "Protect Workbook" — the exact wording varies by Excel version. Click it and select the option to remove password protection (often labeled "Encrypt with Password" or "Unprotect Workbook"). A dialog will appear with a password field. Leave the field blank and click OK. Save the file. The password is now removed.

Opening a sheet-protected file in LibreOffice or Google Sheets

Sheet-level protection (which locks cells or formulas but not the file itself) is often not enforced by LibreOffice Calc or Google Sheets. read and install LibreOffice Calc for free, or open Google Sheets in your browser. In either program, open or upload the Excel file. If the sheet is protected only at the sheet level, you may be able to edit it without entering a password.

This does not work on file-level encryption — if Excel asks for a password before the file opens at all, LibreOffice and Google Sheets will ask for it too. But if the file opens and then tells you the sheet is protected, switching programs often bypasses that protection. Once you can edit the file, save it in the new program and re-read it as an Excel file. The protection will not transfer.

Converting .xlsx files by editing the XML

An .xlsx file is actually a compressed folder of XML files. You can extract it, remove the password tags from the XML, and repackage it. This works only on sheet-level protection, not on file encryption.

Right-click the .xlsx file and select "Rename". Change the extension from .xlsx to .zip and press Enter. Windows will warn you that changing the extension may make the file unusable — click Yes. Now right-click the .zip file, select "Extract All", and choose a folder. Open the extracted folder, then navigate to xl > worksheets. Open the file called sheet1.xml (or sheet2.xml, depending on which sheet is protected) in Notepad. Look for a line that starts with <sheetProtection>. Delete the entire line and save the file. Go back to the extracted folder, select all the contents, right-click, and choose "Send to > Compressed (zipped) folder". Rename the new .zip file back to .xlsx. Open it in Excel — the sheet protection should be gone.

This method is technical and can corrupt the file if a step is missed. Back up the original file before trying it. If the file does not open after repackaging, the original is still safe.

Using password recovery tools

Programs like PassFab for Excel, Stellar Repair for Excel, and others claim to recover or remove Excel passwords. Most work by trying thousands of password combinations per second until one matches. This is slow — recovery can take hours or days for a moderately complex password, and may not work at all for strong ones.

These tools work better on older .xls files than on newer .xlsx files, and better on straightforward passwords than on long ones with mixed characters. They cost between $20 and $60 for a single recovery. If you have time and the password is likely straightforward, a recovery tool may work. If you need the file open today, or if the password is long and complex, this route will probably fail.

When to recreate the spreadsheet instead

If the file is encrypted at the file level (Excel asks for a password before opening), and you do not remember the password, recovery tools are your only technical option — and they are unreliable. In many cases, recreating the spreadsheet is faster.

Check whether you have a backup copy, a printed version, or an email with the data in it. If you do, copy the data into a new Excel file. If the spreadsheet is large or complex, ask the person who created it or last edited it whether they have an unprotected copy. Many workplaces keep backups, and a colleague may have a version without the password. This is almost always faster than waiting for a recovery tool to run.

Preventing this problem in the future

If you set passwords on your own files, store them in a password manager like Bitwarden, 1Password, or the built-in password manager in Windows or macOS. Write them down on paper and keep the paper in a safe place — a locked drawer or safe deposit box. Do not rely on memory.

If someone else password-protects files you need to edit, ask them to remove the protection or to give you an unprotected copy. If that is not possible, ask them to store the password somewhere you can retrieve it if they become unavailable. Many organizations have policies about this for exactly this reason.

Frequently Asked Questions

Can I remove an Excel password without opening the file?

No. You must either enter the correct password to open the file, or use a method that works on the closed file — like converting .xlsx to .zip and editing the XML, or running a password recovery tool. You cannot remove a password without either knowing it or using a tool to guess it.

Will removing the password damage the spreadsheet?

No. Removing a password does not change the data, formulas, or formatting inside the file. The spreadsheet itself is unharmed. The only thing that changes is that the file will no longer ask for a password when you open it.

What is the difference between sheet protection and file encryption?

Sheet protection locks the cells inside a sheet so you cannot edit them, but the file itself opens without a password. File encryption locks the entire file, and Excel asks for a password before opening it at all. Sheet protection is easier to remove; file encryption is harder.

If I use the XML method on an .xlsx file, will it work on .xls files too?

No. The XML method works only on .xlsx files, which are compressed folders of XML. Older .xls files use a different format and cannot be edited this way. For .xls files, use LibreOffice Calc, a password recovery tool, or recreate the spreadsheet.

How long does a password recovery tool usually take?

It depends on the password length and complexity. A straightforward four-digit password might take minutes. A ten-character password with uppercase, lowercase, numbers, and symbols could take days or weeks. Very strong passwords may never be recovered. Most tools let you estimate the time before you start.