Home  /  File formats  /  zip

ZIP file format

Extension.zip
Categoryarchives
Programs
StuffIt
WinRAR
Winzip
DescriptionThe .zip format is widely used for file archiving and compression, which supports lossless data compression. A ZIP file may contain one or more files or directories, which may have been compressed. The ZIP file format permits a range of compression algorithms, with DEFLATE being the most commonly used. This format is preferred for file and software distribution and storage because it can reduce file size and bundle multiple files into a single archive that is easier to handle and transfer.
Technical detailsThe .zip format, a frequently employed data compression and archiving format, includes the following technical details:
- Compression Algorithm: While Deflate is primarily used, other algorithms such as BZIP2 and LZMA are also supported.
- File/Directory Storage: It has the capacity to contain multiple files and directories while preserving structure and metadata.
- Lossless Compression: It enables exact replication of the original data.
- File Size Limits: Early ZIP versions had a limit of 4 GB in size and 65,535 files; these limits are surpassed by the ZIP64 extension.
- Security: Supports password protection and encryption, inclusive of ZipCrypto and AES-256.
- Error Detection: Uses CRC-32 checksums for data integrity.
- Compatibility: Broadly supported across various software and operating systems.
- Portability: Often used for data transfer over the internet.
- Split Archives: Allows large files to be divided into multi-volume archives.
- Metadata Storage: Capable of storing file permissions and timestamps.
- File Extensions: Primarily `.zip`; split archives use `.z01`, `.z02`, and so on.
- MIME Type: Recognized as `application/zip`.
- Archive Update: Allows adding, modifying, or removing files without recreating the archive.
The .zip format is chosen for its effective compression, ability to handle multiple files, and wide compatibility.
MIME type
application/zip
application/x-zip
application/x-zip-compressed
application/octet-stream
application/x-compress
application/x-compressed
multipart/x-zip