What is the equivalent of 7-Zip on Mac?

In Windows 10, I often use the 7-zip software to password protect the archive file. Recently, i got a new Mac but found out there is no executable file for macOS. Only windows and linux are supported.


So what is the equivalent of 7-Zip on Mac? Pls suggest a good alternative for encrypting my archive files.


Thank you

MacBook Pro (M2, 2022)

Posted on Jul 18, 2025 2:53 AM

Reply
5 replies

Jul 18, 2025 3:05 AM in response to Xaimary

To encrypt archive files (like zip files) using Terminal on a Mac, you can use the zip command with the -er flags. 


This will create a password-protected zip archive


Use the command zip -er archive_name.zip folder_to_archive/. 


Replace archive_name.zip with your desired archive name and folder_to_archive/ with the path to the folder you want to archive. 


You will then be prompted to enter and verify a password. 




Jul 18, 2025 11:50 AM in response to Xaimary

All storage is encrypted by default on recent Mac gear, even if you have not selected a FileVault password. Which means the default state of the files is already password-protected.


For added encryption for cases such as if your macOS login is at risk, Mac usually uses an encrypted volume.

Create a disk image using Disk Utility on Mac - Apple Support


With a folder of stuff you want to protect, Finder > Applications > Utilities > Disk Utility app, from the menu, select File > New Image > Image from Folder. Select the folder you want to password protect.


Other options include Fast User switching, and a second login.


There are lots of GUI apps around that can encrypt files as mentioned in earlier replies, and it’s entirely feasible to create your own tools to do that using the built-in encryption support. The command-line zip and unzip, as well as the openssl command, or by adding a tool such as age.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What is the equivalent of 7-Zip on Mac?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.