gz (.gz ) | Moderate | Fast / Fast | No native (use gpg ) | Widely supported and fast for most general uses. | YesGNU GPL |
bzip2 (.bz2 ) | Better than gzip | Slow / Moderate | No native (use gpg ) | Higher compression ratio and robust error detection. | YesBSD |
xz (.xz ) | Best | Very slow / Fast | No native (use gpg ) | Highest compression ratio; slow compression speed. | YesGNU GPL |
zip (.zip ) | Moderate | Fast / Fast | Built-in encryption | Commonly used with built-in encryption and wide software support. | YesVarious (Info-ZIP) |
tar (.tar ) | Depends on method | Fast (archive only) / Fast (archive only) | No native (use gpg ) | Primarily used for archiving; compression depends on additional tools. | YesGNU GPL |
7z (.7z ) | Excellent | Moderate / Slow at high settings | AES-256 encryption | Excellent compression with advanced encryption options. | YesLGPL |
rar (.rar ) | Good | Moderate / Moderate | AES-256 encryption | Includes error recovery and strong encryption; proprietary format. | NoProprietary |
lzma (.lzma ) | Very high | Very slow / Moderate | No native (use gpg ) | High compression ratio with reliable decompression; requires separate decompressor. | YesGNU GPL |