Unzipping a file means extracting the files inside it back to their original form
A zip file is a container that holds one or more files in compressed form. To use what is inside, you need to unpack it — a process called extracting or unzipping. On Windows, Mac, and Linux, this is built into the operating system and takes just a few clicks. You do not need to buy or download anything.
The steps differ slightly by operating system, but the result is the same: the files come out of the zip and appear as regular files and folders on your computer, ready to open or use.
Key Takeaways
- Windows and Mac both have built-in unzip tools — right-click the zip file and select extract or uncompress from the menu.
- On Windows, extracted files appear in a new folder with the same name as the zip file, in the same location.
- On Mac, double-clicking a zip file automatically extracts it without any extra steps.
- Linux users can right-click and extract through the file manager, or use the command line with the unzip command.
- If a zip file is damaged or password-protected, standard tools may not work — third-party programs like 7-Zip or WinRAR can sometimes help.
How to unzip on Windows
Right-click the zip file and look for an option that says "Extract All" or "Extract Here". Click it. Windows will create a new folder in the same location, with the same name as the zip file, and place the unpacked files inside.
If you do not see "Extract All" in the menu, your system may be set to open zip files with a different program. In that case, look for "Open with" or "Send to", then choose "Compressed (zipped) Folder" or "Windows Explorer". If that option does not appear, go to Settings > Apps > Default Apps, search for zip, and make sure Windows is set as the default handler.
You can also double-click the zip file to open it as a folder. Inside, you will see all the files. Drag and drop them to wherever you want them to go, or select all (Ctrl+A) and copy them to a new location.
How to unzip on Mac
Double-click the zip file. That is all. The Archive Utility (built into macOS) automatically extracts it and places the unpacked files in the same folder as the zip file. No dialog box appears — it just happens in the background.
If you prefer a menu option, right-click the zip file and select "Open With" > "Archive Utility". The result is the same.
If the zip file does not unzip automatically, check System Preferences > General and make sure "Open safe files after downloading" is turned on. This setting affects how your Mac handles downloaded files.
How to unzip on Linux
Most Linux file managers (like Nautilus on Ubuntu, Dolphin on Fedora, or Thunar on Xfce) let you right-click a zip file and choose "Extract" or "Extract Here". The unpacked files appear in the same folder or in a new subfolder, depending on your file manager.
If you prefer the command line, open a terminal, navigate to the folder containing the zip file, and type unzip filename.zip (replace "filename" with the actual name). The files extract to the current directory. To extract to a specific folder, type unzip filename.zip -d /path/to/folder.
If the unzip command is not found, your system may not have the unzip utility installed. On Ubuntu or Debian, run sudo apt install unzip. On Fedora or RHEL, run sudo dnf install unzip.
What to do if the zip file will not open
A zip file that will not unzip is usually damaged, incomplete, or password-protected. If it is password-protected and you do not know the password, you cannot open it with standard tools.
If the file is damaged or incomplete, try downloading it again. Incomplete downloads often fail to unzip. If you downloaded it from the internet and it still will not work, contact whoever sent it to you and ask for a fresh copy.
If the built-in tools do not work, third-party programs like 7-Zip (Windows and Linux), WinRAR (Windows), or The Unarchiver (Mac) can sometimes handle damaged or unusual zip files. These are not required for normal use, but they may help in difficult cases.
Nested folders and large zip files
If a zip file contains folders inside folders, the entire structure unpacks as-is. You will see the same folder layout on your computer as was inside the zip. This is normal and intentional — it preserves how the files were organized.
Large zip files take longer to extract, especially on older computers or slower storage drives. If extraction seems to hang, wait a few minutes before assuming something went wrong. You can usually see a progress bar or status message showing how far along the process is.
Frequently Asked Questions
Do I need to delete the zip file after unpacking it?
No. The zip file and the unpacked files are separate. You can delete the zip file once you have confirmed the extracted files are what you need, but you do not have to. Keeping the zip saves space if you need to send the files to someone else later.
Can I unzip a file to a different location than where it is stored?
Yes. On Windows, right-click and choose "Extract All", then select a different folder in the dialog that appears. On Mac, extract the zip first, then move the unpacked files wherever you want. On Linux, use the command line with the -d flag to specify a destination folder.
What if the zip file contains a file with the same name as something already on my computer?
Your operating system will ask what you want to do — usually offering options to replace the existing file, keep both, or skip it. Choose based on whether you want the new version or the old one.
Can I unzip part of a zip file without extracting everything?
On Windows and Mac, you can open the zip as a folder and drag out only the files you need. On Linux, use the command line with unzip filename.zip specific_file.txt to extract only certain files.
Why does my extracted folder have a different name than the zip file?
Some zip files are created with an internal folder name that differs from the zip filename itself. This is normal. The folder name comes from how the zip was created, not from the zip filename.