How to Crack ZIP File Password Using CMD

author_icon Adams Johnson time_icon Last updated: Oct 15, 2019 03:08 pm tips_icon ZIP

If you forgot the password to your password-protected ZIP file so that you can't access the content of it without the password. You must feel frustrated. The good news is that there are someworkable solutions you can use to find back the password and get access to a password protected ZIP file. One such way is to use the CMD line tool. This article describes how to crack ZIP File Password Using CMD as well as show some other ways for your reference, you can choose one that suit your need most. Now, let's get started.

Part 1: Crack ZIP File Password with CMD

To perform the Password Cracking, you need a CMD Line tool called John the Ripper. The CMD line tool is an open-source tool that is available for use onwindows, MacOSx and Linux. To use this tool follow these steps:

To begin with, you need to dowonload John the Ripper CMD line tool on your computer. Now unZIP the ZIP file you downloaded and saveit in a fold with a unique name that you will remember, let's say"John".

john folder

Step 1: Now open the folderyou just saved (John) and then click on the "run" folder. Then createa new folder and name it "crack" inside the "Run" folder.Here you can use the "Ctrl+Shift+N" key to create the newfolder.

Step2: Copy the password-protectedfile that you want to crack and paste it in the newly created "crack" folder.

copy and paste zip file

Step3: Now, close thefolders opened and then on the screen of your computer open the commandprompt. In the command prompt key in thecommand "cd desktop/john/run" then click "Enter".

run the command

Step 4: In the command prompt type "ZIP2john.execrack/YourFileName.ZIP>crack/Key.txt" then click"Enter" to create a create ZIP file password hashes to be used tocrack your ZIP file password. Remember to replace the phrase"yourfilename" in the command with the actual name for the file youwant to crack.

key txt

Step 5: Using the passwordhash file, crack the ZIP file password by typing in the command "john–format=ZIP crack/key.txt" then click "Enter".The ZIP password will be cracked. You can now use the password to open the ZIPfile.

Cons and Risks of Using CMD line Tools

Despite CMD line tools is a free way to help you unlock the encrypted ZIP file,it as well comes with its fair share of disadvantages. The following are some of the well-analyzed cons of using CMD line line tools:

  • Low Recovery Rate.This method doesn't work for ecvery case. Its password cracking rate is about 20%.

  • Upload File Size Limit. Most online tools subject users to limited file size to be uploaded or even a limited number of files to be converted in a day.

  • Network Connection Needed. Online tools work only when there is a network connection; with no network connection relate to lack of operation with online tools.

Part 2: The Easiest Way to Crack ZIP File Password

Anothergreat way to crack a password-protected ZIP file is to use a safe and reliableZIP password recovery tool. One such tool that is highly rated by many users isthe Passper for ZIP password recovery tool. The Passper for ZIP tool is arobust program that can recover lost passwords for WinZIP/7ZIP/PKZIP files. It is quite easy to use and guarantees thesecurity of your information every time you use it.  The tool is also quite fast making sure thatyou recover your password in a couple of minutes.

  • 4 Powerful Attack Modes: It provides 4 powerful attack mode to ensure the highest recovery rate.

  • Ultrafast Recovery Speed: It used the advanced algorithm and GPU&CPU acceleration to ensure the recovery speedto be fastest among competitors.

  • Save Recovery State. Passper for ZIP will save the recovery state for you, you don't have to recover password from the start.

  • Lightweight: Passper for ZIP software is less 3MB making it lightweight.

To use Passper for ZIP toolfollow these easy steps:

Makesure that your computer has a strong internet connection then head to thePassper for ZIP webpage and then download, install and launch the tool on yourcomputer.

Free Download for Win 10/8.1/8/7/XP

Step 1:Now hit the "Add "buttonto upload thepassword-protected ZIP file that you want to open. Once you have uploaded theright file click to select the attack mode from 4 options provide, then hit the "recover"button on the app to start the process.

select attack mode

Note: To learn more details and differences among 4 attack modes, please check the guide here.

Step 2: The tool will startto crack the password. This can take quite some time depending on thecomplexity of the password that was used to protect the particular file youware working on. Once the process is done a pop-up window will open displayingthe right password for your particular file. Now note the password down and useit to open your ZIP file.

password recovered

Also, you can check the video guide below to learn how to use Passper for ZIP.

Part 3: Crack ZIP File Password Online

If you hesitate to download a ZIP cracking tool, then don't worry there are a lotof options that you can use to crack your zip file securely online without theneed to download an application to do the task. These online tools require youto upload your file to the tool and then download the cracked file. To use anonline tool, follow these steps:

Step 1: Go to Online ZIP Converter using your browser.

online zip converter

Step 2: Click "Choose Files" and browse over the hard drive of your computer to upload the locked archived file.

Step 3: Lastly, click"Start conversion" and the program will automatically start converting password-protected ZIP file. Upon conversion completion, Online ZIP Converter will automatically download the converted ZIP file. You'll be able to open the ZIP file without password.

start conversion

while there are quite a number of free tools online tools you can use to crackyour zip file. Many of the best tools present a security threat especially if you want to unzip a file that contains important private data, as you need to upload your file over the Internet to their servers, this will put your data at risk of being leaked out and hacked. Therefore, for data security, we don't recommend you to try online tools.

Part 4: Comparison Among Crack ZIP Password withCMD, Software and Online Tool

CDM Passper for ZIP Online Tools
Recovery Speed Slow Fastest Medium
Recovery Time A few hours Lessthan 30 minutes A few hours
Security Risks No security risk No security risk Severe security risk
Ease of Use Complicated Very easy to use Complicated
Support all RAR Version Yes Yes No


Havinga password-protected ZIP file increases the security of your sensitiveinformation as no unauthorized person can access the file without your consent.However, in case you forgot the password or someone sent you the file butneglected to send the password, then you won't be able to access the contentsof the ZIP file. If you find yourself in such a situation then there a numberof ways you can use to crack the ZIP file. The three most important waysinclude cracking the file using CDM code, using Passper for ZIP tool or usingan online zip cracking tool.

Free Download for Win 10/8.1/8/7/XP


By Adams Johnson to ZIP

Posted on Aug 13, 2019 ( Updated: Oct 15, 2019 )

Passper editor since 2015, has over 20 years’ professional technology support experience. He has contributed nearly 100 articles to the site on topics that ranger from password unlocking for MS office/Windows, Windows tips to network security.