.CAB

CAB File

Windows Cabinet Archive
Ask a question
QUICK ANSWER

A CAB (Cabinet) file is Microsoft's compressed archive format, used to ship Windows drivers, updates, and installer payloads. On Windows, double-click it in File Explorer to browse, or use expand.exe and 7-Zip to extract. Most CAB files are consumed automatically by Windows setup or Windows Update and are not meant to be opened manually.

Developer: Microsoft Category: System Files Open standard MIME: application/vnd.ms-cab-compressed
OPENS ON Windows macOS Linux
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Jul 9, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the CAB file format?

.cab is an installer archive developed by Microsoft. Windows uses many automated software installation tools that utilize .cab archives. .cab files store system files, libraries, device drivers, network protocols, configuration files, and other resources needed by a given application to be installed.

Every .cab file begins with the four-byte ASCII signature MSCF (hex 4D 53 43 46) at byte offset 0, followed by a structured cabinet header. Its registered MIME type is application/vnd.ms-cab-compressed.

CAB file compression

Data in .cab archives is compressed using one of the following algorithms:

  • MSZIP (a deflate-compatible method, similar to a ZIP archive),
  • Quantum,
  • LZX.

Digital signature

Besides various compression methods, the .cab format also supports digital signatures. Digital signatures can be used to verify the authenticity of software packages stored in .cab files.

Other installer formats that use CAB

.cab archives are a core component of Windows Installer - .cab payloads are embedded in or referenced by .MSI packages and .MSU update bundles. On Windows, .cab files can be extracted with the built-in expand.exe command or browsed directly in File Explorer. Third-party tools may also consume .cab files, though compatibility with Windows-supplied packages is not guaranteed.

Security & safety

RISK: MEDIUM

A .cab is an archive, so its risk is the risk of its contents - driver/update cabs are safe from Microsoft and Windows Update, but a .cab from an unknown source can carry malicious executables or fake driver installers. Prefer signed cabinets; cabs delivered by Windows Update or vendor sites are verified, those attached to e-mails are not. Extract and inspect before running anything inside.

Format details

in a nutshell
FULL NAMEWindows Cabinet Archive
DEVELOPERMicrosoftsince 1990s (Microsoft Cabinet, MS-CAB); used since early Windows setup
CATEGORYSystem Files
MIME TYPEapplication/vnd.ms-cab-compressed
TYPECompressed archive container (binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4D534346
ASCII
MSCF
A cabinet file begins with the ASCII signature "MSCF" (4D 53 43 46) at offset 0, followed by reserved/zeroed fields and the cabinet header. Compression inside is typically MSZIP (deflate), Quantum, or LZX.

Programs that open CAB files

Windows5 apps
WinRAR Paid Open the .cab in WinRAR and Extract To a folder.
7-Zip Open-source Right-click → 7-Zip → Extract Here / Open archive.
PeaZip Open-source Open the cabinet and extract; PeaZip lists CAB among supported formats.
File Explorer (built-in) Built-in Double-click the .cab to browse it; drag files out, or right-click a file → Extract.
expand.exe / DISM (built-in) Built-in Run: expand driver.cab -F:* C:\out (or DISM /Add-Driver for driver cabs).
macOS1 app
The Unarchiver Free Double-click the .cab; The Unarchiver extracts Microsoft cabinets.
Linux2 apps
cabextract Open-source cabextract file.cab - purpose-built CLI extractor by Stuart Caie.
Xarchiver / GNOME Archive Manager Open-source Open the .cab in the GUI archive manager (uses cabextract under the hood).

Technical details

deep spec
File signature (magic bytes)`MSCF` - hex `4D 53 43 46` at byte offset 0
MIME type`application/vnd.ms-cab-compressed`
Format typeBinary compressed archive container
Compression algorithmsMSZIP (deflate-compatible), Quantum, LZX - one algorithm per cabinet folder
Internal structureCabinet header → folder descriptors → file entries → compressed data blocks
Multi-cabinet spanningLarge archives can be split across multiple `.cab` files, linked via next/previous cabinet name fields in the header
Maximum files per cabinetUp to 65,535 files in a single cabinet
Folder-level compressionEach folder within a cabinet is compressed independently, allowing mixed compression algorithms in one archive
Digital signature supportSupports Authenticode code-signing for verifying the authenticity of packaged content
Per-file metadataStores filename, uncompressed size, last-modified date and time, and DOS file attributes
Cabinet checksumOptional 32-bit checksum fields at cabinet and data-block level for integrity verification
Windows built-in tools`expand.exe` (command-line extraction), File Explorer (GUI browse), `dism.exe` for Windows Update `.cab` packages
DeveloperMicrosoft Corporation
Deployment integrationPayloads are embedded in or referenced by `.msi` Windows Installer packages, `.msu` update bundles, and `.exe` self-extractors
Released1990s (Microsoft Cabinet, MS-CAB); used since early Windows setup
Open standardYes · royalty-free
Specificationlearn.microsoft.com

CAB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CAB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about CAB files.

Frequently asked questions

How do I open a .cab file on Windows?
Double-click it in File Explorer to browse, then drag files out - no extra software needed. For whole-cab extraction use expand.exe, 7-Zip, or PeaZip.
How do I extract a driver .cab to install it?
Extract with 'expand driver.cab -F:* C:\folder' (or 7-Zip), then in Device Manager point Update Driver at the folder containing the .inf. For OS packages use DISM /Add-Driver.
What's the difference between CAB and ZIP?
Both are compressed archives. CAB is Microsoft's format used internally by Windows setup/updates and can be digitally signed and split across multiple cab files; ZIP is the cross-platform general-purpose archive.
Can I open a CAB file on Mac or Linux?
Yes. On macOS use The Unarchiver; on Linux use cabextract or any GUI archive manager built on it.
Why can't I just double-click my .cab to install something?
A cab is only a container. Drivers need the extracted .inf installed via Device Manager; OS packages need DISM or Windows Update - the cab itself doesn't run.

References

1Microsoft - Microsoft Cabinet File Formatlearn.microsoft.com
2Microsoft - DISM overviewlearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z