fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/archive/compressor

Pack files into an archive, and see what each level buys.

32 formats: 21 written here, from ZIP (levels 0 to 9, AES-256 or ZipCrypto password) and 7Z to every common tarball, single-file GZ, BZ2 and XZ, and the Java archives. RAR, CAB, DEB, RPM, XAR and LHA are unpacked so their files can be packed again. Everything is packed on your device, then opened again to check every file came back identical. Nothing is uploaded.

deployed_codeSample project
32 formats32 total
Packs here21
ZIP7ZTARTAR.GZTAR.BZ2TAR.XZTAR.LZMATAR.LZTAR.ZGZBZ2XZLZMALZZISOJARWAREARARCPIO
Levels 0 to 9 on ZIP, the Java archives, TAR.GZ and GZ. AES-256 or ZipCrypto password on ZIP. Single-file formats take one file.
Unpacks, then packs to your choice6
RARCABDEBRPMXARLHA
Drop one and its files are listed here, ready to pack into any format above.
Not handled here5
TAR.ZSTTAR.LZ4ZSTLZ4ARJ
Zstandard and LZ4 have no encoder in this browser build; the Archive Converter identifies them and ARJ from their first bytes.
inventory_2No files yetloading the packer…
deployed_codeSampledeleteClear
filesizesaves at level 6stored as
move_to_inboxDrop files or a folder hereAny kind of file. Archives you drop (RAR, CAB, DEB, RPM, LHA, 7Z, ZIP…) are unpacked first, so their contents can be packed again.
save as
.zipopens anywhere.7zsmallest.tar.gzLinux, servers.tar.bz2bzip2 tarball.tar.xzsmallest tarball.tarno compression
searchAll 32 formats · 21 written hereexpand_more
search
.
No format matches.
compression levelapplies to .zip
Fastlevel 1Normallevel 6Maximumlevel 9Ultralevel 9 · mem 12
6default
Deflate level 6, written by this page with fflate. The level test below shows what each step is worth on these files.
Store if no smallerfiles deflate cannot shrinkUnpack archivesRAR, 7Z, CAB… dropped in
AES-256WinZip AE-1, strongZipCryptoopens in Windows Explorer; weak
compressCompress to .zipCould not load the packer: Failed to fetch dynamically imported module: http://127.0.0.1:9777/js/main/general/archz-engine.js
~/every-level

Every level, measured on these files.

The level is the main choice an archive tool gives you. This packs the files above (or the sample project) as ZIP at all ten levels, then as TAR.GZ, TAR.BZ2, TAR.XZ and 7Z, timing each run on this device.

874.8 KBsmallest archive
56 msZIP level 9
14 of 14runs done
Uses the sample project: code, a CSV export, a server log, a JPEG and a WAV.speedMeasure every level
formatlevelarchive sizesavedtime to pack
ZIP0not run+-0.1%4 ms
ZIP1not run35.4%41 ms
ZIP2not run36.2%43 ms
ZIP3not run36.6%45 ms
ZIP4not run36.8%63 ms
ZIP5not run37%55 ms
ZIP6 (default)not run37.2%71 ms
ZIP7not run37.2%61 ms
ZIP8not run37.2%54 ms
ZIP9not run37.2%56 ms
TAR.GZ6 (default)not run37.1%60 ms
TAR.BZ2defaultnot run40.4%263 ms
TAR.XZdefaultnot run40.1%452 ms
7Zdefaultnot run39.8%555 ms
~/what-the-password-hides

A ZIP password hides the contents, not the list.

This page writes WinZip AES-256 (AE-1): a key stretched from your password with 1,000 rounds of PBKDF2-SHA1, AES in counter mode, and a 10-byte HMAC that catches tampering. Here is the first entry of the archive you just made, byte by byte.

visibilitySet a password with .zip selected and pack, or use the button below.
infoThe first entry is then taken apart here: header fields, salt, verifier, ciphertext and HMAC.
lockPack the sample with a test password
local header · readable without the password
file data · what the password protects
names anyone can list
~/all-32-formats

What this page does with each format.

Click a format this page writes to pick it above. Levels apply where the format has a level; TAR, ISO, CPIO and AR only bundle, so they come out about the size of the files plus headers.

formatwhat it isherelevel · password
Everyday3 formats
.3 formatsWhat is it →
ZIP
.zipZIPPKWARE, 1989; deflatewrites, and unpackslevels 0-9AES-256 or ZipCryptoselectedWhat is it →What is it →
7Z
.7z7Z7-Zip, LZMA2writes, and unpacksdefaultno passwordPack as thisWhat is it →
RAR
.rarRARRARLAB, proprietary; writing needs WinRARunpacks, then packs to your choiceno levelno passwordWhat is it →
Tarballs9 formats
.9 formatsWhat is it →
TAR
.tarTARbundles, does not compresswrites, and unpacksnoneno passwordPack as thisWhat is it →What is it →
TAR.GZ / TGZ
.tar.gzTAR.GZ / TGZTAR + gzipwrites, and unpackslevels 0-9no passwordPack as thisWhat is it →What is it →
TAR.BZ2 / TBZ2
.tar.bz2TAR.BZ2 / TBZ2TAR + bzip2writes, and unpacksdefaultno passwordPack as thisWhat is it →
TAR.XZ / TXZ
.tar.xzTAR.XZ / TXZTAR + xz (LZMA2)writes, and unpacksdefaultno passwordPack as thisWhat is it →
TAR.LZMA
.tar.lzmaTAR.LZMATAR + legacy LZMAwrites, and unpacksdefaultno passwordPack as thisWhat is it →
TAR.LZ
.tar.lzTAR.LZTAR + lzipwrites, and unpacksdefaultno passwordPack as thisWhat is it →
TAR.Z
.tar.ZTAR.ZTAR + Unix compress (LZW)writes, and unpacksnoneno passwordPack as thisWhat is it →
TAR.ZST
.tar.zstTAR.ZSTTAR + Zstandardnot handled on this pageno levelno passwordWhat is it →
TAR.LZ4
.tar.lz4TAR.LZ4TAR + LZ4not handled on this pageno levelno passwordWhat is it →
Single-file compressors8 formats
.8 formatsWhat is it →
GZ
.gzGZgzip, one file, RFC 1952writes, and unpackslevels 0-9no passwordPack as thisWhat is it →What is it →
BZ2
.bz2BZ2bzip2, one filewrites, and unpacksdefaultno passwordPack as thisWhat is it →
XZ
.xzXZxz, one filewrites, and unpacksdefaultno passwordPack as thisWhat is it →
LZMA
.lzmaLZMALZMA alone, one filewrites, and unpacksdefaultno passwordPack as thisWhat is it →
LZ
.lzLZlzip, one filewrites, and unpacksdefaultno passwordPack as thisWhat is it →
Z
.ZZUnix compress, one filewrites, and unpacksnoneno passwordPack as thisWhat is it →
ZST
.zstZSTZstandard, one filenot handled on this pageno levelno passwordWhat is it →
LZ4
.lz4LZ4LZ4 frame, one filenot handled on this pageno levelno passwordWhat is it →
Packages and disc images10 formats
.10 formatsWhat is it →
ISO
.isoISOISO 9660 disc imagewrites, and unpacksnoneno passwordPack as thisWhat is it →
JAR
.jarJARJava archive: ZIP + manifestwrites, and unpackslevels 0-9no passwordPack as thisWhat is it →
WAR
.warWARJava web application (a ZIP)writes, and unpackslevels 0-9no passwordPack as thisWhat is it →
EAR
.earEARJava enterprise archive (a ZIP)writes, and unpackslevels 0-9no passwordPack as thisWhat is it →
AR
.arARstatic libraries, .deb outer layerwrites, and unpacksnoneno passwordPack as thisWhat is it →
CPIO
.cpioCPIOinitramfs and RPM payloadswrites, and unpacksnoneno passwordPack as thisWhat is it →
CAB
.cabCABMicrosoft cabinetunpacks, then packs to your choiceno levelno passwordWhat is it →
DEB
.debDEBDebian package (an ar)unpacks, then packs to your choiceno levelno passwordWhat is it →
RPM
.rpmRPMRed Hat package (cpio inside)unpacks, then packs to your choiceno levelno passwordWhat is it →
XAR
.xarXARmacOS .pkg containerunpacks, then packs to your choiceno levelno passwordWhat is it →
Legacy2 formats
.2 formatsWhat is it →
LHA / LZH
.lhaLHA / LZHJapanese archiver, 1988unpacks, then packs to your choiceno levelno passwordWhat is it →
ARJ
.arjARJDOS archiver, 1991not handled on this pageno levelno passwordWhat is it →