Can you unprotect a worksheet without the password?
Yes — if the sheet was protected without a password, unprotect it instantly (Review → Unprotect Sheet). If it has a password, there is no official recovery; only workarounds exist.
Which locked file do you have?
| Situation | What you see | Type | Solution |
|---|---|---|---|
| ✅ Worksheet Protection | File opens fine — you can see everything, but cells won't let you edit | Unlocks on this page | Use methods below ↓ |
| ❌ File Encryption | File won't even open — shows a password prompt immediately | Needs other tools | See note at bottom ⚠️ |
Choose Your Method
Method 1 — Online Tool (Recommended)
Browser-based, no upload. The file is processed locally in JavaScript — your data never touches any server. Works on Excel .xlsx files.
Drag & drop your Excel file here
or click to browse
Supports .xlsx files only · Processed 100% in your browser
Upload your .xlsx file
Drag and drop or click the zone above. Your file stays on YOUR computer — no server upload.
Automatic processing
JSZip (running in your browser) reads the file, finds the sheet protection XML tag, and removes it.
Download your unlocked file
Click the download button. Your file will have the same name with protection removed. Open it normally in Excel.
All processing happens in your browser using JSZip. Source code is open and auditable. Your student data, grades, and templates never leave your device.
Method 2 — VBA Macro Code
This method works by inserting a short macro into Excel that removes sheet protection. Only works on files protected without a password — if you forgot the password, use Tab 1 or Tab 3 instead.
Open your protected Excel file
Open the .xlsx file you want to unlock in Excel.
Open the VBA Editor
Press Alt + F11 (Windows) or Fn + Option + F11 (Mac).
Insert a new module
In the VBA editor, click Insert → Module. Paste the code above into the module window.
Run the macro
Press F5 to run, then close the VBA editor. Your sheet is now unprotected.
This VBA method only works on sheets protected without a password. If the sheet was protected with a password set, use the Online Tool (Tab 1) or the XML method (Tab 3) instead.
Method 3 — XML Edit (Advanced)
For when macros are disabled (e.g., school laptops). Rename the .xlsx to .zip, remove the protection tag from the XML inside, then rename back to .xlsx.
Make a backup copy
Always work on a copy of your file. Right-click the .xlsx → Duplicate.
Rename .xlsx to .zip
Right-click your file → Rename. Change the extension from .xlsx to .zip. Click Yes when prompted.
Open the ZIP and find sheet protection
Double-click the .zip to open it (or use 7-Zip / WinRAR). Navigate to: xl/worksheets/ — you'll see one or more .xml files. Extract the worksheet you want to unlock.
Remove the protection tag
Open the .xml file in any text editor (Notepad, TextEdit, VS Code). Press Ctrl+F and search for sheetProtection. Delete the entire tag, e.g.:
Save, re-zip, rename to .xlsx
Save the edited .xml file back into the .zip (replace the original). Close the .zip. Rename it from .zip back to .xlsx. Open in Excel — the sheet is now unprotected.
Why Teachers Trust This Method
🔒 100% Browser Local
No uploads, no servers, no third parties. The online tool uses JSZip to process your file entirely in JavaScript. Your student grades and templates stay private.
🛡️ Data Integrity
None of the three methods alter your cell data, formulas, formatting, or structure. We only remove the protection flag. Your formulas, SUM(), VLOOKUP(), and conditional formatting all remain intact.
⚖️ Legal Compliance
Only use these methods on files you own or are authorized to access — your own worksheets, templates your school gave you, or resources you have a license to modify. Always respect copyright and licensing terms.
🔄 Works on All Devices
Online tool and XML method work on any device with a browser. VBA works on Windows and Mac Excel. No installation required for Tab 1 — just open the page and go.
✅ Compatibility
| Method | Excel 2010 | Excel 2013–2016 | Excel 2019 | Microsoft 365 | Mac Excel |
|---|---|---|---|---|---|
| Online Tool (Tab 1) | ✓ | ✓ | ✓ | ✓ | ✓ |
| VBA Code (Tab 2) | ✓ | ✓ | ⚠️* | ⚠️* | ✓ |
| XML Edit (Tab 3) | ✓ | ✓ | ✓ | ✓ | ✓** |
* VBA may not work on Excel 2019/365 with password-protected sheets (use Tab 1 instead). ** Mac requires a ZIP utility like The Unarchiver.
Last tested: August 2026
Made by the team behind WorksheetMap — trusted by teachers for 400+ free printable worksheets. We build tools that respect your privacy and your time.
Frequently Asked Questions
Continue Working With Your Template
You unlocked your worksheet — now turn it into something custom for your classroom. Here's what teachers recommend next:
Edit & Reuse Templates
Convert your Excel worksheet to PDF, annotate it, or convert it to Word — all with the free PDF Agile editor.
⬇ Download PDF Agile400+ Free Worksheets
Math, reading, science, grammar and more — all free, all with answer keys. Perfect for classroom activities.
Browse All Worksheets →Excel Tips for Teachers
Best practices for protecting, sharing, and organizing worksheet templates without losing your work.
How to Protect Templates →Continue Exploring
Sources & References
This guide was written and fact-checked against Microsoft's official Excel documentation.
Disclaimer: This tool is for educational purposes only. Use these methods only on files you own or have permission to modify. WorksheetMap and PDF Agile are not responsible for misuse of these techniques. Last Updated: August 18, 2026.