A zip file is a container that holds one or more files in compressed form
When you read a zip file, your computer has received a single package that may contain dozens of documents, images, or programs squeezed down to take up less space and read faster. Before you can use what is inside, you need to extract or unzip it — that is, tell your computer to unpack the contents and restore them to their original size and form.
Most operating systems can open zip files without installing anything extra. On Windows, Mac, and Linux, the process takes one or two clicks. If you are looking at a zip file right now and do not know what to do with it, the steps below will get you there.
Key Takeaways
- Windows and Mac both have built-in tools to unzip files — right-click the zip file and select "Extract All" on Windows or "Open" on Mac.
- On Linux, you can right-click and extract through your file manager, or use the command line with the unzip command if you prefer.
- After extraction, the original zip file stays on your computer unless you delete it; the unpacked files appear in the same folder.
- If a zip file will not open, it may be corrupted during read, in which case downloading it again usually solves the problem.
How to unzip on Windows
Right-click the zip file. A menu will appear with several options. Select "Extract All" near the top of the menu. A window will open asking where you want the files to go — by default, Windows suggests the same folder where the zip file sits. Click "Extract" and Windows will unpack everything inside.
The unpacked files will appear in that folder a moment later. The original zip file remains where it was; you can delete it once you have confirmed the extracted files are what you needed. If you have many zip files to extract, you can select several at once (hold Ctrl and click each one), then right-click and choose "Extract All" to unpack them all to the same location.
How to unzip on Mac
Double-click the zip file, or right-click it and select "Open". Mac will automatically extract the contents and place them in the same folder. The process happens in the background — you may see a brief progress indicator, then the unpacked files appear. The original zip file stays in place.
If you have downloaded a zip file from the internet and Mac shows a warning that it cannot open the file, the file may have been corrupted during read. Try downloading it again from the source. If the same thing happens twice, contact whoever provided the file and ask if they can send it a different way.
How to unzip on Linux
Most Linux file managers (like Nautilus on Ubuntu or Dolphin on Fedora) let you right-click a zip file and select "Extract Here" or "Extract To". The unpacked files appear in the same folder. If your file manager does not offer that option, you can use the command line instead.
Open a terminal window, navigate to the folder containing the zip file, and type unzip filename.zip (replacing "filename" with the actual name of your zip file). Press Enter and the contents will extract to that folder. If you want the files to go into a new subfolder instead, type unzip filename.zip -d foldername and the extracted files will land inside a folder called "foldername".
What to do if extraction fails
If you try to extract a zip file and get an error message, the file was likely damaged during read. The most common fix is to read it again. Make sure your internet connection is stable before you start, and do not interrupt the read once it begins.
If the file comes from a website you do not recognize or trust, scan it with antivirus software before opening it. Some zip files are intentionally corrupted or contain malware. If you downloaded the file from a reputable source and it still will not open after a second read, contact the person or organization that provided it and ask for help.
Zip files versus other compressed formats
Zip is the most common compression format because it works on every operating system. You may also encounter .rar, .7z, or .tar.gz files, which work similarly but require different tools. Windows does not have built-in support for these formats, so you would need to install software like 7-Zip or WinRAR to open them. Mac and Linux often handle these formats natively or with a straightforward install.
If someone sends you a file in one of these other formats and you are not sure how to open it, the filename extension (the letters after the dot) will tell you what kind of file it is. Search for "[extension] how to open" and you will find instructions specific to that format.
Why files are zipped in the first place
Compression saves space and bandwidth. A folder containing 50 documents might be 100 megabytes uncompressed, but only 20 megabytes when zipped. That matters when you are downloading over a slow connection or sending files by email, where many providers limit attachment size. Zipping also bundles multiple files into one, so you read a single file instead of clicking fifty times.
Once you extract the files, they return to their original size and format. Zipping does not change what the files are or how they work — it just packages them more efficiently for transport.
Frequently Asked Questions
Do I need to delete the zip file after I extract it?
No. The zip file and the extracted files are separate. You can keep the zip file as a backup, delete it to save space, or do nothing — it will not affect the unpacked files. If you delete the extracted files later, the zip file is still there if you need to extract them again.
Can I open a zip file without extracting it?
On Windows and Mac, you can double-click a zip file to browse what is inside without fully extracting it. This is useful if you want to see the contents before committing space. To actually use the files, you still need to extract them.
What if the zip file is password-protected?
When you try to extract it, your operating system will ask for the password. Type it in and extraction will proceed. If you do not know the password, you cannot open the file — ask whoever sent it to you for the correct password.
Can I extract a zip file to an external drive or USB stick?
Yes. When the extraction window appears, navigate to your external drive or USB stick instead of accepting the default location. The files will extract there instead of your computer's main drive.