How to Unzip a File, and What Each ZIP Error Message Means
Every current computer and phone opens a plain ZIP on its own: double-click it on a Mac, choose Extract All on Windows, or tap it in the Files app on a phone. When that fails, the message almost always points to one of six causes, from a cut-off download to a compression method your built-in tool cannot read, and each one has a short fix.
By Tobias Mwangi · Web and mobile workflows editor
Published Last reviewed 11 min read
On this page
How do I unzip a file, and why does it sometimes fail?
Open it with the tool your device already has: Extract All on Windows, a double-click on a Mac, a tap in Files on iPhone or Android. A failure usually means a broken download, a password, an unusual compression method or a missing part.
- Built-in on
- Windows, macOS, iOS, Android
- Common causes
- 6
- Split ZIP parts
- .z01 … .zip
Unzipping in under a minute on any device
A ZIP file is a container: one file that holds other files and folders, usually compressed so the bundle is smaller to send. Unzipping copies those files back out into an ordinary folder, and every major system now does it without extra software. On Windows, Microsoft's zip and unzip help page gives two routes: open the zipped folder and drag out the item you need, or right-click it and choose Extract All to unpack everything. On a Mac, Apple's Mac User Guide says a double-click is enough, and the unzipped item appears in the same folder as the ZIP.
Phones work the same way once the file is in the right app. On an iPhone, Apple's ZIP article for iPhone and iPad says to open the Files app and tap the archive, which creates a folder with the contents. On Android, the help page for Files by Google has you select the ZIP, look at the preview and tap Extract, with an option to delete the archive afterward; the same page states that only .zip files are supported there. If a phone shows the archive as a single file it cannot open, it is often still inside a mail or chat preview, so save it to Files or Downloads first.
Windows
- Find the ZIP in File Explorer, usually in Downloads.
- Right-click it and choose Extract All.
- Pick a short destination folder and confirm.
- Work on the extracted copies, not on files opened inside the ZIP.
Mac
- Double-click the ZIP in Finder or on the desktop.
- Wait for the unzipped item to appear next to it.
- If nothing happens, check the free space on the disk.
- Delete the ZIP afterward if you no longer need it.
iPhone
- Save the attachment or download to the Files app.
- Open Files and find the ZIP.
- Tap it once; a folder with the contents appears.
- Tap the folder to open the files.
Android
- Open Files by Google or your phone's file manager.
- Go to the folder that holds the ZIP and select it.
- Check the preview and tap Extract.
- Find the files in the same folder as the ZIP.
“The archive is invalid or damaged”
Messages that call a ZIP invalid, report an unexpected end of data or name a CRC error all say the same thing in different words: the file does not match its own records. A ZIP keeps its table of contents, the central directory, at the very end of the file and stores a checksum for every item. If a download stopped early, that ending is gone and the extractor cannot even list what is inside. If a few bytes in the middle were damaged, the list appears but one item fails its checksum. Apple's Mac guide adds two simple checks: make sure there is enough free space, and if the ZIP came from someone else, ask them to zip it again and resend it.
The fix depends on which half failed. An archive that will not open at all is almost always incomplete, so compare its size with the size shown on the download page or in the message, then download it again on a steady connection, ideally in a desktop browser rather than an in-app viewer. An archive that opens but stops on one item has damage inside. Extract everything else and ask for the missing file on its own. Repair tools can sometimes rebuild a lost table of contents by scanning for files one at a time, but they cannot restore bytes that never arrived, so a fresh copy is always the better route.
- What you see: The ZIP is called invalid or empty straight after a download.
- What to do: The file is incomplete. Download it again and check that its size matches the source.
- What you see: The file list appears, then extraction stops with a CRC or data error.
- What to do: One item is damaged. Extract the rest and ask the sender for that file again.
- What you see: The archive opens on one computer but not on another.
- What to do: The second tool lacks a feature the archive uses, such as AES encryption or a newer method. Try a fuller extractor, or unzip it online in a browser.
- What you see: Extraction stops with a disk or storage error.
- What to do: Free up space. Unzipped files can take several times the size of the ZIP.
- What you see: Windows reports that a path or file name is too long.
- What to do: Extract to a short folder near the root of the drive, such as
C:\Unzip, then move the files.
Password prompts and encrypted archives
A password box means the archive was encrypted when it was made. ZIP has two kinds of encryption: the original scheme, often called ZipCrypto, and the stronger AES, which the format records with a marker method of its own. Neither can be skipped. The password is not stored in the file, so without it the contents stay unreadable, and no extractor or online service can change that. In a standard encrypted ZIP only the contents are locked, which is why you can often see the file names before typing anything; some archivers can hide the names too, and those archives show an empty list until the password is entered.
Built-in tools add a second limit. Microsoft's help page says Windows does not support operations on encrypted archives and suggests apps such as 7-Zip or WinRAR, so a locked ZIP that fails in File Explorer may open elsewhere. Be careful with archives you did not expect, especially when the password arrives in the same message: the scanner in your mail service cannot look inside a file it cannot decrypt, and CISA's advice on email attachments is to confirm with the sender through another channel first. When you are the one sending private files, the guide on whether to password-protect a PDF or use something else compares a locked archive with the other options.
“Unsupported compression method”
Compression is not one technique but a family of them, and every ZIP records which one it used for each file. PKWARE's ZIP specification, known as the APPNOTE, lists more than twenty method numbers. Most ZIP files use method 8, Deflate, the long-standing default that every extractor reads. Newer archivers can also write Deflate64, BZIP2, LZMA, XZ or Zstandard into a ZIP to save space, and a simpler extractor that meets one of them stops and reports an unsupported method. The archive is fine; your tool lacks the decoder. The 7-Zip FAQ notes that even 7-Zip cannot read some ZIP files made with methods specific to another app, giving WinZip's WavPack option as an example.
There are two ways out. The first is a different extractor: full archivers decode far more methods than the tools built into an operating system or a phone. The second is to ask the sender to rebuild the archive with normal or standard compression, which in most apps means plain Deflate. When you make archives yourself, keep the format simple for whoever opens them next. Zip Files offers ZIP, which opens on Windows, Macs and phones without extra software, and its Store level skips compression entirely for photos and videos, which barely shrink anyway and gain nothing from an exotic method.
- Compression method
- Also called method ID
- The algorithm used to shrink each file inside an archive, stored as a number beside that file. In a ZIP, 0 means stored without compression and 8 is Deflate, the common default; others such as 12 (BZIP2), 14 (LZMA), 93 (Zstandard) and 95 (XZ) open only in extractors that know them.
Archives split into numbered parts
Large archives are often cut into parts so that each piece fits a mail or upload limit, and the names tell you which scheme was used. In a split ZIP, as the APPNOTE describes it, the parts end in .z01, .z02 and so on, and the last part keeps the plain .zip extension because that is where the table of contents is read from. 7-Zip and similar tools write parts such as .zip.001 or .7z.001, and RAR sets usually arrive as .part1.rar, .part2.rar. Whatever the pattern, no single part is an archive on its own, and opening one piece by itself produces the same errors as a broken download.
Built-in tools rarely handle split sets, so this is a job for a full archiver or an online extractor that accepts several files at once. Put every part in one folder, keep the names exactly as they arrived and open the first part, or the .zip part of a split ZIP. If one piece is missing or smaller than its neighbors, extraction stops when it gets there. When a RAR set has to go to someone without a RAR app, RAR to ZIP reads all the parts uploaded in one batch and packs the contents as a single ordinary ZIP, so the next person needs nothing extra.
Collect every part
Check that the numbers run without gaps; all parts except the last are usually the same size.
Keep the original names
Do not rename parts or drop endings such as .001, because the extractor finds each next part by its name.
Use one folder
Move all the parts into the same folder, ideally one with nothing else in it.
Open the right part
For a split ZIP open the .zip part; for numbered sets open .001 or .part1.rar.
Extract once
The extractor reads the parts in order and writes a single set of files.
Strange file names and empty folders
Garbled names, such as accented Latin letters where Japanese or Cyrillic text should be, come from a missing label rather than damage. The APPNOTE explains that ZIP first supported only the IBM PC character set, code page 437, and later added a flag, bit 11, that marks names as UTF-8. Archives made by older software, or by tools set to a regional code page, leave that flag off, and the extractor on your side has to guess. A wrong guess changes only how the names look; the contents of each file are untouched. An extractor with a file name encoding setting lets you pick the right character set, and 7Z archives avoid the guesswork by storing names in Unicode.
A result that looks empty has a few usual causes. On Windows, opening a ZIP in File Explorer shows its contents without extracting them, so files opened from that view can seem to lose your edits; run Extract All first. A folder holding only another ZIP means the files were zipped twice, so unzip the inner one too. Folders named __MACOSX and files starting with ._ are Mac bookkeeping entries with nothing in them for you. And deeply nested folders can exceed the 260-character limit described in Microsoft's path length documentation, which stops extraction partway and leaves folders empty.
An archive that unpacks into empty folders is like a pallet of open boxes: the structure arrived, but the contents went somewhere else or never made it.
Photo: Luke Heibert / Unsplash
Before you decide an archive is empty
Most empty results have an ordinary cause. Check these first:
- Look for a single ZIP inside the folder; it needs its own extraction.
- Show hidden items in your file manager, because some files may start with a dot.
- On Windows, extract to a short folder near the root of the drive.
- Compare the unzipped size with the archive size; a large ZIP rarely holds nothing.
Opening RAR and 7z files that arrive instead
Sometimes the file that arrives is not a ZIP at all. RAR comes from WinRAR and is common for big downloads and split sets. 7Z is the native format of the free 7-Zip app, and its format page describes LZMA and LZMA2 compression, AES-256 encryption and Unicode file names. Both often pack tighter than ZIP, which is why people choose them, but support outside desktop archivers is patchy. Microsoft's help page says Windows 11, version 24H2, supports ZIP, RAR, 7z and TAR archives and makes no such promise for earlier versions, while Files by Google opens only .zip and Apple's iPhone article covers ZIP alone.
You have three practical choices, compared below. If you need the files only once, extract them online or with whatever your system already has. If these formats reach you often, a desktop archiver is worth installing. And if you have to pass the files on, convert the archive to ZIP first: the archive converter page repacks RAR, 7Z or TAR.GZ as a ZIP with the folders intact, so the person after you can open it with a double-click or a tap. Renaming a .rar file to .zip does not work, because the contents are still stored the RAR way.
Extract online
Upload the archive in a browser and download only the files you need.
- Best for
- one-off archives
- Needs
- a browser
- On a phone
- works the same
Desktop archiver
Install an app that reads RAR, 7Z and unusual ZIP methods.
- Best for
- frequent RAR and 7Z files
- Needs
- an installed app
- On a phone
- a separate app
Convert to ZIP
Repack the archive once so everyone after you can open it.
Recommended- Best for
- passing files on
- Needs
- one conversion
- On a phone
- opens with built-in tools
Most ZIP errors come down to a missing piece, a missing password or a missing decoder. Work out which one, and the fix is usually a single step.
Unzipping questions
Can a ZIP file be repaired after a broken download?
Sometimes, but only in part. If the download stopped early, the end of the file, where the table of contents lives, is missing, and a repair tool can only rescue the items it finds complete before the break. Downloading the file again from the source is faster and gives you everything.
Why does my phone show the ZIP as a single file it cannot open?
Usually because it is sitting in the wrong app, such as a mail or chat preview. Save it to the Files app on iPhone or to the Downloads folder on Android and open it from there. If the file manager still refuses, the archive may be RAR, 7Z or encrypted, which built-in tools often skip.
Do I need all the parts of a split archive in the same folder?
Yes. The extractor looks for each next part by its name in the same folder, so every part has to be there, with its original name, before you open the first one. A missing or renamed part stops the extraction at that point.
Is it safe to unzip a file someone sent me?
Unzipping only copies files out; nothing runs until you open one of them. The risk is in what is inside, such as programs, scripts or documents that ask you to enable macros. If you did not expect the archive, check with the sender through another channel before opening anything in it.
Why do file names inside a ZIP turn into random symbols?
The archive was made with a regional character set and does not say which one, so your extractor guessed wrong. Only the names are affected, never the contents. Pick the right character set in an extractor that offers the setting, or ask the sender to use 7Z, which stores names in Unicode.
Can I open a ZIP on a phone without installing an app?
Yes. On iPhone, tap the ZIP in the Files app and a folder with its contents appears next to it. On Android, Files by Google extracts ZIP files from its own menu. Neither handles every archive type, so RAR and 7Z files may need an online extractor instead.
Tools used in this guide
About the author
Web and mobile workflows editor
Tobias writes about moving files between phones, apps and computers: posting to social feeds, sending through chat apps, opening archives and getting phone video down to a size that uploads. He explains what apps do to files without saying so, such as re-compression, cropping and renaming, and how to plan around it. Platform limits are linked to the platform's own help pages and dated, since they change often. Each guide shows when it was last reviewed.
All guides by Tobias MwangiKeep reading
PDF & Documents9 min read
Password Protect a PDF, or Use Something Else? Decide by the Risk
Open passwords, permission limits, flattening and encrypted ZIPs each solve a different problem. Work out what could actually go wrong with your file, then pick the protection that answers it.
Callum Ashdown ·