Archive Inspector

Look inside ZIP, TAR and gzip files without extracting them: browse folders, preview text and images, check for unsafe paths and zip bombs, and pull out single files. Or make a new .zip. All in your browser.

Advertisement

Guide

About the Archive Inspector

An archive can hold anything, and extracting it is a leap of faith: thousands of files, a path that escapes into another folder, a “zip bomb” that unpacks to terabytes. This inspector opens the archive’s table of contents first, so you can see what is inside, how big it really is and whether anything looks wrong, before a single file is written to your disk.

Many file formats are ZIPs in disguise: Java .jar files, Android .apk, Office .docx and .xlsx, and .epub books. Open them here to see the XML, images and other parts they are made of.

What the warnings mean

  • Zip slip: a name such as ../../etc/passwd or an absolute path. A careless extraction tool writes it outside the target folder, which attackers use to overwrite files. This page never writes such paths.
  • Link pointing outside: a TAR symbolic link whose target is above the archive’s folder; a later file written through it could land anywhere.
  • Zip bomb: a file that claims to unpack hundreds of times larger than it is stored. Unpacking here stops at 1 GB.
  • Duplicate names: two entries with the same path. Which one wins depends on the tool, which can hide a different file behind a familiar name.

The same on the command line

  • List a zip: unzip -l file.zip or zipinfo file.zip; a tar: tar -tvf file.tar.gz
  • Extract one file: unzip file.zip path/inside.txt or tar -xzf file.tar.gz path/inside.txt
  • Make a zip of a folder: zip -r archive.zip folder

How to use it

  1. 1Drop an archive on the page, or click to choose one.
  2. 2Browse its folders or search for a file; read the warnings at the top.
  3. 3Click a file to see its details and preview it, then download it on its own.
  4. 4Or extract everything to a folder, or switch to Create a zip to pack your own files.

Frequently asked questions

Is my archive uploaded?

No. It is read in your browser with the browser’s own decompression. Only the parts you open are unpacked, and nothing is sent anywhere.

Which compression methods can it open?

Stored and deflate entries, which cover almost every ZIP, JAR and Office file, plus TAR, .tar.gz and .gz. Entries compressed with bzip2, LZMA, xz, Zstandard or Deflate64 are listed with their sizes but cannot be unpacked, and neither can .7z, .rar or .bz2 files.

Can it open password-protected zips?

It lists the files inside (names and sizes are not encrypted in a ZIP) and marks them with a lock, but it cannot decrypt them.

How large an archive can it handle?

Listing works for large ZIP and TAR files, including ZIP64 archives over 4 GB, because only the table of contents is read. A single file is unpacked up to 1 GB. A .tar.gz has no table of contents, so it is unpacked first, up to 1 GB.

Why is “Extract all to a folder” missing?

Writing many files into a folder needs the File System Access API, which Chrome, Edge and Opera have and Firefox and Safari do not. There you can still download files one at a time.

Are the zips it makes compatible?

Yes. They are standard ZIP files with UTF-8 names that Windows, macOS, Linux and every unzip tool open. Text and code are compressed with deflate; images, video and other already-compressed files are stored, since compressing them again only wastes time.