Skip to content
RareExplorerRAR & ZIP knowledge base

ZIP Files

How to Extract a ZIP File

Extracting a ZIP file needs no extra software on Windows or macOS — here is the exact process on each, plus command-line options.

RareExplorer Editorial TeamLast updated August 1, 2026Steps reviewed by the RareExplorer Technical Editor

Get an archive tool for your computer

Download the installer and start opening RAR, ZIP and 7z archives in a few minutes.

Download now

Windows 11 and Windows 10

  1. 1Locate the ZIP fileFind the .zip file in File Explorer.
  2. 2Right-click the fileChoose Extract All... from the context menu.
  3. 3Choose a destinationConfirm or change the folder path in the dialog, then click Extract.
  4. 4Open the extracted folderFile Explorer opens the new folder automatically once extraction finishes.

macOS

  1. 1Locate the ZIP fileFind the .zip file in Finder, typically in Downloads.
  2. 2Double-click itArchive Utility extracts it automatically to the same folder.
  3. 3Check the resultA new folder with the same name appears next to the original ZIP.

Command line

Extracting ZIP from a terminal
PlatformCommand
macOS / Linuxunzip archive.zip
macOS / Linux (specific files)unzip archive.zip "folder/*" -d output
Windows PowerShellExpand-Archive -Path archive.zip -DestinationPath .\output
macOS / Linux (via tar)tar -xf archive.zip

The tar command works on ZIP files on recent macOS and Linux because those tar builds detect the ZIP format automatically, even though tar is historically a different archive type. This is handy when unzip isn't installed.

Extracting only some files

On Windows, double-clicking a ZIP to browse it and then dragging out only the files you need avoids extracting the whole archive. On macOS or Linux, unzip archive.zip "specific-file.txt" extracts a single named entry.

Common errors

  • "Compressed (zipped) folder is invalid" — usually a partial download; redownload the file and check its size matches the source.
  • Extraction stalls near 100% — often a very large last file or antivirus scanning it in real time; wait or temporarily pause the scanner.
  • Extracted files are empty or 0 bytes — the ZIP was likely corrupted during transfer; see corrupted RAR file for the general diagnostic approach, most of which applies to ZIP too.
  • Password prompt on a ZIP you didn't expect to be locked — the sender protected it; you'll need the password from them.

Download and try it yourself

Install the archive tool and apply the steps from this guide on your own files.

Download now

Frequently asked questions

Do I need WinRAR or 7-Zip to open a ZIP file?

No. Windows and macOS both extract ZIP files natively. Third-party tools like [7-Zip](/winrar-vs-7zip) are only needed for other formats such as RAR or 7z.

Why does my extracted ZIP have a different name than expected?

Extraction usually creates a folder matching the ZIP's file name. If the archive itself has an odd internal name, that name is what appears.

Can I extract only part of a large ZIP file?

Yes — browse the ZIP without fully extracting it on Windows, or use `unzip archive.zip "path/to/file"` on macOS or Linux.

What if the ZIP file won't extract at all?

Confirm the download completed and try `unzip -t archive.zip` (or `tar -tf`) to test the archive's integrity before assuming it's corrupted.

WinRAR is a trademark of its respective owner. RareExplorer is an independent resource and is not affiliated with or endorsed by RARLAB or win.rar GmbH. Read our editorial policy to see how this page was researched.