Skip to content
Aback ZIP

How-to · 5 min read · Updated

How to extract a ZIP file

Unzip files on Windows, macOS, Linux or in your browser, extract only the files you need, open password-protected ZIPs and fix common extraction errors.

Extracting, or unzipping, copies the files out of an archive so you can use them. Windows, macOS and Linux can all do it without extra software, and Extract ZIP adds a preview of what is inside, selective extraction and support for password-protected archives, all processed locally in your browser.

Extract a ZIP in your browser

  1. Open Extract ZIP and drop the archive on the page or choose it from your device. It also accepts TAR, TAR.GZ, TGZ and GZ files.
  2. Browse the folder tree. At this point only the archive's index has been read, so you can see names, sizes and folders before anything is decompressed.
  3. Tick the files and folders you want, or select everything.
  4. If the archive is password-protected, enter the password. It is used inside the page to decrypt the files and is not sent anywhere.
  5. Download single files, download your selection as a new, smaller ZIP, or, in browsers that support it, save the files straight into a folder you choose.

Downloading many files one by one can trigger your browser's multiple-downloads prompt. For larger selections, download them as one ZIP or save them to a folder instead.

Extract with built-in tools

SystemHow to unzipNotes
Windows 10 and 11Right-click the ZIP, choose Extract All..., pick a destination and select Extract.Double-clicking opens the ZIP like a folder. Files opened from there are temporary copies, so extract first if you plan to edit them.
macOSDouble-click the ZIP. Archive Utility extracts it next to the original.Encrypted, spanned or unusual ZIPs sometimes fail with an "unsupported format" error; Keka or The Unarchiver usually handle them.
Linuxunzip archive.zip -d destination/Use unzip -l archive.zip to list the contents first, and unzip archive.zip "docs/*" to extract only part of it.

Extract only the files you need

A ZIP keeps an index of every file at the end of the archive, called the central directory. A reader can use it to jump straight to one file and decompress only that file. That is why picking three documents out of a 2 GB archive is quick, and why ZIP Viewer can list archives with tens of thousands of entries without unpacking them.

In Windows File Explorer, open the ZIP and drag just the files you want out of it. On the command line, pass file names or patterns to unzip. In Extract ZIP, tick only the entries you need.

Password-protected ZIPs

ZIP archives are encrypted with either traditional ZipCrypto or AES. Windows File Explorer and Linux unzip handle ZipCrypto, but unzip cannot open AES-encrypted ZIPs and File Explorer's classic ZIP support may not either. 7-Zip, Keka, The Unarchiver and Extract ZIP open both kinds when you know the password.

If the password is lost, there is no legitimate shortcut. Aback ZIP does not guess or crack passwords.

When extraction fails

MessageLikely causeWhat to try
"Unexpected end of archive" or "End-of-central-directory signature not found"The file is incomplete, usually an interrupted download or copy, or it is one piece of a split archive.Download it again, or join the parts first. If no other copy exists, try Repair ZIP.
"The compressed (zipped) folder is invalid" (Windows)Corruption, or a compression method or encryption File Explorer does not support.Open it in ZIP Viewer to see each file's method and encryption.
"CRC failed" or "Data error"A file's contents no longer match the checksum recorded when it was zipped.Run Test ZIP Integrity to see which files are affected, and get a fresh copy if possible.
"Unsupported compression method"The entry uses a rare method such as Deflate64 or PPMd.Aback ZIP decompresses Deflate, BZIP2, LZMA, XZ and Zstandard entries. For Deflate64 or PPMd, use 7-Zip.
Garbled file namesThe names were saved in an old regional code page instead of UTF-8, often by older Windows tools.Repair them with Fix ZIP Filenames, which detects the original encoding and rewrites the names as UTF-8.

Extract safely

A ZIP can contain anything, so treat archives from unknown sources with care. Extract ZIP is built with that in mind:

  • Paths are sanitised: entries such as ../../secret.txt or absolute paths cannot escape the place you extract to.
  • Archives with an unusually high compression ratio, a sign of a so-called ZIP bomb, are flagged before you extract anything.
  • Nothing inside the archive is opened or run automatically. Aback ZIP does not scan for malware, though, so be careful with unexpected .exe, .js, .vbs or macro-enabled Office files.
  • Your original ZIP is never modified; extraction only creates new files.

Judge the size before you extract

A ZIP's size on disk says little about what happens after extraction. The index at the end of the archive records both compressed and uncompressed sizes, so you can check the real requirements before committing.

CheckWhere to see itWhy it matters
Compressed sizeThe file's size, or ZIP ViewerHow much data you need to download
Total uncompressed sizeArchive properties or the viewer summaryFree disk space needed after extraction
Largest single entrySort entries by size in the viewerWhether one file will fit on the target drive
Entry countViewer summaryVery large archives take longer to list and extract
Compression ratioCompressed versus uncompressed sizeA surprising ratio can be a sign of a ZIP bomb

An archive that expands to many gigabytes can exhaust memory or fill a disk. Extract ZIP warns when the selection expands far beyond its compressed size. If the warning looks wrong, check the archive with ZIP Safety Check first.

Choose where the files land

  1. Extract into a new, empty folder. It makes it obvious which files came from the archive and stops an older copy from being quietly replaced.
  2. In Windows File Explorer, use Extract All and change the destination instead of accepting the default next to the ZIP.
  3. On the command line, always pass a destination so files do not land in the current directory by accident.
  4. In Extract ZIP, use Save to folder where the browser supports it. Otherwise download single files, or one ZIP holding your selection.
  5. Keep the original ZIP until you have opened the extracted copies.
unzip -l archive.zip          # list entries first (macOS, Linux)
unzip archive.zip -d out/     # extract into a new folder
tar -xf archive.zip -C out    # Windows PowerShell alternative

Double-clicking a ZIP in File Explorer opens a temporary view; files launched from there are copies in a temp folder, and edits may not end up where you expect. Extract first if you plan to change anything.

After you extract

  • Compare the number of files you received with the entry count the viewer reported. A short download is the usual reason a file is missing.
  • For an important transfer, run Test ZIP Integrity on the source archive before deleting it. A CRC failure means at least one file was already damaged inside the ZIP.
  • If you are passing the files on, tidy them first: Clean ZIP removes macOS and Windows metadata entries that often appear in archives made on another computer.
  • To package the extracted files again, use Create ZIP. It stores folder paths and Unicode names, and can add a password.

Tools for this

Frequently asked questions

Yes. Windows, macOS and most Linux desktops unzip ZIP files out of the box, and Extract ZIP runs in a browser without installing an app. The automated suite covers Chrome on macOS; other browsers and mobile devices have not been tested.

More guides