ZIP Archive Content Viewer Guide: Inspect an Archive Before You Extract It
A ZIP archive is a container: one file that holds many files, compressed to save space and bundled for transfer. Before opening such a container, it is wise to look inside it first. What files does it hold? How large are they? Are the names sensible, or do they contain paths that point outside the folder you intend? Does the archive contain what you expected, or something entirely different? Answering those questions before extraction is quick, safe, and often surprising, because archives frequently contain more, less, or different content from what their sender described.
The ZIP Archive Content Viewer tool lists the contents of a ZIP archive you provide, showing file names, sizes, and compression details, without extracting anything. It is a local file inspection tool: it reads the archive in your browser and displays its listing, and it does not download remote content, upload your archive to a server, or extract files. That distinction matters for privacy and safety: viewing a listing reveals the archive's structure without running any of its contents, which is exactly the precaution that should precede extraction, especially for archives from unfamiliar sources.
An archive listing has several columns worth reading. The name shows each entry's path inside the archive, including any folders. The uncompressed size shows how large each file will be once extracted, which matters for disk space. The compressed size shows how much space the entry occupies inside the archive. The ratio between the two shows how compressible the content is: text compresses well, already-compressed media barely compresses at all. The method and date columns, where shown, indicate how each entry was compressed and when it was added. Together, these columns describe the archive completely enough to judge it before touching its contents.
What to know before you start
Start with the names. A well-formed archive from a trusted source contains names that make sense for its purpose: documents, images, or project files under sensible folder names. Names to question include absolute paths, paths containing parent-directory references that climb out of the destination folder, and names with unusual characters or excessive length. A path that escapes the destination folder is a classic archive attack: extraction follows the path and writes files outside the intended folder, potentially overwriting system or application files. A viewer that flags such paths gives you the chance to reject the archive before extraction, which is the only safe moment to catch it.
Next, check the sizes. Add up the uncompressed sizes and compare the total with the disk space available and with what you expected. An archive that claims to hold a small document set but lists gigabytes of uncompressed content deserves scepticism, as does an entry whose compressed size is tiny but whose uncompressed size is enormous. The latter pattern, a very high compression ratio, is characteristic of a decompression bomb: a small archive that expands into an enormous output, designed to exhaust disk space or memory. Text files can legitimately compress by large factors, but a ratio in the thousands for a general archive is a warning, not a curiosity, and such archives should be handled with strict size limits or not at all.
Then check the structure. Folders should be consistent, with entries grouped sensibly rather than scattered at the archive's root. A single folder containing the whole project is a good sign; hundreds of unrelated files at the root, or a folder structure that does not match the archive's stated purpose, suggests the archive was assembled carelessly or deceptively. Check for duplicate names too, since some extraction tools silently overwrite earlier entries with later ones of the same name, meaning the extracted result may not match the listing you reviewed. A listing with duplicates should be resolved before extraction, by renaming or by choosing which copy to keep.
A worked example you can follow
Take a sample archive whose listing shows 12 files in a single project folder, with a total uncompressed size of 8 megabytes and a total compressed size of 5 megabytes. The overall compression ratio is 8 divided by 5, or 1.6 to 1, which is ordinary for a mixture of text and images. The largest single file is 2 megabytes uncompressed, which is 25 percent of the total, because 2 divided by 8 equals 0.25. Nothing in the listing is surprising: the folder name matches the project, the file names are documents and images, and the sizes are proportionate. This archive is a good candidate for extraction into its own folder, followed by a check that 12 files appear as listed.
Now consider a suspicious sample: an archive of 15 files whose listing shows one entry with a path that climbs out of the destination folder, and another entry whose compressed size is 100 kilobytes but whose uncompressed size is 500 megabytes. The suspicious path is 1 of 15 entries, but it is enough to reject the archive or to extract only the safe entries with a tool that blocks escaping paths. The size ratio for the second entry is 500 megabytes divided by 0.1 megabytes, or 5,000 to 1, which is far beyond normal text compression and characteristic of a decompression bomb. Either finding alone justifies caution; together, they justify refusing the archive and asking the sender for a clean copy, rather than extracting and hoping.
A third sample shows a mundane but common problem: an archive listing 200 files, of which 190 are identical in name to files already in the destination folder. Extracting without checking would overwrite 190 files, or 95 percent of the listing, with versions whose dates and sizes may differ from the ones in place. The safe course is to extract into an empty folder, compare the results with the existing files, and then copy across only what is wanted. The viewer's listing makes that decision possible before any overwriting happens, which is precisely why viewing precedes extraction.
Common mistakes to avoid
The first mistake is extracting without viewing, especially for archives from email, downloads, or unfamiliar senders. Extraction runs the archive's instructions about where files go, and viewing first is the only chance to catch a malicious path before it acts. The second mistake is extracting into a folder that already contains important files, where overwriting or mixing can destroy work. Always extract into an empty folder first. The third mistake is ignoring size warnings: an archive that expands far beyond expectations should be stopped, not indulged, because disk exhaustion can affect the whole system.
The fourth mistake is assuming that a familiar archive is safe. An archive from a known sender can be corrupted in transfer, misassembled, or replaced, and its listing will show the problem if you look. View every archive before extracting it, not just the ones from strangers, and keep the habit uniform so it survives busy days. The fifth mistake is treating the listing as a guarantee: a listing describes the archive's directory, and a damaged archive may list files that cannot actually be extracted. View first, extract into an empty folder, and verify the extracted files against the listing.
Checking the result before you finish
After viewing, decide explicitly: extract all, extract selected files, or reject the archive. If extracting, use an empty destination folder, extract, and count the results against the listing: the number of files and their sizes should match, allowing for folders themselves. If any file is missing, larger, or smaller than listed, the archive may be damaged, and the extracted copy should be treated as suspect until the discrepancy is explained. Delete the empty-folder extraction if it is not needed, and keep the original archive until the extracted contents have been verified as usable.
For companion checks, the ZIP File Extractor tool handles the extraction step itself, the ZIP File Creator tool builds archives from local files, and the File Checksum Verifier Guide covers verifying files received from others. Viewing before extracting is a small habit that prevents a large class of archive accidents, and it costs less than a minute per archive.