Software & Apps
How to Open and Extract a ZIP or RAR File
Written by Free Tech Support Editorial Team · Updated
Compressed archives bundle many files into one smaller download, which is why software, photo collections and school or work files often arrive as ZIP or RAR files. Learning how to open a ZIP file on Windows takes seconds, and you do not need to buy anything. This guide covers ZIP, RAR and 7z files on Windows 11, Mac, iPhone and Android, plus what to do when an archive will not open and how to stay safe with ZIP attachments.
This is an independent guide, not affiliated with Microsoft, Apple or any compression software maker.
Open a ZIP file on Windows
ZIP support is built into Windows 10 and 11.
- Look inside: double-click the ZIP. It opens like a folder and you can see the files.
- Extract everything: right-click the ZIP and choose Extract All. Choose a destination (by default, a new folder next to the ZIP) and select Extract.
- Extract a few files: open the ZIP, then drag the files you need to another folder or the desktop.
Always extract before working with files inside. Opening a document directly from inside a ZIP opens a read-only temporary copy, and your changes may disappear. Programs inside a ZIP must also be extracted before they will install properly.
Open RAR, 7z and other archives
Current versions of Windows 11 can extract many other formats in File Explorer, including RAR, 7z, TAR and GZ. Right-click the file and choose Extract All, just as for a ZIP.
If that option is missing (for example on Windows 10), or an unusual archive fails, use 7-Zip:
- Download it from 7-zip.org, the official site. Choose the 64-bit Windows version for most PCs.
- Install it.
- Right-click the archive and choose 7-Zip > Extract Here or Extract to “folder name”. In Windows 11 you may need Show more options first.
Download 7-Zip only from its official site; search ads for “free RAR opener” sometimes lead to bundled adware. If that has happened, see remove a hijacked search engine.
Unzip files on a Mac
Double-click a ZIP file and Archive Utility extracts it into the same folder. For RAR and 7z files, macOS does not include a tool; install a reputable free unarchiver from the Mac App Store.
Unzip on iPhone or Android
- iPhone and iPad: save the ZIP to the Files app, then tap it. A folder with the contents appears next to it.
- Android: open Files by Google (or your phone’s file manager), tap the ZIP and choose Extract.
Make a ZIP file
- Windows 11: select the files or folder, right-click and choose Compress to > ZIP File (on some versions, Compress to ZIP file). Rename the new ZIP if you like.
- Mac: select the files, Control-click and choose Compress.
ZIPs are handy for emailing several files at once, but many email services block attachments over a certain size. For large collections, share a cloud link instead.
When an archive will not open
- “Windows cannot open the folder. The compressed (zipped) folder is invalid”: the download is incomplete or damaged. Delete it and download again, ideally with a stable connection. If it came by email, ask the sender to resend it.
- “Unexpected end of archive”: same cause; re-download.
- Multi-part archives (file.part1.rar, file.part2.rar or .001, .002): download every part into the same folder, then extract the first one only.
- Files extract but programs will not run: right-click the original ZIP, choose Properties, and if you see This file came from another computer, tick Unblock only if you trust the source. Then extract again. See downloads not working or blocked for other download issues.
Where did my extracted files go?
By default, Extract All creates a new folder with the same name as the archive, in the same place as the archive, usually your Downloads folder. Tick Show extracted files when complete in the Extract All window so File Explorer opens the folder for you. If you cannot find the files, search File Explorer for the archive’s name, or sort your Downloads folder by Date modified.
Very large archives
Big archives, such as game files or years of photos, can take a long time to extract and need free space for both the archive and the extracted files. Before you start, make sure the drive has at least twice the archive’s size free; see free up disk space. Extract to the internal drive rather than a slow USB stick, then move the folder afterwards if you need to. Once you have checked the extracted files, you can delete the archive to recover the space.
Password-protected archives
When an archive is encrypted, you will be asked for a password while extracting. Only the person or organisation that created it can give you the password; there is no legitimate way around it.
Stay safe with ZIP attachments
Criminals often hide malware in ZIP files because email filters cannot always see inside them. Be very cautious when:
- The ZIP arrives unexpectedly, especially as an “invoice”, “delivery notice” or “voicemail”.
- The email includes a password for the ZIP, which is a trick to stop scanners checking it.
- The ZIP contains files ending in .exe, .js, .vbs, .lnk, .iso or .html that you did not expect.
If in doubt, delete it and contact the sender another way. Our guide to recognising phishing emails has more warning signs, and if you already opened something suspicious, follow remove malware for free with Windows Security.
Working with documents inside the archive? See how to open, edit and convert a PDF for free. Browse more in the software section.
Frequently asked questions
How do I open a ZIP file without WinZip?
You do not need WinZip. On Windows, double-click the ZIP to view it, or right-click it and choose Extract All. On a Mac, double-click it. Phones can unzip with the Files app.
Can Windows 11 open RAR files?
Yes, current versions of Windows 11 can extract RAR files in File Explorer: right-click the file and choose Extract All. On Windows 10, or if it does not work, install the free 7-Zip from 7-zip.org.
Why does Windows say the compressed folder is invalid?
The download was probably incomplete or corrupted, or the file is not really a ZIP. Download it again from the original source; if it came by email, ask the sender to resend it.
How do I make a ZIP file?
Select the files in File Explorer, right-click and choose Compress to ZIP file (in Windows 11 it may be under Compress to). On a Mac, select the files, Control-click and choose Compress.
Is it safe to open a ZIP file from an email?
Only if you were expecting it from someone you know. Unexpected ZIP attachments, particularly password-protected ones with the password in the email, are a common malware trick.
Sources
Free Tech Support Editorial Team
Editorial team
The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.