.cab Microsoft Cabinet archive

Archives & packages

MIME typeapplication/vnd.ms-cab-compressed
DescriptionMicrosoft Cabinet archive
CategoryArchives & packages
Signature (magic bytes)4D 53 43 46 00 00 00 00 (MSCF....)

Frequently asked questions

What is a .cab file?

A .cab file is a “Microsoft Cabinet archive” (MIME type application/vnd.ms-cab-compressed).

How do I open a .cab file?

With an archive tool such as 7-Zip (Windows) or the built-in archive manager on macOS or Linux. On the command line, use tar, unzip or 7z depending on the format.

How can you tell a genuine .cab file?

By the bytes at the start of the file, the signature (magic bytes): 4D 53 43 46 00 00 00 00 (MSCF....). On Linux and macOS, file --mime-type example.cab checks the real type regardless of the extension.

Which MIME type belongs to .cab?

The MIME type is application/vnd.ms-cab-compressed. In the Apache web server: AddType application/vnd.ms-cab-compressed .cab; in nginx: types { application/vnd.ms-cab-compressed cab; }.

Nearby entries