FILE FORMAT GUIDE

ZIP File: What It Is & How to Open It

A ZIP file is an archive that stores a directory of entries, metadata and optional compression. Different entries can use different methods, and some may be stored without compression.

Compare the reviewed ZIP container header signature with the filename in your browser.

Check supported file headers

Quick facts

Extension
.zip
Format
ZIP Archive
Category
archive
MIME type
application/zip
Standard / developer
PKWARE
Open with
File Explorer, Finder / Archive Utility

What is ZIP?

ZIP is a container format rather than one compression algorithm. Local headers precede entry data and a central directory records the archive index. Listing entries does not extract or execute their contents.

How to open ZIP

Browse the archive before extracting it. Treat unfamiliar executable files, scripts and shortcuts inside an archive with the same caution as separately downloaded files.

File ExplorerWindows

Double-click the ZIP to browse it in File Explorer. To unpack it, right-click the archive, choose Extract All, select a destination and extract the files.

Finder / Archive UtilitymacOS

Double-click the ZIP in Finder. macOS expands the archive into the same folder.

Common uses and compatibility

  • Package multiple files and directories into one transferable archive

Things to check

  • Implementations may not support every compression or encryption method defined by ZIP extensions.
  • Extracting untrusted archives can consume excessive storage or write unsafe paths unless the extraction workflow applies limits and path checks.

Advanced inspection

These developer and command-line workflows inspect structure or metadata. They are not the default way most people open the file.

Python zipfileCommand-line tool and standard library

Run python -m zipfile -l archive.zip to list entry names and sizes without extracting them. Review the listing before any separate extraction step.

Technical details

Signature
Common signatures begin 50 4B 03 04, 50 4B 05 06 or 50 4B 07 08 depending on archive state
Encoding
Not applicable
Container
ZIP archive with local file records and a central directory
Compression
Per-entry method; entries may be stored or use Deflate and other registered ZIP methods

.ZIP File Format Specification

Related formats

  • GZIP Compressed File

    GZIP compresses a byte stream into gzip members, while ZIP stores a directory of entries with per-entry methods and metadata.

  • EPUB Publication

    EPUB applies additional publication rules to a ZIP-based package, including a required mimetype entry.

  • 3D Manufacturing Format

    3MF uses an Open Packaging Conventions package built on ZIP structures for 3D manufacturing content.

  • RAR Archive

    RAR is a different archive format; use a compatible reader rather than changing the suffix.

  • Android Application Package — Android scope

    Android APK uses ZIP packaging, with additional application and signing requirements.

Sources & review

Sources reviewed 2026-09-19.