Extracting a file means unpacking a compressed folder so you can use what's inside
When you extract a file, you're taking a compressed archive — a single file that holds multiple files squeezed down to save space — and unpacking it back into its original form. The compressed file itself stays on your computer unless you delete it. What you get after extraction is a folder (or multiple files) that you can actually open and use.
Think of it like a vacuum-sealed storage bag. The bag itself is the compressed file. Extracting is the act of opening that bag and letting the contents expand back to normal size. You now have access to the individual items inside, but the bag is still sitting there if you want to keep it or throw it away.
Key Takeaways
- Extracting unpacks a compressed file so you can access the individual files and folders stored inside it.
- On Windows, right-click a .zip file and choose "Extract All" — on Mac, double-click the .zip file and it extracts automatically.
- The original compressed file remains on your computer after extraction unless you manually delete it.
- If extraction fails or seems stuck, check that you have enough free disk space and that the file isn't corrupted.
- Some file types like .rar or .7z need special software to extract, while .zip works with built-in tools on most computers.
How to extract on Windows
Right-click the compressed file (usually a .zip file) and look for an option that says "Extract All" or sometimes just "Extract". Click it. Windows will open a small window asking where you want the unpacked files to go — by default it suggests a folder with the same name as the compressed file, in the same location. You can change this if you want the files to go somewhere else.
Click "Extract" in that window and Windows unpacks everything. Depending on how many files are inside and how large they are, this might take a few seconds or a few minutes. When it's done, you'll see a new folder (or set of files) in the location you chose. The original .zip file is still there — you can delete it now if you want to free up space, or keep it as a backup.
If you don't see "Extract All" when you right-click, your computer might not recognize the file as a compressed archive. This usually means the file extension is wrong or the file is corrupted. Try renaming it to make sure it ends in .zip, then right-click again.
How to extract on Mac
On a Mac, extracting is even simpler — just double-click the .zip file. The system automatically unpacks it and creates a folder (or files) in the same location. You don't get a dialog asking where to put things; macOS just does it. The original .zip file stays where it was.
If double-clicking doesn't work, the file might be corrupted or not actually a .zip file despite its name. Try right-clicking it and selecting "Open With" and then "Archive Utility" — that's the built-in tool macOS uses for compressed files. If that doesn't work either, the file itself may be damaged and you may need to download it again.
What to do if extraction fails or gets stuck
If you start extracting and nothing happens, or the process seems frozen, first check how much free space you have on your hard drive. Extraction needs enough room to unpack all the files at once. If your drive is nearly full, delete some files you don't need and try again.
If you have plenty of space and extraction still fails, the compressed file itself might be corrupted — especially if you downloaded it and the download was interrupted. Try downloading the file again from the source. If the same file fails to extract on multiple computers, it's almost certainly damaged and the person who created it needs to re-upload it.
On Windows, if you see an error message about a specific file inside the archive, that particular file may be corrupted while the rest are fine. Windows will usually ask if you want to continue extracting the other files — choose yes, and you'll get everything except the damaged one.
Compressed file types and what software you need
.zip files work on Windows and Mac without any extra software — they're built in. But other compressed formats need different tools. A .rar file, for example, requires a program like WinRAR or 7-Zip to extract. A .7z file needs 7-Zip. A .tar.gz file (common on Linux and Mac) usually needs a dedicated tool, though some Mac programs handle it automatically.
If you try to extract a file and your computer says it doesn't recognize the format, look at the file extension (the letters after the dot). Search for "[that extension] extractor" and download the appropriate free tool. Install it, then right-click the compressed file — you should now see an extract option from that new program.
When to delete the compressed file after extracting
After you extract, you have two copies of the same content: the compressed file and the unpacked folder. The compressed file takes up less space, so if you're short on disk room, delete it. If you think you might need to send this file to someone else or move it around, keeping the compressed version makes sense because it's smaller and faster to transfer.
A good rule: if you've extracted the files and you're actively using what's inside, you can safely delete the compressed file. If you're just storing something and might need to move it later, keep the compressed version and delete the unpacked folder instead — you can always extract it again when you need it.
The difference between extracting and opening
Extracting and opening are not the same thing. Extracting unpacks the compressed file so you can see and access what's inside. Opening means running a program or viewing a document. You might extract a .zip file that contains a Word document, then open that Word document to read it. Two separate steps.
Some programs (like certain PDF readers or image viewers) can open files directly from a compressed archive without extracting first — you click the file inside the archive and the program opens it temporarily. But the file itself is still compressed; you haven't actually extracted it. If you want a permanent unpacked copy, you still need to extract.
Frequently Asked Questions
Can I extract a file to an external drive or USB stick?
Yes. When the extraction dialog appears (on Windows), navigate to your external drive or USB stick instead of the default location, then extract. On Mac, you can drag the .zip file to your external drive before double-clicking it, or extract normally and then move the unpacked folder afterward. Make sure the external drive has enough free space for all the unpacked files.
What if the extracted folder is empty or missing files?
This usually means the compressed file is corrupted or the download was incomplete. Try downloading it again. If it's the same result, ask the person who created the file to re-upload it. You can also try opening the compressed file with a different extraction tool — sometimes one tool can recover files that another cannot.
Do I need to extract a file before installing software?
Usually yes. If software comes in a .zip file, extract it first. Inside you'll typically find an installer (a .exe file on Windows or a .dmg file on Mac) — run that to install the program. Some installers can run directly from the compressed file, but extracting first is the safest approach.
Why is my extracted file still showing as compressed?
On Windows, if a folder shows a zipper icon even after extraction, right-click it, select Properties, and look for an "Unblock" button or checkbox. Sometimes Windows marks downloaded files as potentially unsafe. Unblocking removes that flag. On Mac, this rarely happens, but if it does, try extracting again or using a different extraction tool.
Can I extract part of a compressed file instead of everything?
On Windows, open the compressed file in File Explorer (double-click it) and you'll see the files inside. Drag only the ones you want out to a folder on your computer. On Mac, you can do the same — double-click the .zip to see its contents, then drag individual files out. This is faster than extracting everything if the archive is large and you only need a few files.