🍋
Menu
.zip Archive

ZIP 归档

ZIP 是最广泛使用的归档格式,用于将多个文件捆绑和压缩到单个容器中。它支持无损压缩、目录结构、文件注释和可选加密。ZIP 在 Windows、macOS 和 Linux 上无需额外软件即可原生支持。

MIME 类型

application/zip

类型

二进制

压缩

无损

优点

  • + Universal support across all operating systems without extra software
  • + Random access to individual files without decompressing everything
  • + Optional AES-256 encryption for sensitive content
  • + Well-suited for bundling mixed file types

缺点

  • DEFLATE compression ratio is lower than 7z, Zstandard, or XZ
  • Legacy ZIP encryption (ZipCrypto) is weak and easily cracked
  • No built-in error recovery for corrupted archives

何时使用 .ZIP

在打包邮件附件、下载文件以及任何需要通用兼容压缩归档的场景中使用 ZIP。

技术细节

ZIP 使用按文件压缩(通常是 DEFLATE),在归档末尾有一个中央目录用于快速文件列表。每个条目独立存储自己的 CRC-32 校验和、压缩大小和元数据。

历史

Phil Katz 于 1989 年为其 PKZIP 实用程序创建了 ZIP 格式。格式规范自诞生以来一直公开可用,促成了其普遍采用。ZIP64 扩展添加了对超过 4 GB 文件的支持。

从 .ZIP 转换

转换为 .ZIP

相关格式

相关术语