What is CAB? Windows Cabinet Archive Format Explained
Microsoft's compressed archive format for bundling and installing Windows software components.
Last updated:
What is CAB?
CAB, short for Cabinet, is an archive file format developed by Microsoft for the Windows platform. It supports lossless data compression and can store embedded digital certificates to verify the integrity of the archived contents.
A cabinet file is identified by the magic bytes 'MSCF' at the start of the file and groups multiple files into folders that are compressed as a unit. It can use either the MSZIP (DEFLATE-based) or the more efficient LZX compression algorithm, and large installations can span multiple cabinet volumes.
How CAB Works
A .cab file is a Microsoft Cabinet, an archive format built specifically for packaging Windows software for installation. Like ZIP it both bundles and compresses files in a single container, but it is engineered around the needs of installers: reliable extraction, strong compression, and the ability to span an archive across multiple files or media, a feature that mattered when software shipped on several floppy disks or CDs.
Inside, a cabinet is organized into folders, which are compression units rather than directories, each holding one or more files compressed together as a continuous stream. Compressing related files in the same folder lets the algorithm exploit similarity between them for a better ratio, an idea sometimes called solid compression. A header and folder tables describe the layout so the extractor can locate each file.
CAB supports several compression methods, the most capable being LZX, a strong LZ-based algorithm, alongside the lighter MSZIP (a DEFLATE variant) and the option of no compression. LZX in particular gives cabinets a notably good ratio for their era, which is one reason Microsoft used the format so widely for system components.
Because it was designed for installers, CAB integrates tightly with Windows: the operating system can read cabinets natively, and they are the payload inside many .msi installer packages and Windows update bundles. Tools like expand and extract unpack them, and the format supports digital context that installers rely on to place files correctly.
History and Standardization
Microsoft introduced the Cabinet format in the 1990s as the standard way to distribute and install Windows software, replacing looser collections of compressed files. It quickly became a core part of the Windows setup and update machinery.
CAB is a proprietary Microsoft format rather than an open standard, though Microsoft published documentation describing its structure, which allowed third-party and open-source tools to read and create cabinets. That documentation is why utilities outside Windows can extract .cab files today.
The format remains deeply embedded in the Windows ecosystem. It underlies MSI installers, driver packages, and Windows Update, so even though ordinary users rarely handle a .cab directly, the format is quietly involved almost every time Windows software is installed or updated.
CAB Compared to ZIP and MSI
Against ZIP, CAB's advantages are its stronger LZX compression and its solid-compression folders, which let it pack similar files more tightly than ZIP's per-file approach. ZIP is far more universal across platforms, so CAB is chosen where its Windows integration and installer features are the point rather than portability.
CAB is easy to confuse with MSI, but they are different layers. An .msi is a Windows Installer database that describes what to install and how, and it frequently contains or references CAB files that hold the actual compressed payload. So CAB is the packaging of the bytes, while MSI is the installation logic around them.
For everyday file sharing CAB offers little reason to choose it over ZIP or a modern high-ratio archiver, and its cross-platform support, while present, is less seamless. Its enduring value is specific: it is the native, well-integrated container for delivering software and system files inside Windows.
MKV Technical Specifications
CAB vs Other Archive Formats
| Feature | CAB | ZIP | 7z |
|---|---|---|---|
| Compression algorithm | LZX / MSZIP[2] | DEFLATE | LZMA / LZMA2 |
| Compression ratio | High | Moderate | Very high |
| Open/proprietary | Microsoft[1] | Open | Open |
| OS support | Mainly Windows | Universal | Cross-platform |
| Best for | Windows installers[3] | General sharing | Max compression |
CAB integrates tightly with Windows setup tooling, while ZIP and 7z are more portable across platforms.
Advantages & Disadvantages
Advantages
Supports the LZX algorithm, which achieves higher compression ratios than the DEFLATE-based MSZIP method.
Cabinets can carry embedded digital certificates, allowing Windows to verify authenticity before installation.
A single logical archive can be split across several .cab files to suit removable media or download chunks.
CAB is handled directly by Windows Setup, Windows Update, and built-in tools such as expand and extract.
Disadvantages
Tooling and ecosystem support are concentrated on Windows, with limited native handling on other platforms.
CAB has largely been superseded by MSI, APPX/MSIX, and modern installer formats for application distribution.
It is rarely chosen for everyday file compression compared with ZIP or 7z.
Common Use Cases
CAB is used primarily within the Windows software distribution and installation pipeline.
Software installation
Setup packages and MSI installers store compressed payloads inside cabinet files.
Device drivers
Windows driver packages and Windows Update deliver components as signed CAB archives.
System updates
Windows servicing uses CAB files to package and deploy operating system updates.
Convert CAB Files Free
Use our free online archive converter to convert CAB and other formats - no signup, no watermarks.
Try Archive Converter FreeHow to open a CAB file
CAB files, or Windows Cabinet Archive files, are commonly used for compressing and packaging multiple files into a single archive. Software for handling CAB files falls into several categories: professional tools for enterprise use, free and open-source options for casual users, browser-based tools for quick access, and built-in utilities in operating systems. Each category serves different user needs, from comprehensive features in professional software to simplicity in built-in tools.
When choosing software for CAB files, key factors include feature fidelity, the ability to edit versus just view, cost, and platform compatibility. Some users may prioritize free options, while others might require advanced features available in paid software. Additionally, understanding when to convert CAB files to other formats can influence the choice of software, especially if interoperability with other systems is necessary.
WinRAR 6.21
WinRAR is a powerful file compression tool that supports CAB files among many other formats. It allows users to extract and create CAB archives with high fidelity, maintaining file integrity during the process.
- Extracts CAB files quickly and efficiently
- Creates new CAB archives from files
- Supports multi-volume CAB archives
- Integrates with Windows Explorer context menu
- Offers strong AES-256 encryption for archives
- Robust compression algorithms available
- User-friendly interface for beginners
- Regular updates and support from developers
- Paid software may deter some users
- Limited editing capabilities for CAB files
Exports to: ZIP, RAR, TAR, GZ
Best for: WinRAR is ideal for users needing a comprehensive tool for managing CAB files with advanced compression features.
Visit WinRAR →7-Zip 22.01
7-Zip is a free and open-source file archiver that supports CAB file extraction and creation. It is known for its high compression ratio and ability to handle various archive formats, including CAB.
- Extracts CAB files with high fidelity
- Creates new CAB archives easily
- Supports command line interface for automation
- Integrates with Windows context menu
- Multi-threaded compression for faster processing
- Completely free with no limitations
- Lightweight and efficient performance
- Supports a wide range of formats
- Interface may seem outdated to some users
- Limited support for advanced features
Exports to: ZIP, TAR, GZ, BZ2
Best for: 7-Zip is perfect for users seeking a free, efficient tool for handling CAB files without any cost.
Visit 7-Zip →PeaZip 9.2.0
PeaZip is an open-source file manager and archiver that supports CAB files among many other formats. It provides a user-friendly interface and various features for managing archives, including extraction and creation of CAB files.
- Extracts and creates CAB files seamlessly
- Supports batch processing of multiple archives
- Offers strong encryption options for security
- Includes file integrity checks for archives
- Customizable interface with themes
- User-friendly and visually appealing interface
- Comprehensive format support beyond CAB
- Frequent updates and community support
- Performance can lag with very large files
- Fewer advanced features compared to paid tools
Exports to: ZIP, TAR, 7Z, ARC
Best for: PeaZip is suitable for users who want a visually appealing, free tool to manage CAB files with robust features.
Visit PeaZip →WinZip 26.0
WinZip is a well-known file compression utility that supports CAB files, allowing users to extract and create archives easily. It offers a range of features for file management and sharing, making it suitable for both personal and professional use.
- Extracts CAB files with ease
- Creates new CAB archives quickly
- Cloud integration for file sharing
- Built-in file encryption and password protection
- File conversion options to other formats
- Comprehensive features for file management
- Strong cloud integration capabilities
- User-friendly interface with tutorials
- Subscription model may not appeal to all
- Higher cost compared to free alternatives
Exports to: ZIP, PDF, JPG, PNG
Best for: WinZip is best for users who need a professional-grade tool for managing CAB files with extensive features and cloud support.
Visit WinZip →