Let’s be clear: your Mac does not have a built-in, simple approach to set a password for the ZIP archive. You may both should fiddle with Terminal (which is free) or use a third-party app (which is quick however can price some cash). So, let us take a look at the very best instruments and learn to password-protect a ZIP file.

How you can create a ZIP file on a Mac

Let’s begin with the fundamentals. Your Mac can create and extract ZIP archives by default. Here is how one can zip recordsdata.

  • For a single file or folder. Proper-click the file you need to zip and select Compress from the drop-down menu. As a substitute of right-clicking, you may press the Management key and click on to open the drop-down menu.
  • For a number of recordsdata or folders. Choose the required recordsdata with the mouse or click on them one after the other whereas holding down the Command key. Then right-click to open the drop-down menu and choose Compress. All chosen recordsdata might be compressed right into a single archive.

And there you could have it!

3 methods to password-protect ZIP on Mac

Let’s transfer on to a harder process and learn to password-protect ZIP recordsdata.

How you can password-protect a ZIP file with Terminal

The one native approach to password-protect an archive on a Mac is thru the Terminal.

  1. Open Terminal in your Mac.
  2. Sort in cd and the placement of the file or folder you need to compress and defend. In our case, it is the Desktop, however your file could possibly be anyplace else: Downloads, Purposes, and many others.
  3. Sort this command into Terminal: zip -e -r YourZipFileName.zip TheFileOrFolderYouWantToZip
    • YourZipFileName.zip is the identify of the file you need to obtain. In our case, it’s Setapp_protected.zip.
    • TheFileOrFolderYouWantToZip is the identify of the ZIP file you need to password-protect.

  4. Sort the password in your archive, verify it, and press Enter. While you kind the password, no characters are displayed – that is regular.
  5. Look forward to the method to complete. You may discover the brand new ZIP in the identical folder as the unique file.

terminal password protecting zip file

You are accomplished! Keep in mind your password as a result of there is no “forgot password” possibility right here. This methodology has the suitable to reside if it is advisable encrypt one or two archives. However you probably have a variety of recordsdata and defending them is your routine, there are higher methods to go than the Terminal.

Create encrypted archives on a Mac in seconds

In the case of third-party archive safety instruments, Archiver might be the quickest and the best.

Here is how one can password-protect a ZIP file on a Mac utilizing Archiver:

  1. Obtain and open Archiver.
  2. Drag the folder or file you need to zip into the app window.
  3. Click on Archive.
  4. Choose the compression format and compression stage.
  5. Verify the Encrypt field and create and make sure a password.
  6. Click on Archive once more.

archiver setting password on zip file



You’ll want to memorize your password or retailer it in a protected place. You may should kind it every time you open the archive, even if you happen to work on the identical laptop you used for encryption.

The best approach to defend ZIP recordsdata in your Mac with BetterZip

In the event you want a extra superior instrument for frequent work with archives, then BetterZip is your best option. First, it is easy: drag and drop, and the file is archived and password-protected. Second, it’s safe. It mechanically protects your recordsdata and folders with AES-256 encryption (additionally known as “military-grade safety”) and has a password generator for creating and managing sturdy passwords for recordsdata or folders.

You may have to configure just a few settings first, however after that, zipping, encrypting, and opening archives will all the time be a breeze.

Step 1. After downloading and opening BetterZip, click on BetterZip > Settings > Passwords within the high menu. Arrange the Grasp Password within the decrease left nook. It will help you customise your passwords additional.

betterzip setting master password

Step 2. Set the password for future archives.

  1. Within the Settings, go to the Presets part.
  2. Change to the Save tab and choose Clear and Zip.
  3. Choose the encryption Technique. We advocate that you just select Robust (AES-256).
  4. Click on the Set button subsequent to the Password line and set a password. You may enter it manually or generate it by clicking the important thing icon. Keep in mind the password. BetterZip will apply it to all subsequent ZIP recordsdata you create till you set a brand new one.
  5. Shut the Settings.

betterzip setting passwords for zip files

Now, the app is able to use. To password-protect ZIP on Mac, drag the file or folder into the BetterZip window and click on Save. The brand new protected archive will seem subsequent to the unique file or folder.

Each you and the individual you share the archive with should enter a password to open it. However what if you happen to do not need to kind passwords each time, however you additionally do not need to unprotect your ZIP file? There’s a resolution.

Return to Settings > Passwords and examine the field “Add all entered passwords to this listing.” From the drop-down menu, select what the password supervisor ought to do. We advocate deciding on the Robotically attempt passwords apart from RAR archives possibility.

Now, you needn’t kind something. BetterZip will mechanically select the password from the saved ones once you open the archive. Nonetheless, unauthorized folks will nonetheless have to kind within the password.

How you can open a password-protected file on a Mac

The best approach to open an encrypted ZIP is to double-click it and enter the password. Archive Utility (a local Mac instrument) will open and unpack your file.

The opposite means is to make use of the Terminal.

  1. Open Terminal in your Mac
  2. Use the cd command to alter directories to the place your ZIP file is positioned. For instance, if it is in your Desktop, you’d use cd desktop.
  3. Sort the next command, changing YourZipFileName.zip with the identify of your ZIP file: unzip YourZipFileName.zip
  4. Sort within the password for the ZIP file and press Enter. Notice that any characters will not present on the display; that is regular for password prompts in Terminal.
  5. Look forward to the method to complete. Your recordsdata might be extracted to the present listing.

terminal unzipping protected archive

The drawback of the Mac’s native instruments is that opening them equals unpacking them. When you open the archive, a folder containing the unzipped recordsdata is created in your Mac. You will not be capable to preview or edit the recordsdata contained in the ZIP. 

If you wish to handle the recordsdata contained in the archive, extract particular person recordsdata with out unzipping them, and many others., you will want third-party apps. We advocate BetterZip to open encrypted ZIPs. Here is the way it works:

  1. Open BetterZip in your Mac.
  2. Drag and drop the zipped file you need to view or edit (or discover it within the left menu in BetterZip).
  3. In the event you’re viewing recordsdata, double-click the file within the compressed folder to view
  4. If you’re making edits, like altering the filename, make any edits you want.
  5. If edits have been made, choose “Save” on the high left of the BetterZip window to re-save the compressed file or folder.

betterzip editing files without unzipping

So long as you employ BetterZip, you may carry out many capabilities with out disturbing the compression.

Open any ZIP with a password on Mac in a breeze

Sadly, the Mac’s built-in instruments do not present a straightforward approach to set and take away a password from the ZIP archive. You need to use the Terminal to encrypt and decrypt the archive. However the course of is tedious, so it is unsuitable for normal duties. Archive Utility (the native Mac app) solely means that you can take away passwords, not set them.

In the event you work with password-protected archives recurrently, use the third-party apps BetterZip and Archiver. They defend recordsdata securely and help you edit them contained in the archive, retrieve particular person recordsdata with out unzipping your complete archive, and so forth.

Each BetterZip and Archiver are free throughout a seven-day trial of Setapp, a prolific suite of productiveness apps for the Mac. Along with these two nice instruments, you will acquire limitless entry to your complete Setapp catalog of almost 200 wonderful Mac apps. 

FAQ

How do I password-protect a ZIP folder?

Use the Terminal to password-protect the archive on a Mac. Open Terminal, navigate to your folder’s location with cd, then run zip -er YourZipName.zip FolderName. Enter and confirm your password when prompted.

For a extra simple course of, higher safety, and extra comfort, use the BetterZip and Archiver apps.

Why will not my protected ZIP file open?

In case your password-protected ZIP file will not open, it is perhaps as a result of an incorrect password, unsupported encryption by the Archive Utility on Mac, a corrupted ZIP file, outdated or incompatible unzipping software program, or inadequate file permissions. Attempt utilizing a special app like  BetterZip or Archiver, examine for software program updates, or guarantee you could have the proper file permissions.

Why cannot I password-protect a ZIP file on a Mac?

The built-in Archive Utility doesn’t supply an possibility so as to add a password immediately. As a substitute, it is advisable use the Terminal and the zip command. For a extra simple course of and extra comfort, use BetterZip or Archiver.

Von admin

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert