企评社

Interface labels are shown in English. Company reviews, forum posts and tool descriptions are currently available in Chinese only.

ZIP compress / extract

Browse the archive tree · download a single file or repack · many files into one ZIP in a click

全部在浏览器本地处理,文件不上传、不留存

解包 ZIP(≤2GB 解压后总大小)

点击选择或拖拽一个 .zip 到此处

仅未加密 ZIP;条目 ≤2 万、单文件 ≤500MB、解压总大小 ≤2GB;危险条目名(../、绝对路径、盘符)会被逐条拒绝

压缩成 ZIP(多文件 / 文件夹)

点击选择(可多选)或拖拽多个文件 / 整个文件夹到此处

文件夹会保留内部目录结构;输出文件名默认取第一层文件夹名

解包一个陌生 ZIP 前,先做这几道检查

文件名先过"zip-slip"守卫。历史上大量解压工具被"路径穿越"条目坑过:条目名里写 ../../etc/passwd 或 C:\Windows 这种,解到磁盘上就能写出压缩包目录之外。本页对每一条路径做校验——绝对路径、盘符、.. 上级引用一律拒绝,并在列表里标出原因;即使你只是浏览而不落盘,这道检查也不省。

再防 zip 炸弹。"1KB 的 ZIP 解压出 100GB"是经典恶作剧。本页设三道闸:条目数 ≤2 万、单文件 ≤500MB、解压总大小 ≤2GB——任何一道超了立刻停止并告诉你是哪条触发的,不会让你的浏览器卡死。

中文乱码多半是 GBK。ZIP 规范默认文件名是 ASCII;Windows 上一部分压缩工具把中文名存成 GBK 字节且不打 UTF-8 标志位,于是别的工具按 UTF-8 读就变成乱码。本页自动识别(看标志位 + 试解码是否有中文特征),也可手动强制切换。

FAQ

Do you support RAR and 7z?

No. Browsers cannot decode those two natively, and open-source decoders for them are either patent-encumbered or incomplete, so this page sticks to the open ZIP format; for RAR and 7z please use a desktop tool.

Do you support encrypted ZIP?

No. This page only compresses and extracts unencrypted ZIP and never asks for any password - and as a reminder the other way round: be wary of any online unzip page that demands a password from you.

Why are my ZIP file names garbled?

Some compression tools on Windows save Chinese names in GBK without setting the UTF-8 flag. This page detects that automatically and decodes as GBK (you can also switch manually between auto / UTF-8 / GBK); if it is still garbled, the packing side used inconsistent encodings and the archive needs re-packing.

Is unpacking safe?

Yes. Every entry name is checked one by one: absolute paths, drive letters and parent-directory references (../) are all refused (zip-slip defense); caps are 20,000 entries, 500MB per file and 2GB unpacked total (zip-bomb defense). Everything runs on your machine, nothing is uploaded.

Are my files uploaded?

No. Compressing and unpacking both run locally in the browser (the self-hosted JSZip); files never leave the machine, reloading clears everything, and the page has no upload endpoint - verify it in the developer tools Network panel.

Related tools