Dropbay

How to create a ZIP file on a Mac

To create a ZIP file on a Mac, select the files or folder in Finder, Control-click and choose Compress. Finder makes a .zip file in the same folder: one item becomes "name.zip", and several items become "Archive.zip". To open a ZIP, double-click it and macOS expands it next to the archive.

Last checked: October 2026 on macOS 26 Tahoe.

Compress in Finder

  1. Select the files or folder. Command-click to pick several items in the same folder.
  2. Control-click one of them and choose Compress. With several items selected, the menu shows Compress followed by the number of items.
  3. The ZIP appears in the same folder. Click its name and press Return to rename it.

The originals stay where they are. Compressing several items puts them at the top level of Archive.zip; compressing a folder keeps the folder inside the ZIP.

Make a ZIP with a password

Finder cannot add a password. In Terminal, go to the folder with cd and use zip with -e, which asks for a password twice:

cd ~/Desktop
zip -er Project.zip "Project folder"

-r includes everything inside the folder. ZIP's standard encryption is weak; for sensitive files, an encrypted disk image made in Disk Utility (File › New Image › Image from Folder) is stronger.

ZIP files for Windows users

ZIPs made with Finder can contain a __MACOSX folder and .DS_Store files that Mac users never see but Windows users do. To leave them out, use Terminal:

zip -r Project.zip "Project folder" -x "*.DS_Store" -x "__MACOSX/*"

Open a ZIP

Double-click the .zip file. Archive Utility expands it into a folder or file next to the archive. The ZIP file stays, so you can delete it once you have the contents.

Files from different folders

Compress works on a selection from one folder. To zip files from several folders, copy them into one new folder first (or use a search or tag to list them together), then compress that folder.

With Dropbay

Dropbay's Make ZIP action zips everything on a shelf, wherever the files came from. Drop files and folders on a shelf from as many places as you like, then choose Make ZIP. It makes a standard ZIP with macOS's own ditto tool, with the items at the top level as Finder's Compress does, and saves it next to the first file by default, or on the shelf or in a folder you choose. Drag the ZIP straight from the shelf into an email or upload field, or share it with AirDrop.

Make ZIP is part of Dropbay Pro: included in the 14-day trial, then $5.99 once on up to 3 Macs. The shelf itself stays free. macOS 14 or later.

Questions

How do I rename Archive.zip?

Click the file, press Return, type the new name and press Return again. Keep the .zip ending.

Can I add a file to an existing ZIP on a Mac?

Not in Finder. Expand the ZIP, add the file to the folder and compress it again, or use zip in Terminal: zip Project.zip newfile.pdf adds a file to Project.zip.

Why is my ZIP not much smaller than the files?

Photos, videos, PDFs and most app documents are already compressed, so zipping them saves little space. ZIP still helps by putting many files into one.

Related guides

All Dropbay guides · Dropbay home