What you can do when a spreadsheet is password-protected

If you have an Excel file that is password-protected and you no longer have the password, you have three realistic paths forward: remove the protection using built-in Excel features if the file is older, use a third-party tool designed to remove sheet or workbook protection, or recreate the data in a new file. The method that works depends on which version of Excel created the file, whether the protection is on the sheet or the entire workbook, and how much of the data you can afford to lose.

Excel's protection is not encryption — it is a lock that prevents editing, but the file itself is not scrambled. This means removal is often possible, though the difficulty varies. A sheet protection (which locks individual cells) is easier to remove than workbook protection (which locks the file structure itself).

Key Takeaways

  • Sheet protection in Excel can sometimes be removed by saving the file as XML, editing the protection code out, and reopening it — this works on some older files but not consistently.
  • Third-party tools exist that remove Excel protection, but they vary in reliability and some require payment; research reviews before downloading.
  • If the file is very old (Excel 97-2003 format), protection removal is more likely to work than with newer formats.
  • Recreating the data in a new file is slower but guarantees you will have an unprotected copy if other methods fail.

Removing sheet protection using the XML method

If the protection is on a single sheet (not the entire workbook), you can sometimes remove it by editing the file's underlying code. This works most reliably on Excel files saved in the .xlsx format, which is actually a compressed folder of XML files.

First, make a backup copy of the file. Then change the file extension from .xlsx to .zip, open it with your computer's built-in file manager (not Excel), and navigate to the folder called xl/worksheets/. Find the sheet you need to unprotect — it will be named sheet1.xml, sheet2.xml, and so on. Open the XML file in a plain text editor like Notepad. Search for the text <sheetProtection>. Delete the entire line that contains this tag. Save the file, change the extension back to .xlsx, and try opening it in Excel. The sheet should no longer be protected.

This method does not work on all files — newer versions of Excel and files with stronger protection settings will not respond to it. If you try this and Excel still shows the sheet as protected, the file uses a format this method cannot handle.

Using third-party removal tools

Several software tools claim to remove Excel protection without the password. These range from free online services to paid desktop programs. Common names include PassFab for Excel, iSunshare Excel Password Remover, and online converters that accept .xlsx files. Before downloading or uploading your file to any tool, check recent user reviews on independent sites — protection removal tools are a common vector for malware, and some paid tools do not actually work.

If you choose to use a third-party tool, never upload a file containing sensitive data (financial records, personal information, client lists) to an online service. Use only desktop software that runs on your own computer, or research whether the online service has a privacy policy you trust. Some tools are free; others charge $20 to $50 for a one-time removal.

Test any tool on a copy of your file first, not the original. If the tool works, it will remove the protection and return a usable file. If it does not work or behaves unexpectedly, you still have your original.

Recreating the data in a new file

If the file is small or the data is not too complex, the most reliable path is to open the protected file, manually copy the data you can see, and paste it into a new unprotected spreadsheet. This takes time but guarantees success and gives you full control over the new file.

Open the protected file in Excel. Select all the visible data (Ctrl+A on Windows, Cmd+A on Mac), copy it (Ctrl+C or Cmd+C), create a new blank spreadsheet, and paste the data (Ctrl+V or Cmd+V). Formatting may not transfer perfectly, but the numbers and text will. Save the new file with a new name. You now have an unprotected copy.

This method fails only if the file is very large or if the protection prevents you from even viewing the data. For most files, it is the slowest but most reliable option.

Why workbook protection is harder to remove

If the entire workbook is protected (not just one sheet), the XML method does not work. Workbook protection locks the file structure — you cannot add, delete, or rename sheets. This is a stronger form of protection and requires either a third-party tool or recreating the file.

Some older Excel files (97-2003 format, saved as .xls) used weaker protection that could be removed by opening the file in a different program like LibreOffice Calc, which sometimes ignores Excel's protection flags. Try opening the .xls file in LibreOffice Calc, removing the protection from the Tools menu, and saving it back as an Excel file. This does not always work, but it costs nothing to try.

What to do if nothing works

If you have tried the XML method, tested a third-party tool, and the file is too large to recreate manually, you have reached the limit of what is possible without the original password. At this point, contact the person or organization that created the file and ask them for an unprotected version or the password.

If the file was created by someone no longer available, or if it is a very old file from an archived project, the data may be unrecoverable. Document what you have tried and what the file contains, then decide whether the effort to pursue other options is worth the value of the data inside.

Protecting your own files going forward

Once you have access to your data again, consider whether you actually need to protect the file. If you do, write down the password and store it somewhere find — a password manager, a locked drawer, or a trusted person who can retrieve it if you forget. If you do not need protection, leave the file unprotected so you never face this problem again.

If you want to protect a file but worry about losing the password, use Excel's built-in password feature and test it when ready: set a password, close the file, reopen it, and confirm you can enter the password correctly. Do this while you still remember it clearly.

Frequently Asked Questions

Will removing protection delete any of my data?

No. Removing protection unlocks the file but does not change the data inside. The XML method, third-party tools, and manual recreation all preserve your numbers and text. Formatting may shift slightly, but nothing is lost.

Can I remove protection from a file someone else created?

Technically, yes — the methods here work on any file you own or have access to. Legally and ethically, you should only remove protection from files you have the right to modify. If the file belongs to someone else, ask them for the password or an unprotected copy first.

Is it safe to use online tools to remove Excel protection?

Online tools carry risk because you are uploading your file to someone else's server. If the file contains sensitive information, use a desktop tool instead, or try the XML method first. If you do use an online service, choose one with a clear privacy policy and good user reviews.

What if the file is corrupted and I cannot open it at all?

Protection removal assumes you can open the file in Excel. If the file is corrupted, you need file recovery software first — that is a separate problem from password removal. Try opening the file in LibreOffice Calc or Google Sheets; sometimes they can read corrupted Excel files that Excel itself cannot.

Can I remove protection from a file locked with a strong password?

Excel protection is not the same as encryption. Even strong passwords can be removed using the XML method or third-party tools because the protection is a flag in the file, not a cryptographic lock. However, some newer Excel files use stronger protection that these methods cannot bypass.