An application to remove worksheet password protection from Microsoft Excel files (.xlsx). This tool does not recover the password; it directly removes the protection flag from the file's underlying XML structure.
Publisher: Noshadi-sec
There are two ways to use this application. The easiest method is to download the pre-built application.
You can download the ready-to-use .exe application for Windows from the official Releases page. No installation is needed.
Download the latest release here
If you want to run the Python script directly, you can download the source code.
- Prerequisites: Make sure you have Python 3 installed on your system.
- Download the Code: You can either clone the repository with Git or download it as a ZIP file.
- Using Git (recommended):
git clone https://github.com/Noshadi-sec/Excel_Worksheet_Unlocker.git
- As a ZIP file: On the main repository page, click the green
< > Codebutton and select "Download ZIP".
- Using Git (recommended):
- Run the App: Open your terminal, navigate into the project directory, and run the script:
python main.py
An .xlsx file is essentially a ZIP archive containing various XML files. Worksheet protection is specified by a <sheetProtection ... /> tag within the XML for that sheet. This tool automates the process of unzipping the file, finding and removing that tag, and re-zipping the contents into a new, unprotected file.
- Simple GUI: An intuitive interface built with Tkinter.
- No Password Needed: Removes protection without needing the original password.
- Safe: Creates a new, unprotected copy of your file, leaving the original untouched.
- Cross-Platform: The Python script works on Windows, macOS, and Linux.
If you want to create your own standalone executable from the source code, you can use PyInstaller.
- Install PyInstaller:
pip install pyinstaller
- Create the Executable: Navigate to the script's directory and run the command for your OS.
- For Windows (.exe)
pyinstaller --onefile --windowed --name ExcelUnprotector main.py
- For macOS (.app)
pyinstaller --onefile --windowed --name ExcelUnprotector --icon=your_icon.icns main.py
- For Windows (.exe)
- Find Your App: The new application will be inside the
distfolder.
This project was inspired by the work done on the Excel-Worksheet-Password-Remover repository.
This tool is intended for educational purposes and for recovering access to your own files. Use it responsibly and only on files you have the right to modify.