How to Zip and Encrypt a file on a Mac

You don't need to buy an app to quickly zip and encrypt files on a Mac.


I’d recently seen a few poeple recommending app store apps to handle zipping and encrypting files/directories on a Mac.

Open up a Terminal session and locate the directory you need and run:

zip -er directory-of-files/things.txt

You’ll then be prompted to enter the password and confirm it.