Back to how-to guides

How To Unzip Files On Mac OSX

Unzipping can be called the reverse process of zipping a file. In this guide, you will learn about different ways to decompress zip files on Mac OS X.

How to unzip files on Mac OS X

Here is the guide to unzip a zip file using utility provided by MAC operating system. The steps are pretty simple.

  1. Locate the zip file which you want to decompress/unzip.
  2. Double click on it.
  3. A folder will be created in the your current working directory and it will be loaded with all the files present in the zip file.

Note: If the zip contains multiple fils, the name of folder created after decompressing the zip will be same as the name of the zip, if there is a folder already existed there, respective number is appended with the name of the folder.

But there is a little problem with this numbering system. For example, if you have folders named archive1 and archive2, and you delete both of them. Then the unzipping will start creating folder from archive 3.

On the other hand, if you have a single file in the zip, it will be extracted and named as same as zip.

How to unzip using WinZip in Mac OS X

If you don’t want to work with zip files through mac OS X built in utility, you have to download WinZip application and install it. Download link is given below.

https://www.winzip.com/mac/en/zip-for-mac.html

  1. Open WinZip.
  2. Click on unzip button.
  3. From the drop down list, choose unzip this zip file to your mac, iCloud drive, Google Drive or Dropbox.
  4. Now, select the contents of zip file you want to unzip. You can also use Finder to view contents of zip file.

Unzip with WinZip using context menu

This is somehow easier and shorter method than to launch the application and do the things.

Choose all zip files by pressing CTRL + A, or choose some of them by pressing CTRL + Right click and click on services from the context menu.

Click on Unzip. Your zip file contents will be extracted in the present working directory.

Unzip using Command Prompt in Mac OS X

If you want to unzip like a pro, use command prompt to do your task.

  1. Open command prompt.

You can find it in utility folder within the applications folder. Within the finder, you can also use search bar on the top right of the screen to search for terminal.

  1. Move the zip file to desktop.
  2. Change directory to desktop by typing CD Desktop
  3. Now type command unzip filename.zip.

Don’t forget to put file extension with the name of the file.

  1. Your zip file will be extracted to your desktop.

Note that if the zip file is password protected, it will not be unzipped using above command.

To unzip password protected zip file in mac OS x terminal, use following command.

Unzip -p password filename.zip

Put -p followed by the password and filename