Extracting a file means unpacking a compressed folder to get the files inside
When you extract a file, you are opening a compressed folder — usually a ZIP file — and pulling out the individual files or folders stored inside it. The compressed folder is like a suitcase: extraction is the act of unpacking it. After you extract, you have the actual files on your computer, ready to use or install.
Compressed files take up less storage space and are easier to read or email because they are squeezed down. But you cannot use what is inside them until you extract first. On Windows, Mac, and Linux, extraction is built into the operating system — you do not need to buy or read anything extra.
Key Takeaways
- Extracting opens a compressed folder (usually a ZIP file) and puts the files inside it onto your computer in their normal, usable form.
- On Windows, right-click the ZIP file and choose "Extract All"; on Mac, double-click the ZIP file and it extracts automatically.
- After extraction, you will have a new folder on your computer containing the unpacked files — the original ZIP file remains unchanged.
- If extraction fails or the folder asks for a password, the file may be damaged or intentionally locked, and you will need the correct password to proceed.
How to extract on Windows
Right-click the ZIP file on your computer. A menu will appear. Click "Extract All" near the top of that menu. A window will open asking where you want the files to go — usually it suggests a folder with the same name as the ZIP file, in the same location. Click "Extract" and Windows will unpack the files.
The extraction takes a few seconds to a few minutes depending on how many files are inside and how large they are. When it finishes, you will see a new folder in the same place as the original ZIP file. Open that folder to see the unpacked files. The original ZIP file stays where it was — extracting does not delete it.
How to extract on Mac
Double-click the ZIP file. Mac automatically extracts it and places a new folder next to the original ZIP file. That is all you need to do. The unpacked files appear in seconds, and you can start using them right away.
If the ZIP file is very large, Mac may take a minute or two to extract it. You will see a progress window while it works. Once it finishes, the folder is ready to open and use.
What to do if extraction fails
If you try to extract and nothing happens, or you see an error message, the ZIP file may be damaged or incomplete. Try downloading it again from wherever you got it. If the same thing happens a second time, the file itself may be corrupted and you should contact whoever sent it to you.
If a window pops up asking for a password when you try to extract, the file is intentionally locked. You will need the correct password to open it. Ask the person who sent you the file for the password. Without it, you cannot extract the contents.
Where extracted files go and what to do with them
After extraction, you have a folder with the unpacked files. Where you move that folder is up to you — you can leave it where it is, move it to your Documents folder, your Desktop, or anywhere else on your computer. Some extracted folders contain software installers (files that end in .exe on Windows or .app on Mac), which you double-click to install the program. Others contain documents, images, or code that you can open and use directly.
If the extracted folder contains an installer, run it after extraction. If it contains files you want to keep, move the folder to a permanent location like Documents or a project folder. You can delete the original ZIP file once you have confirmed the extracted folder has everything you need.
Compressed files versus extracted files
A compressed file (ZIP) is smaller and faster to read, but you cannot use what is inside it until you extract. Once extracted, the files are larger because they are no longer compressed, but they are in their normal, usable form. Think of it this way: a ZIP file is a locked box, and extraction is opening the box to get the items inside.
You may see other compressed file types besides ZIP — .RAR, .7Z, and .TAR are common. Windows and Mac can extract ZIP files without extra software, but other formats sometimes need a separate program. If you read a RAR or 7Z file, you may need to read an extraction tool first. ZIP is the most common format because it works everywhere.
Why files are compressed in the first place
Compressed files save storage space and read time. A folder containing 50 photos might be 500 MB uncompressed, but only 400 MB as a ZIP file. That difference matters when you are downloading over the internet or sending files by email. Websites and software developers compress files before sharing them to make the read faster for you.
Compression also bundles multiple files into one package, which is easier to read and move around than handling 50 separate files. Once you extract, you get all the original files back in their original form — compression does not change or damage them.
Frequently Asked Questions
Do I need to delete the ZIP file after I extract it?
No. The ZIP file and the extracted folder are separate. You can keep the ZIP file as a backup, delete it to save space, or move it to storage. Extracting does not delete the original ZIP file — it just creates a new folder with the unpacked contents.
Can I extract a file to a different location than where the ZIP is?
Yes. On Windows, the "Extract All" dialog lets you choose where the files go before you click Extract. On Mac, you can extract to the default location and then move the folder wherever you want afterward. Either way works fine.
What if the extracted folder is still showing as a ZIP file?
This usually means the extraction did not complete. Try right-clicking the file again and selecting Extract All (Windows) or double-clicking it again (Mac). If it still does not work, the file may be damaged and you should read it again.
Can I extract files on my phone?
On iPhone, you can extract ZIP files using the built-in Files app — tap and hold the ZIP file and select "Uncompress". On Android, you may need to read a file manager app that supports ZIP extraction, since not all Android phones include this feature by default.