What is a ZIP file?

ZIP is the most common archive format. It packs many files and folders into one file and compresses them. Windows, macOS, Android and iPhone can open it without extra programs, and it is the archive format that Etsy accepts for digital downloads.

Drop your file here

or select file

Images, video, audio, documents, data, archives, fonts and more.

About ZIP file:

01ZIP at a glance

Full name
ZIP archive
Type
Archive that packs many files and folders into one file and compresses them
Extension
.zip
MIME type
application/zip
First bytes (hex)
50 4B 03 04 (the letters PK)
Created
1989, by Phil Katz (PKWARE) and Gary Conway
Limits
4 GiB per file and per archive and 65,535 files; ZIP64 lifts them

02What is a ZIP file

ZIP packs files and folders into one file. Each file is compressed on its own, and a list of all files sits at the end of the archive. Because of that list, a program can show what is inside and unpack a single file without reading the rest. This tool reads that list, and then unpacks every file in your browser to check that its checksum (CRC-32) matches.

Deflate is the most common compression method, but the format also allows Deflate64, bzip2, LZMA and Zstandard, among others. Wikipedia says ZIP is natively supported on the major operating systems, including Windows, macOS, Linux, Android and iOS. That is why ZIP is the safe choice when you do not know what the other person uses.

A ZIP can have a password. The old scheme, ZipCrypto, is described as seriously flawed and open to known-plaintext attacks. The AES scheme from WinZip, which 7-Zip also uses, is the better one. Normally the list of file names stays readable even when the files are locked.

Two practical limits matter. The original format stops at 4 GiB per file and per archive and 65,535 files; ZIP64 removes these limits. And archives made by old programs may store file names in a DOS code page instead of UTF-8, so non-English names look broken on other systems.

03Good and bad sides

Good

  • Opens without extra programs on Windows, macOS, Linux, Android and iPhone
  • Any single file can be unpacked without reading the rest
  • AES encryption is available

Bad

  • 7Z is built for a higher compression ratio, so big folders may come out smaller there
  • The old ZipCrypto password scheme is weak
  • Old archives can store names in a local code page, so letters look broken elsewhere
  • Without ZIP64, one file or the archive cannot pass 4 GiB

04Best for

  • Sending a folder to anyone

    The most compatible archive: nobody needs to install a program.

  • Opening on any device

    Windows, macOS, Linux, Android and iPhone open it without extra programs, and any single file can be unpacked without reading the rest.

  • Protecting files with a password

    The old ZipCrypto scheme is weak. Choose AES if the files matter.

  • Biggest saving on size

    7Z is built for a higher compression ratio, but the other person needs a program that reads it.

  • Archives over 4 GiB

    Without ZIP64, one file or the whole archive cannot pass 4 GiB.

05How to open it

Windows
File Explorer opens ZIP; 7-Zip and WinRAR also work
macOS
Double-click it: Archive Utility unpacks it into a folder
Phones
The Files app on iPhone and the file manager on Android open ZIP
Linux
The unzip command and every file manager

06Convert and compare

Related formats: RAR, 7Z, GZ, TAR

Sources