Skip to content

Archives & Compression (ZIP/RAR)

An encyclopedic reference on archive file formats (ZIP, RAR, 7z, TAR, gzip) and the lossless data-compression concepts behind them, covering how the formats and algorithms work, their history, and practical use for backup and file transfer. Vendor-neutral and standards-first, grounded in public specifications rather than product marketing.

Planned cluster · long-term capacity 2644

Entities

format

ZIP · RAR · 7z · TAR · gzip · bzip2 · Zstandard · Brotli

standard

DEFLATE · PKWARE APPNOTE · RFC 1951 (DEFLATE) · RFC 1952 (gzip) · ISO/IEC 21320-1

concept

LZ77 · Huffman coding · LZMA · CRC-32

product

PKZIP · 7-Zip

organization

Info-ZIP

Connected clusters

In the archive

Pages in this cluster

Planned coverage

  • What Is a ZIP File?Defines the ZIP container format, what it stores, and how it bundles plus compresses multiple files into one archive.
  • What Is a RAR File?Explains the proprietary RAR archive format, its typical uses, and why it needs specific software to create and open.
  • What Is the 7z Format?Describes the open 7z format and its association with the 7-Zip tool, including its use of LZMA-family compression.
  • What Is a TAR Archive?Explains TAR as a Unix bundling format that stores files without compressing, and why it is paired with gzip or bzip2.
  • What Is gzip?Covers the gzip format and its DEFLATE-based single-stream compression as defined in RFC 1952.
  • What Is File Compression?Foundational explainer distinguishing archiving from compression and introducing lossless data reduction.
  • Lossless vs. Lossy CompressionContrasts the two families of compression and explains why archive formats are strictly lossless.
  • How DEFLATE Compression WorksExplains the DEFLATE algorithm (RFC 1951) as the combination of LZ77 dictionary matching and Huffman coding.
  • LZ77 and Dictionary-Based CompressionDescribes how sliding-window dictionary methods replace repeated byte sequences with back-references.
  • Huffman Coding ExplainedIntroduces entropy coding and how variable-length codes shorten frequently occurring symbols.
  • The History of the ZIP FormatTraces ZIP from PKWARE's PKZIP and the public APPNOTE specification to its role as a universal container.
  • ZIP vs. RAR: How the Formats DifferVendor-neutral comparison of open ZIP versus proprietary RAR across openness, tooling, and features like solid archives.
  • Understanding Compression RatiosExplains what a compression ratio measures and why results depend heavily on the input data's redundancy.
  • What Is a Checksum?Explains CRC-32 and integrity checks stored in archives to detect corruption during storage or transfer.
  • How ZIP Encryption WorksDescribes legacy ZipCrypto versus AES-based encryption for password-protected ZIP archives, at a conceptual level.
  • What Is a Solid Archive?Explains solid compression in RAR and 7z, where files are treated as one stream to improve ratio, with its trade-offs.
  • Self-Extracting Archives ExplainedDescribes SFX archives that bundle an extractor executable, and the portability and safety considerations involved.
  • Multi-Volume and Split ArchivesExplains splitting large archives into numbered volumes for size-limited media or transfer, and how they rejoin.
  • tar.gz and Tarballs ExplainedExplains the common tar.gz/tgz combination of TAR bundling plus gzip compression widely used on Unix systems.
  • What Is Zstandard (zstd)?Introduces the modern zstd lossless algorithm, its dictionary approach, and where it fits among older formats.
  • Compressing Files for Email and TransferPractical, tool-neutral workflow for archiving multiple files to share, with notes on size limits and integrity.
  • Using Archives for BackupsExplains how archive formats support backup by consolidating files, preserving structure, and verifying integrity.
  • What Is bzip2?Covers bzip2's Burrows-Wheeler-transform approach and how it differs from DEFLATE-based gzip.
  • Common Archive Formats ComparedOverview page mapping ZIP, RAR, 7z, TAR, and gzip by openness, compression method, and typical platform.