Skip to content
Aback ZIP

Unzip Nested ZIPs

Expand every archive inside an archive, recursively: each ZIP, TAR or TAR.GZ found inside becomes a folder, and you get one clean ZIP with everything unpacked. Depth and size limits protect your browser from archive bombs.

Unzip Nested ZIPs

Unpack every ZIP or TAR found inside an archive into folders, recursively, and download one ZIP.

Processed locally

Drop a ZIP that contains other ZIPs

TAR archives work too

Files stay on your device. Nothing is uploaded.

How to use Unzip Nested ZIPs

  1. 1

    Open the archive

    Drop a ZIP or TAR that contains other archives, or choose it with the file picker.

  2. 2

    Set the options

    Choose how many levels deep to go (1 to 10, default 5), whether to keep the original nested archive files as well, and a password if the ZIP is encrypted.

  3. 3

    Expand

    Every archive found inside is unpacked into a folder named after it, and archives inside those are unpacked too, down to the depth you chose.

  4. 4

    Download one ZIP

    Get a single new ZIP with everything unpacked, plus a report of anything that was kept as a file or left out.

Why use Aback ZIP's Unzip Nested ZIPs?

Every level in one pass

photos.zip becomes a photos/ folder, and any archive inside it is expanded as well. No more unzipping layer after layer by hand.

ZIP and TAR, mixed

Finds ZIPs and TARs (plain or compressed with GZIP, BZIP2, XZ, Zstandard or LZMA) inside a ZIP or TAR, and checks their bytes before treating them as archives.

Limits against archive bombs

A depth limit, a cap of 5,000 nested archives and a memory budget stop recursive archive bombs from freezing your browser.

Nothing overwritten or dropped silently

Clashing names are renamed, as in report (1).pdf, and anything kept as a file or left out is listed in the report. The archive is processed in your browser and not uploaded.

Common use cases

Assignment submissions

Learning platforms often download every student's submission as a ZIP inside one big ZIP. Expand them into one folder per submission.

Exports split into ZIPs

Data exports and download bundles often wrap each part in its own ZIP. Unpack all of them in one go instead of one at a time.

Photo and media deliveries

A delivery with one ZIP per shoot or per day, all inside a single ZIP, becomes one archive with an ordinary folder for each.

Release and build artifacts

Build artifacts and release bundles often contain .tar.gz or .tar.xz packages inside a ZIP. Expand them to see every file.

Backups with archived folders

Hosting backups and log collections often hold one .tar.gz per site or per day. Turn them into folders you can browse.

Before searching or checking

Search Inside ZIP and ZIP Safety Check don't look inside nested archives. Expand them first, then search or check the result.

About Unzip Nested ZIPs

What counts as a nested archive

A file inside is treated as an archive when its name ends in .zip, .tar, .tgz, .tar.gz, .tbz2, .tar.bz2, .txz, .tar.xz, .tzst, .tar.zst, .tlz or .tar.lzma, and its bytes confirm that it really is one. A text file that was merely renamed to notes.zip is copied as it is.

Office files such as .docx, .xlsx and .pptx are ZIP files internally, as are formats like .epub and .jar. They are not expanded, because unpacking them would turn a document into a folder of XML.

How each file is handled

Found insideIn the new ZIP
A nested ZIP or TARA folder named after it: photos.zip becomes photos/. The archive file itself is kept too if you choose.
A file from a ZIP that is not an archiveCopied byte for byte, without recompression.
A file from a TARCompressed into the new ZIP.
An encrypted nested archive, with no password enteredKept as a file and listed in the report.
An archive deeper than the depth limitKept as a file and listed in the report.
A nested archive that is damaged or can't be openedKept as a file and listed in the report.
A symbolic link, hard link or special file in a TARNot included, and listed in the report.

Safeguards against archive bombs

Some archives are built to explode when unpacked recursively, either with many layers of ZIPs inside ZIPs or with an archive that contains itself. Three limits keep expansion in check:

  • Depth limit. Archives nested deeper than the level you choose (default 5, at most 10) are kept as files.
  • Archive count. If the archive holds more than 5,000 nested archives in total, expansion stops with an error. That pattern is typical of archive bombs.
  • Memory budget. About 1 GB of nested archives can be held in memory at once. A nested archive that would go past that is kept as a file and reported.

Files from a ZIP that aren't named like archives are never decompressed; their compressed bytes are copied across. A huge file hidden at the bottom of a bomb therefore stays compressed.

What is kept and what changes

ItemResultNotes
Files that are not archivesPreservedCopied byte for byte from ZIPs; compressed fresh when they come from a TAR.
Nested archivesChangedReplaced by a folder of their contents.
Original nested archive filesOptionalRemoved by default, or kept next to their folders if you choose.
Folder structurePreservedEach expanded folder sits where its archive was.
TAR links and special filesRemovedSymbolic links, hard links and device files are listed in the report.
Archive fileRebuiltA new ZIP; your original is not modified.

Limitations

  • Only files named like ZIP or TAR archives are expanded. ZIP-based formats such as .docx, .xlsx or .jar are copied as they are.
  • RAR, 7z and single compressed files that are not TARs, such as data.csv.gz, are kept as files.
  • One password is used for every level. Encrypted nested archives that need a different password, or any password when none is entered, are kept as files.
  • Symbolic links, hard links and special files inside TARs are not included in the new ZIP; they are listed in the report.
  • More than 5,000 nested archives stops expansion, and nested archives past the depth limit or the 1 GB memory budget are kept as files.
  • The new ZIP is built in browser memory. There is no fixed size limit, but very large results may fail on phones and low-memory devices.

Processing happens locally in your browser. Your files are not uploaded, and closing the tab discards everything.

Unzip Nested ZIPs: frequently asked questions

No. The archive and everything inside it is read and rewritten in your browser, and the new ZIP is created on your device. Nothing is sent to a server and no account is needed.