How to open a ZIP file on any device
On Windows, right-click the file and choose Extract All. On macOS, double-click it. On iPhone and Android, tap it in the Files app and the system unpacks it. A browser tool works on any of them and lists the contents before you extract. A password-protected ZIP needs its password; no tool can open it without one.
Opening a ZIP is called extracting or unzipping, and it means copying the files back out of the container into a normal folder. Every current phone and computer can do it without installing anything. The confusion is almost always about where the files went afterwards, or about an archive that refuses to cooperate.
The four platforms
Windows 10 and 11
- Right-click the .zip file and choose Extract All.
- Windows suggests a folder next to the archive with the same name. Accept it or pick another.
- Tick Show extracted files when complete so you land in the right place, then click Extract.
Double-clicking a ZIP in Windows opens a preview that looks exactly like a normal folder, and this is where most people go wrong. You can browse it, but the files are still inside the archive. Running an installer or editing a document from that preview often fails with a strange permissions error, and any edits you save are thrown away. Always extract first, then work with the real files.
macOS
Double-click the archive. Archive Utility unpacks it into a folder beside it, with the same name, and there is no dialogue and no progress window for small archives. If you cannot find the result, look in the same folder as the .zip, or in Downloads if you opened it straight from a browser.
iPhone and iPad
Save the attachment to the Files app first, then tap it once. iOS unpacks it into a folder in the same location, which you can then open normally. Tapping a ZIP directly inside Mail sometimes shows a preview of the contents rather than extracting anything, so if you need the files to stick around, go through Files.
Android
Open the Files app, find the archive in Downloads, tap it, then tap Extract. You are shown a preview of the contents and where they will be saved. Some manufacturer file managers label the button Unzip or Decompress instead, but the flow is the same.
Extracting in the browser, and why you might

- Open the extractorGo to extract ZIP and drop the archive in. It is unpacked inside your browser tab. The archive is never uploaded, nothing is stored, and there is no limit on how many you open.
- Read the contents listYou get every file name, its size and its folder, before anything is written to your disk. This is the fastest way to check whether an archive holds what you expect.
- Pick what you needTake one file out of a hundred if that is all you want, instead of extracting the whole thing and then deleting the rest.
- DownloadSelected files come out as normal files. Your original .zip is untouched, so you can go back for the rest later.
Open a ZIP and pull out just the files you want, without uploading the archive anywhere.
Extract ZIP →This route is genuinely useful in three situations: on a locked-down work computer where you cannot install archive software, on a phone whose file manager will not let you peek inside before extracting, and any time the archive is private. People zip tax returns, medical letters, contracts and family photographs, and the usual online unzipping services upload the whole archive to a server to open it. A browser tool does not, which is the entire point. Are online file tools safe sets out how to tell the difference for yourself.
Password-protected archives
If a ZIP asks for a password, you need the password. That is the whole answer. The contents are encrypted, and no tool, service or setting recovers them without the key. Anything advertising itself as a ZIP password remover is either running a slow guessing attack that only works on trivially short passwords, or it is not doing what it claims.
- Ask the sender. Passwords are frequently sent in a separate message, a text, or on the covering letter of whatever the archive relates to.
- Check for a typo. ZIP passwords are case-sensitive, and a trailing space copied along with the password is a classic failure.
- Note which kind of protection it is. Some archives let you see the file names without the password and only encrypt the contents; others hide even the list. Seeing the names does not mean you are close to opening them.
- If you set the password and forgot it, the files are gone unless you have another copy. This is not a case where persistence pays off.
When the archive will not open
| What you see | Usual cause | What to do |
|---|---|---|
| "The compressed folder is invalid" | The download was cut short | Compare the file size against what the sender says it should be, then download again |
Unpacks to a .cpgz file on macOS, endlessly | Archive Utility could not read it, often a truncated or non-ZIP file | Try the command line or a browser tool, which give a real error instead of looping |
| Opens but some files fail | Damage part-way through the archive | Extract the files that do work. A ZIP stores each item separately, so a bad patch does not always ruin everything |
| Windows says the file is in use | Antivirus is still scanning it | Wait a moment and retry, or extract it from a different folder |
It is a .rar or .7z, not a .zip | A different archive format entirely | These need their own software, such as 7-Zip on Windows or The Unarchiver on macOS |
A ZIP puts its index at the end of the file, which is why a partial download so often fails outright. The first 90 percent of the data may be perfectly fine, but without the index nothing knows where anything starts. It also means a file that fails at 99 percent downloaded is no more useful than one that failed at 10 percent.
Before you extract something a stranger sent
ZIP attachments are a long-standing way of getting past mail filters, because the scanner cannot see inside as easily. Listing the contents before extracting costs nothing and tells you a lot. Treat these as reasons to stop: a .exe, .scr, .js, .bat or .msi file inside an archive you were not expecting; a file called something like Invoice.pdf.exe, where the real extension is the last one; or a single document whose name matches an email you never sent.
If the archive turns out to hold scanned pages or photographs, the next step is usually to make them into something readable. Combine the images into one PDF, or if the scans are pictures of text, run them through OCR so you can search them. And if you need to send a set of files back the other way, making a ZIP is the same job in reverse.
Frequently asked questions
How do I open a ZIP file on Windows?
Right-click it and choose Extract All, then pick a destination folder. Double-clicking only previews the contents: files opened from that preview are still inside the archive, and changes you save to them are discarded.
How do I open a ZIP file on an iPhone?
Save it to the Files app, then tap it once. iOS unpacks it into a folder in the same place. Tapping the attachment directly in Mail may only show a preview without saving anything.
Can I open a password-protected ZIP without the password?
No. The contents are encrypted and there is no way around it. Ask whoever sent the archive for the password. Tools that claim to remove ZIP passwords are guessing, and that only works on very short ones.
Why does my ZIP turn into a .cpgz file on a Mac?
Archive Utility could not read the archive, usually because the download was incomplete or the file is not really a ZIP. Download it again, or open it with a tool that reports a real error rather than looping.
Does opening a ZIP file delete the original archive?
No. Extracting copies the contents out and leaves the .zip exactly where it was, so you can go back for other files later. Delete the archive yourself once you are sure you have everything.