Converter tool

Unprotect Excel Sheet

See which sheets, editable ranges and workbook settings are locked in an .xlsx or .xlsm and what each lock blocks, then download a copy with the protection you tick removed.

Sheet protection is there to prevent accidental edits; it is not encryption, and the cells are stored readable inside the file. Use this on workbooks you own or are allowed to edit. No password is guessed: the protection setting and its stored hash are deleted, and every other part of the file is copied byte for byte. Files are opened in this browser tab.

Preview

Output Preview

Pick one or more workbooks, or try the sample, to see which sheets and settings are locked and what each lock blocks.

Unprotect Excel Sheet

Operator: Abdulla Al Fahad. How tools are built and checked

This tool is for workbooks you own or are entitled to edit: your own files, or your team's templates. Sheet protection exists to stop accidental edits, such as someone typing over a total, and it often outlives the reason it was set. A budget template gets locked, the person who set the protection password moves on, and two years later the template needs a new cost line that no one is allowed to add. Excel will not switch the protection off without that password. If the workbook belongs to someone else, such as a supplier's order form, ask them to unlock it instead.

Protecting a sheet in Excel does not encrypt anything. It adds a short instruction to the sheet's XML that tells Excel which edits to refuse, together with a hash of the password. This tool opens .xlsx and .xlsm files in your browser, lists every protection setting it finds and what each one blocks, and writes a copy without the ones you tick. It removes editing protection only: a workbook that asks for a password before it will even open is encrypted, and this tool cannot read it.

Key features

  • Every sheet listed with its protection switched on, stored but switched off, or absent
  • The locked and allowed actions for each sheet in plain words, using the schema defaults for anything the file leaves out
  • Password type shown for each setting: none, the legacy 16-bit hash, or a salted hash with its algorithm and spin count
  • Editable ranges listed by name and cell range, with any range password or Windows user permissions noted
  • Workbook structure, window and change-tracking locks, plus the read-only recommendation and password to modify
  • Tick boxes per setting, all ticked by default, so you can lift one sheet's lock and leave the rest
  • Up to 20 workbooks in one go, with a download per file and a single ZIP of all of them
  • Macro-enabled files kept as .xlsm, with the VBA project copied byte for byte

Which protections can be lifted, and what is kept

Input is one or more .xlsx or .xlsm workbooks, up to 20 files at a time, each up to 50 MB and 150 MB in total. Templates (.xltx, .xltm) and add-ins (.xlam) can be dragged onto the box as well. Binary .xlsb workbooks, Word and PowerPoint files are recognised from the file's own content types and turned away with the reason. A workbook that unzips to more than 250 MB of XML is refused with a message rather than left to freeze the tab. Picking files again replaces the list.

Four kinds of protection are found. Sheet protection on worksheets, chart sheets, dialog sheets and Excel 4.0 macro sheets. Editable ranges, which Excel calls Allow Edit Ranges. Workbook protection, which locks the sheet structure, the window layout or change tracking. And the file-sharing settings behind Save As > Tools > General Options: the read-only recommendation and the password to modify.

Each unlocked copy keeps the original name with -unprotected added, and takes the extension that matches the workbook's content type, so Budget.xlsm becomes Budget-unprotected.xlsm and an add-in stays .xlam. Excel refuses a file whose extension contradicts its type, so a macro-enabled workbook that was saved under a .xlsx name comes back as .xlsm. With more than one file there is a Download all button that packs the copies into unprotected-workbooks.zip, numbering any names that clash. Only the parts that held a ticked setting are rewritten, in the text encoding they were stored in. Every other part of the file, xl/vbaProject.bin included, is copied with its original compressed bytes.

How it works

In the file, a protected worksheet carries one element such as <sheetProtection password="CF1A" sheet="1" objects="1" scenarios="1" formatColumns="0"/>. The attribute sheet="1" switches protection on. Each of the other attributes names an action, and a value of 1 means that action is locked while protection is on. If sheet="1" is missing, the settings are stored but Excel does not enforce them, and the tool says so.

The attributes do not share a default, which is why reading them takes care. ECMA-376, the standard that defines the format, gives eleven of them a default of locked: format cells, format columns, format rows, insert columns, insert rows, insert hyperlinks, delete columns, delete rows, sort, AutoFilter and PivotTables. The other four default to allowed: select locked cells, select unlocked cells, edit objects and edit scenarios. That is why a sheet protected with Excel's default choices carries objects="1" scenarios="1" next to sheet="1" and the password hash, and no other action attributes: those two have to be written to be locked, the eleven are locked by being left out, and selecting cells stays allowed. Formatting columns in the example above is allowed because formatColumns="0" says so. Chart sheets have only two such attributes, content and objects, and both are allowed unless set.

Passwords are never stored in the file, only a hash of them. Older files hold a four-digit hexadecimal value in a password attribute; that 16-bit hash maps many different passwords to the same value. Since Excel 2013 the file holds algorithmName (normally SHA-512), a salt, the hash and a spin count, which is how many times the hash was repeated, 100,000 in current Excel. The tool reports which kind is present and leaves it at that. Nothing is guessed or tested; the whole element is deleted, and the hash goes with it.

To remove a setting, the tool finds the element's exact span in the part's XML, skipping comments and CDATA sections so a tag quoted inside them is never matched, and deletes those characters and nothing else. The one addition is an extension wrapper: newer Excel versions can keep a second copy of the editable ranges in an <ext> block, and when that copy was the block's only content the empty <ext> goes too, along with its <extLst> if nothing else is left in it, because an empty one is not valid. It then checks the edited text no longer contains an element of that kind before writing the copy. The workbook part is edited the same way for workbookProtection and fileSharing.

Common use cases

  • Adding a sheet to a team template whose structure was locked by someone who has since left
  • Fixing a formula on a protected report sheet you built yourself and no longer have the password for
  • Clearing the read-only prompt and password to modify from a workbook before filing it in a shared archive
  • Checking which sheets of a supplier's order form are locked, and against what, before deciding whether to ask them for the password
  • Unlocking a batch of monthly reports produced from one protected template

How to use this tool

  1. Pick one or more workbooks, or press Try a sample workbook to load a small budget file with two protected sheets, an editable range, a locked structure and a password to modify.
  2. Read the card for each file. Under Workbook you see structure protection and the read-only settings; under Sheets, each protected sheet with what it blocks, what it still allows and the kind of password stored.
  3. Untick anything you want to keep. Tick all and Untick all apply to every file in the list.
  4. Press Remove ticked protection. Each file gets a line saying how many settings were removed.
  5. Download the copies one by one, or as a ZIP when there are several. The files you picked are not changed.
  6. Open a copy in Excel and check the Review tab: Unprotect Sheet should now read Protect Sheet.

Example

sample-budget.xlsx (the built-in sample)

Workbook  <fileSharing readOnlyRecommended="1" userName="Finance team" reservationPassword="9C4E"/>
          <workbookProtection workbookPassword="CC3D" lockStructure="1"/>
Budget    <sheetProtection password="CF1A" sheet="1" objects="1" scenarios="1" formatColumns="0" autoFilter="0"/>
          <protectedRange password="C258" sqref="B2:B4" name="Monthly inputs"/>
Rates     <sheetProtection algorithmName="SHA-512" ... spinCount="100000" sheet="1" objects="1" scenarios="1" selectLockedCells="1"/>
Notes     (no protection)

What the tool reports, then removes

Workbook structure protection: locks sheet structure. Password: legacy 16-bit hash.
Read-only recommendation and password to modify: read-only recommended yes, password legacy 16-bit hash, set by Finance team.
Sheet protection on "Budget": blocks editing locked cells, format cells, format rows, insert columns, insert rows, insert hyperlinks, delete columns, delete rows, sort, use PivotTable and PivotChart, edit objects and edit scenarios. Still allowed: select locked cells, select unlocked cells, format columns and use AutoFilter. Password: legacy 16-bit hash.
1 editable range on Budget: Monthly inputs (B2:B4), range password legacy 16-bit hash.
Sheet protection on "Rates": blocks the same, plus select locked cells, format columns and use AutoFilter. Still allowed: select unlocked cells. Password: SHA-512 hash, 100,000 spins.
Not protected: Notes.

sample-budget-unprotected.xlsx: 5 items removed; values and the =SUM(B2:B4) total unchanged.

Tips for best results

  • Read the Blocks line before removing anything. A sheet that allows formatting and filtering may already let you do what you need without unlocking it.
  • If you only need to type into a few input cells, check the editable ranges first: those cells may have their own range password that someone in your team knows.
  • A setting marked as having no password can be switched off in Excel with Review > Unprotect Sheet, with no tool at all.
  • Keep the protected original. If the lock was there to stop a total being typed over, protect the unlocked copy again in Excel with a password you record somewhere safe.
  • To lock a sheet again with the same choices, use the Blocks and Still allowed lines as your checklist in Excel's Protect Sheet dialog.

Common pitfalls

The limits are listed under What it cannot unlock.

Common errors and how to fix them

"This workbook is encrypted with a password to open."
The file is an encrypted container rather than a ZIP of XML parts, so there is nothing to read without the password. If you know it, open the workbook in Excel, clear the password under File > Info > Protect Workbook > Encrypt with Password (Windows), save, and pick the saved copy.
"This is a legacy .xls workbook."
Open it in Excel or LibreOffice and save it as .xlsx, or .xlsm if it has macros you want to keep, then pick the new file.
The unlocked copy opens with a yellow Protected View bar.
That bar is Windows marking a file downloaded through a browser; it is not sheet protection. Click Enable Editing, or right-click the file, choose Properties and tick Unblock.
The file says no protection was found, but Excel still will not let me edit.
Check for Protected View, Mark as Final, or a file that is read-only in its folder or synced copy. None of those is stored as protection in the workbook's XML.

Best practices

  • Use sheet protection for what it is good at: keeping formulas and layout safe from slips. Do not rely on it to hide anything, because the cells are stored readable in the file.
  • When a workbook must stay confidential, encrypt it with a password to open and share that password separately.
  • Record protection passwords in your team's password manager, next to the file's location.
  • Prefer editable ranges over a sheet with no protection when several people fill in one template: inputs stay open and formulas stay locked.

What it cannot unlock

Editing protection is all this tool removes. These stay as they are:

  • Workbooks that need a password to open are encrypted, and the tool cannot read them. The same goes for files encrypted by a sensitivity label. It tells you which case you have from the file's contents, not its name.
  • Legacy .xls workbooks and binary .xlsb workbooks store protection in a binary format that is not edited here. Save them as .xlsx or .xlsm in Excel or LibreOffice first.
  • A password on the VBA project, the one Excel asks for when you open the macro editor, is not removed. The VBA project is copied unchanged.
  • Cells keep their Locked and Hidden format settings. They have no effect until a sheet is protected again, at which point they apply as before.
  • Mark as Final is a document property, not protection, and is left as it is. Click Edit Anyway on the bar Excel shows.
  • Removing protection changes the file, so anything that relies on the file being unchanged, such as a digital signature, will no longer verify.

What each lock means in Excel terms

The tick boxes in Excel's Protect Sheet and Protect Workbook dialogs map to the settings the tool lists:

  • Editing locked cells: always blocked while a sheet is protected. Every cell is formatted Locked unless someone unticked it under Format Cells > Protection.
  • Format cells, columns and rows: changing number formats, fonts and fills, column widths, row heights and hiding.
  • Insert and delete rows and columns, insert hyperlinks: the matching commands on the right-click menu.
  • Sort and Use AutoFilter: sorting a range, and using the filter buttons. AutoFilter must already be switched on before the sheet is protected.
  • Use PivotTable and PivotChart: formatting, rearranging and refreshing PivotTables, or creating new ones.
  • Edit objects and Edit scenarios: moving or editing charts, shapes and pictures, and changing what-if scenarios.
  • Workbook structure: adding, deleting, renaming, moving, hiding and unhiding sheets.
  • Password to modify: Excel asks for it on opening and offers read-only access to anyone without it.

Removing protection is not cracking a password

A cracker tries passwords until one produces the stored hash, which is slow against SHA-512 with 100,000 spins and pointless when the goal is just to edit. This tool never looks for the password. It deletes the setting, exactly as Excel does when you unprotect a sheet with the right password, so the speed is the same whether the hash is legacy or modern. It cannot tell you what the old password was.

Because protection is only an instruction to Excel, anyone with the file could already read every value in it with a ZIP tool or a text editor. Use this on workbooks you own or are allowed to edit.

Why it runs in your browser

Locked workbooks are often locked because they matter: payroll, pricing, forecasts, a client's figures. Online unlockers ask you to upload exactly those files. Here each workbook is read into this tab's memory, edited there, and handed back as a download; nothing is sent to a server. Once you pick new files or close the tab, the copies held in memory are dropped.

Frequently asked questions

Do I need the password?

No. The protection setting and its stored hash are removed together, so no password is asked for or checked.

Will my macros still work?

Yes. A .xlsm stays a .xlsm and xl/vbaProject.bin is copied byte for byte. If a macro protects the sheet again when it runs, Excel will do that as before.

Can I unlock just one sheet?

Yes. Untick everything except that sheet's protection. Other sheets and the workbook settings stay as they were.

Does it change my data or formatting?

No. Only the protection elements you tick are deleted from the XML. Values, formulas, styles, column widths, comments and charts are untouched, and parts that held no ticked setting are copied as they were stored.

Why is a sheet marked as switched off?

Its protection settings are stored without sheet="1", so Excel does not enforce them. Some programs leave settings behind like this. Removing the element tidies the file but changes nothing you would notice in Excel.