DevTools Logo

ZIP File Inspector

ZIP File Inspector

List ZIP entries with sizes, methods and flags, then preview a single entry without uploading the archive.

Runs in your browser
No archive loaded
Try an example

Archive

Choose a ZIP archive to inspect

Entry names, sizes, methods and flags are read locally. Nothing is uploaded.

0 entries0 B compressed0 B uncompressed

Entry preview

Select an entry to preview it

Stored and deflated entries are extracted in memory with CRC-32 verification.

Details

ZIP File Inspector reads a ZIP's end-of-central-directory record and central directory locally, listing every entry with method, compressed and uncompressed sizes, space-saving ratio, CRC-32, DOS timestamp and flag bits for encryption, data descriptors and UTF-8 names. ZIP64 sentinels are resolved from the ZIP64 EOCD and the per-entry 0x0001 extra field. Selecting a stored or deflated entry extracts it in memory using the browser's native DecompressionStream, verifies the CRC-32 and previews text; encrypted, unsupported-method and binary entries are clearly marked instead of being silently mangled. Download names are sanitized against path traversal. No archive bytes leave the tab.

More examples

Audit a build artifact

dist.zip → README.txt (Store, 62 B, UTF-8)
config.json (Store, 31 B)
docs/notes.md (Store, 42 B)

The entry table shows method, sizes, ratio, flag bits and CRC for each file before anything is extracted.

Preview one config entry

Select config.json → {"environment":"demo","count":2}

Only the selected entry is extracted; its CRC-32 is checked and the text preview appears with line numbers.

Spot an encrypted entry

invoice.zip → statement.pdf [encrypted flag]

Encrypted entries stay in the listing but preview is blocked with an explicit lock note — the tool never attempts decryption.

Examples

Sample archive

Input
sample.zip
Output
README.txt   Store   62 B   CRC OK
config.json  Store   31 B   CRC OK
docs/notes.md Store  42 B   CRC OK

Three stored entries with UTF-8 names; selecting one extracts it and verifies its CRC-32.

Flag inspection

Input
invoice.zip → statement.pdf [encrypted flag]
Output
Listed normally; preview blocked with an encryption note

Encrypted entries are detected from flag bit 0 and never decrypted.

About this tool

ZIP File Inspector reads a ZIP archive's central directory in your browser and lists every entry with its compression method, compressed and uncompressed sizes, space-saving ratio, CRC-32, DOS timestamp and flag bits. Flags reveal encrypted entries, data-descriptor entries and UTF-8 names before you extract anything — details most upload-based viewers hide.

Choosing a stored or deflated entry extracts just that file: deflate uses the browser's native DecompressionStream, and the CRC-32 is checked against the central directory. Text entries get a line-numbered preview (up to 256 KB), binary and unsupported methods are labeled rather than mangled, and download names are sanitized against path traversal. ZIP64 sentinels are resolved from the ZIP64 records and per-entry extra fields; nothing is uploaded or stored.

What this tool does not do

  • Only Store (0) and Deflate (8) entries can be previewed; other methods are listed and their raw slice may be downloaded.
  • Encrypted entries are detected but never decrypted.
  • Inflation is capped at 100 MB uncompressed as a zip-bomb guard.
  • Archives over 500 MB are rejected by the browser picker; legacy non-UTF-8 names are decoded with Windows-1252 as an approximation of CP437.

How to use this tool

  1. Choose an archive

    Use the File action or load the bundled sample ZIP. The first four bytes are checked for a PK signature.

  2. Browse the directory

    Search by name, sort by name/size/method and read the method, ratio and flag columns to spot encrypted or padded entries.

  3. Preview an entry

    Click an entry name. Stored and deflated entries are extracted locally and the CRC-32 status appears under the preview.

  4. Download safely

    Download a single entry with a sanitized filename; the raw archive name stays visible in the table.

Use cases

Verify a build artifact

Check that a release ZIP contains the expected files, sizes and timestamps before publishing it.

Audit an unexpected archive

Read names, flags and ratios without extracting or executing anything from the archive.

Recover one file

Download a single config or image from a large bundle instead of unpacking the whole ZIP.

Entry metadata

ColumnMeaning
Method0 Store, 8 Deflate, 12 BZIP2, 14 LZMA, 93 Zstandard, 99 AES; only 0 and 8 can be previewed.
Sizes / ratioCompressed and uncompressed bytes from the central directory; ratio is the percentage of space saved.
CRC-32Eight hex digits checked against the extracted bytes for every previewed entry.
ModifiedDOS date/time decoded to UTC-style text (legacy ZIPs do not carry a timezone).
FlagsEncrypted (bit 0), data descriptor (bit 3), UTF-8 name (bit 11).
ZIP64Sentinel fields resolved through the ZIP64 EOCD and the 0x0001 extra field.

Directory entries are listed but have no extractable content; 0-byte files show an em dash in the ratio column.

Common mistakes

Mistake:Assuming every ZIP method can be previewed.

Fix:BZIP2, LZMA, Zstandard and AES entries are listed with their method but cannot be decompressed in-browser; download the raw slice instead.

Mistake:Treating DOS timestamps as local time.

Fix:Legacy ZIP timestamps have no timezone; the tool renders a stable UTC-style label — the archive's own timezone convention is unknown.

Mistake:Trusting entry names as download paths.

Fix:The download button sanitizes traversal, absolute paths, drive letters and ADS components; the raw name remains visible for auditing.

Frequently asked questions

Is my archive uploaded anywhere?

No. The end-of-central-directory scan, central-directory parsing, extraction, CRC check and preview all run in your browser tab. There is no upload endpoint, no storage and no account.

Can it open encrypted ZIPs?

Encrypted entries are detected from flag bit 0 and listed normally, but preview is blocked with an explicit note — the tool never attempts decryption. Legacy ZipCrypto is broken by design, and WinZip AES entries (method 99) are identified but also cannot be decrypted here.

Which compression methods preview?

Store (method 0) is read as a raw slice and Deflate (method 8) is inflated with the browser's native DecompressionStream. BZIP2, LZMA, Zstandard and unknown methods are listed with their method names but cannot be decompressed in-browser; download the raw compressed slice instead.

How does it handle ZIP64?

When the classic EOCD fields hold 0xFFFF or 0xFFFFFFFF sentinels, the tool reads the ZIP64 locator and ZIP64 EOCD records, and resolves per-entry 64-bit sizes and offsets from the 0x0001 extra field. A ZIP64 badge appears when those records are used.

Why do timestamps look off by hours?

Classic ZIP entries store a DOS date and time with two-second resolution and no timezone. The tool renders a stable UTC-style label instead of guessing your local zone; extended-timestamp extra fields are not interpreted.

References & standards