Unzipping a file means extracting the compressed contents inside it

A zip file is a container that holds one or more files in a compressed format, taking up less storage space. To use what is inside, you need to extract or "unzip" it first. On Windows, Mac, and Linux, this is built into the operating system — you do not need to download anything extra. The steps differ slightly depending on which system you use, but the result is the same: the original files appear in a folder on your computer.

Unzipping is different from opening. When you open a zip file, your computer shows you what is inside without extracting it. When you unzip it, your computer creates new copies of those files in their original, uncompressed form. Those new files are what you actually use.

Key Takeaways

  • On Windows, right-click the zip file and select "Extract All" to unzip it in the same folder.
  • On Mac, double-click the zip file and it unzips automatically; the extracted files appear in the same location.
  • On Linux, use the command line with unzip filename.zip or right-click and select "Extract Here" depending on your desktop environment.
  • After unzipping, you can delete the original zip file if you no longer need it — the extracted files remain on your computer.
  • If unzipping fails, the zip file may be corrupted or incomplete; try downloading it again or checking the source.

How to unzip on Windows

Right-click the zip file. A menu appears with several options. Select "Extract All" near the top of the menu. A dialog box opens asking where you want the files to go. By default, Windows suggests a new folder in the same location as the zip file, named after the zip file itself. You can change this location if you want, but the default choice works fine for most people.

Click the "Extract" button. Windows unzips the file and shows you a progress bar. When it finishes, a new folder opens automatically, showing the files that were inside the zip. The original zip file remains in its original location — unzipping does not delete it.

If you prefer not to use the menu, you can also double-click the zip file to open it in File Explorer. This shows you the contents without extracting them. From there, you can select individual files, right-click, and choose "Extract" to pull out only what you need.

How to unzip on Mac

Double-click the zip file. That is all you need to do. Mac automatically unzips it using the built-in Archive Utility. The extracted files appear in the same folder as the zip file, usually within a few seconds. You will see a progress indicator briefly if the file is large.

If the file does not unzip automatically, open Finder, locate the zip file, right-click it, and select "Open With" followed by "Archive Utility". This forces Mac to unzip it. If Archive Utility is not listed, select "Other" and search for it in the Applications folder.

The original zip file stays where it is after unzipping. If you want to remove it to save space, drag it to the Trash. The extracted files are separate and will remain on your computer.

How to unzip on Linux

The method depends on whether you are using a graphical desktop or the command line. If you use a desktop environment like GNOME or KDE, right-click the zip file and look for "Extract Here" or "Extract To". Click that option and the files unzip into the same folder. Some desktop environments may label this differently — look for words like "Extract", "Unzip", or "Decompress".

If you prefer the command line or if the graphical option is not available, open a terminal and navigate to the folder containing the zip file. Type unzip filename.zip and press Enter, replacing "filename" with the actual name of your zip file. The files extract into the current directory. If you want them in a specific folder, type unzip filename.zip -d /path/to/folder instead.

You can also use the unzip -l filename.zip command to see what is inside a zip file before extracting it. This is useful if you want to check the contents or file names first.

What to do if unzipping fails

If you see an error message when trying to unzip, the file is likely corrupted or incomplete. This usually happens if the download was interrupted or the file was damaged in transit. Try downloading the zip file again from the original source. Make sure the download finishes completely before attempting to unzip.

If the file unzips but some files are missing or show errors, the zip file itself may be damaged. Contact whoever sent you the file and ask them to send it again. If you downloaded it from a website, try downloading it a second time — sometimes a fresh copy works.

On rare occasions, a zip file may be password-protected. If you see a prompt asking for a password and you do not have one, you cannot unzip it without the correct password. Ask the person who created the zip file for the password.

Deleting the zip file after unzipping

Once you have unzipped a file and confirmed that the extracted files are there and work correctly, you can delete the original zip file to free up storage space. The extracted files are completely separate and will not be affected. On Windows and Mac, drag the zip file to the Trash or Recycle Bin. On Linux, use the command rm filename.zip in the terminal or delete it through your file manager.

If you think you might need the zip file again later — for example, if you want to send it to someone else — keep it. Zip files are useful for sharing multiple files at once or for storing files you do not use often. There is no harm in keeping both the zip file and the extracted files on your computer.

Frequently Asked Questions

Can I unzip a file directly to a USB drive or external hard drive?

Yes. When the unzip dialog or menu appears, navigate to your USB drive or external drive instead of the default location. The files will extract there instead of your computer's main storage. This works the same way on Windows, Mac, and Linux.

What if the zip file contains a folder with many subfolders inside?

Unzipping preserves the folder structure. If the zip contains a folder called "Project" with subfolders inside, unzipping creates that entire structure. All the subfolders and files appear exactly as they were organized in the zip.

Can I unzip only some files from a zip instead of everything?

Yes. On Windows, open the zip file in File Explorer, select only the files you want, right-click, and choose "Extract". On Mac and Linux, most file managers let you drag individual files out of the zip file to extract just those ones.

Does unzipping a file take a long time?

Usually no — most zip files unzip in a few seconds. Very large files with thousands of items may take longer, but you will see a progress indicator. If unzipping seems stuck for more than a few minutes, cancel it and try downloading the zip file again.

What is the difference between a zip file and other compressed formats like RAR or 7z?

Zip is the most common format and works on all operating systems without extra software. RAR and 7z are other compressed formats that sometimes offer better compression, but they require special software to unzip. For most everyday use, zip files are the standard.