Zip and other archive files on a Mac: open, create and clean them up

Updated

Archives bundle many files into one, which makes them easy to send and easy to forget. After you unzip something, you usually have two copies: the archive and the folder it produced.

Open an archive

Double-click a .zip file and Archive Utility, which is built into macOS, unpacks it into a folder next to the archive. It also handles common formats such as .tar and .gz. Formats like .rar and .7z usually need a separate app, which you can find in the Mac App Store.

To see what is inside a zip without unpacking it, run unzip -l followed by the file's path in Terminal.

Create a zip

  1. Select the files or folder in Finder.
  2. Right-click and choose Compress.
  3. Finder creates Archive.zip for several items, or a zip named after the single item you chose.

To create a password-protected zip, use Terminal: zip -er Archive.zip FolderName asks for a password and encrypts the contents. Share the password separately from the file.

Why zip files from a Mac look odd elsewhere

When someone on Windows opens a zip made on a Mac, they may see an extra folder called __MACOSX and files starting with ._. These hold Mac-specific information such as Finder tags. They are harmless and can be ignored or deleted on the other computer.

Find old archives

  1. Open Downloads in list view and sort by Kind, which groups zip and other archive files together.
  2. For your whole Mac, create a Smart Folder with a Name rule set to ends with .zip, adding other extensions in an Any group if you use them.
  3. Sort by Size to see which archives are worth dealing with first.

When an archive will not open

Which archives you can delete

ArchiveUsual choice
Unpacked, and the folder has everything you needDelete the archive
Downloaded app or font you already installedDelete
Backup or export you made on purposeKeep, ideally on an external drive
Received from someone and not yet openedOpen first, then decide

Before deleting an archive, open the unpacked folder and check a couple of files. Occasionally a download is incomplete and unpacking fails silently or partly.

Archives in FileSift

FileSift's home view has an Archives folder alongside Images, Videos, Music, Documents and Apps, with a live count and total size, so you can see how much space archives take before deciding anything. Open it to browse them as thumbnails, and use the Duplicates scan to find identical archives downloaded more than once. Removals go to the Trash first, after FileSift confirms the count and size.

Common questions

Is it safe to delete a zip file after unzipping it?

Yes, once you have checked the unpacked files open properly.

Why does my zip file unpack into another zip?

Some downloads are compressed twice. Double-click the inner file to unpack it too.

FileSift shows your folders as large thumbnails, searches in plain English and clears duplicates. US$19 once, for macOS 14 or later. See what it does.

Related guides

More in File types, or see all guides.