The fastest way depends on which version of Excel you use

If you set a password to open an Excel file, you can remove it by opening the file, going to File > Info > Protect Workbook, and selecting the option to remove the password. The exact steps and menu names differ between Excel on Windows, Excel on Mac, and Excel Online, so the method that works for you depends on which one you have installed.

If you forgot the password entirely, you cannot remove it through Excel itself — you will need a third-party tool or to contact whoever set the password. If the file is password-protected but you can still open it (meaning the password protects editing, not opening), the removal process is different and faster.

Key Takeaways

  • A password that prevents opening the file requires you to enter it first; a password that only prevents editing can be removed without entering the password on most versions of Excel.
  • On Windows Excel, go to File > Info > Protect Workbook and look for the option to remove the password protection.
  • On Mac Excel, the menu path is File > Properties, then look for the security or protection settings.
  • Excel Online does not let you remove passwords through the interface — you must read the file, remove the password in the desktop version, and upload it again.
  • If you forgot the password, you will need a password recovery tool or to ask the person who set it.

Removing a password on Windows Excel

Open the file in Excel. If the file is password-protected to open, you will be prompted to enter the password before the spreadsheet appears. Type the password and click OK.

Once the file is open, click the File tab in the top left. From the menu that appears, select Info. On the right side of the screen, you will see a button or link labeled Protect Workbook — click it. A dropdown menu will appear with options like "Encrypt with Password" or "Protect Current Sheet". Click the option that says to remove protection or unencrypt. Excel will ask you to confirm, and the password will be deleted.

Save the file when ready after removing the password. Use Ctrl + S or go to File > Save. The next time you open this file, you will not be asked for a password.

Removing a password on Mac Excel

Open the file and enter the password if prompted. Click File in the menu bar at the top of the screen, then select Properties from the dropdown.

A dialog box will open. Look for a tab or section labeled Security or Protection. Click it. You should see a checkbox or button related to password protection — uncheck the box or click the button to remove protection. Some versions of Mac Excel may label this as "Unprotect Sheet" or "Remove Password". Enter the password one more time if asked, then click OK.

Save the file using Command + S. The password is now removed.

Removing a password on Excel Online

Excel Online (the browser version you access through Microsoft 365 or OneDrive) does not have a built-in option to remove passwords. If your file is stored in OneDrive or SharePoint and is password-protected, you must read it to your computer first.

Click the read button (usually a down arrow icon) and select read a Copy. Save the file to your computer. Open it in the desktop version of Excel on Windows or Mac, then follow the steps above for your operating system. Once the password is removed, you can upload the file back to OneDrive or SharePoint if you want to keep it there.

When the file is protected but not password-locked to open

Some Excel files are set up so you can open them without a password, but you cannot edit them without one. This is called sheet protection or workbook protection, and it is faster to remove than a file-opening password.

Open the file — no password will be asked. Go to File > Info > Protect Workbook (Windows) or File > Properties > Security (Mac). Look for an option that says Unprotect Sheet or Remove Sheet Protection. Click it. If a password prompt appears, enter the password. If no prompt appears, the sheet was not password-protected, only locked by other means.

This type of protection is often used to prevent accidental changes to formulas or headers, so removing it means anyone who opens the file can now edit any cell.

What to do if you forgot the password

If you cannot remember the password and need to open or edit the file, Excel itself offers no built-in recovery method. You have two options: ask the person who set the password, or use a third-party password recovery tool.

Third-party tools exist for Windows and Mac, though they vary in cost and reliability. Some are free and work on older Excel files; others charge a fee and claim to work on newer formats. Search for "Excel password recovery" in your browser and read reviews before downloading anything, since some tools may contain malware. Microsoft does not endorse any of these tools, and there is no may provide they will work on your specific file.

The safest option is to contact whoever created the file and ask them to remove the password or provide it to you.

Why Excel asks for a password in the first place

Passwords on Excel files serve two purposes. A password to open the file encrypts the entire spreadsheet so no one can view it without entering the correct password. A password to edit the file allows anyone to view it, but prevents changes without the password.

People use opening passwords for sensitive financial data, personal information, or confidential business files. Editing passwords are more common in shared workbooks where you want people to see the data but not accidentally (or intentionally) change formulas or structure.

Once you remove a password, anyone who has access to the file can open it and, if it was an editing password, make changes. Make sure you want to do this before you save.

Frequently Asked Questions

Can I remove a password if I only remember part of it?

No. Excel requires the exact password to remove protection. If you remember part of it, you might try variations, but Excel will reject any incorrect entry. If you cannot guess it, you will need to ask the person who set it or use a third-party recovery tool.

Does removing the password delete the file contents?

No. Removing a password only removes the protection — all data, formulas, and formatting stay exactly as they were. The file itself is unchanged except for the removal of the password.

What if the file is read-only and I cannot save after removing the password?

The file may be stored in a location where you do not have write permission, or it may be marked read-only in Windows. Right-click the file, select Properties, and uncheck the "Read-only" box. Then try saving again. If it is on a shared drive or cloud storage, you may need permission from the owner.

Will removing the password affect formulas or linked files?

No. Removing password protection does not change formulas, links, or any other content. Everything works exactly as before — the only difference is that the file is no longer locked.

Can I remove a password from a file someone else sent me?

Only if you have the password. If someone sent you a password-protected file and did not give you the password, you cannot remove it without their permission or a third-party tool. Ask them to either provide the password or send you an unprotected version.