Convert RAR to CAB
Extract a RAR archive and package its contents as a Microsoft CAB file.
Convert RAR files online
We don’t have a dedicated online converter for RAR to CAB yet, but you can convert RAR files online to these and more formats:
Want to convert RAR to CAB?
Let us know. We pick the conversions to add next by how many people ask for them.
How to convert rar to cab file
- Archives
- No ratings yet.
Programs such as Windows deployment tools, installers, and older Microsoft utilities may require a Cabinet file instead of a RAR archive. Converting it means extracting the RAR contents and building a new CAB archive; the original RAR compression is not transferred.
What the RAR format is
RAR is a proprietary archive format created by Eugene Roshal and commonly produced by WinRAR or the rar command-line utility. It supports compression, password-based encryption, recovery records, solid archives, and multi-volume sets such as archive.part1.rar. You commonly encounter RAR files in software downloads, backup sets, and shared collections of files.
WinRAR, 7-Zip, PeaZip, and compatible command-line tools can extract RAR archives. A password-protected RAR must be unlocked before its contents can be repackaged.
What the CAB format is
CAB, or Microsoft Cabinet, is an archive format designed for software distribution and Windows installation workflows. Microsoft installers, device-driver packages, Windows servicing tools, and deployment systems use CAB files to store one or more compressed files.
CAB supports compression methods such as MSZIP and LZX, can divide large archives across cabinet volumes, and integrates with Windows tools including expand.exe, makecab.exe, and DISM. It is preferable to ZIP or RAR when a particular Windows installer or deployment utility explicitly requires CAB.
How to actually convert RAR to CAB
Using WinRAR and MakeCab on Windows
- Install WinRAR or 7-Zip. In WinRAR, open the RAR file and choose Extract To; in 7-Zip, choose 7-Zip → Extract to “archive\”.
- Extract the contents into a working folder such as
C:\Work\Extracted. Preserve the directory structure if the software expects relative paths. - Open Command Prompt and create a Cabinet directive file, for example
C:\Work\cab.ddf, containing:.OPTION EXPLICIT
.Set CabinetNameTemplate=output.cab
.Set Cabinet=on
.Set Compress=on
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set DiskDirectoryTemplate=.
C:\Work\Extracted\file1.dll
C:\Work\Extracted\setup.exe - Replace the example file paths with every file to include. Add one path per line; use quoted paths if a path contains spaces.
- Run
makecab /F C:\Work\cab.ddffrom Command Prompt. Windows writesoutput.cabto the directory specified byDiskDirectoryTemplate, usually the current directory. - Test the result with
expand -D output.cabto list its contents, or extract it withexpand output.cab -F:* C:\Work\Test.
makecab.exe is included with supported Windows installations and Windows SDK components. If it is not available, install the Windows SDK or use Microsoft Cabinet SDK tools such as cabarc.exe.
Using a graphical CAB creation utility
Extract the RAR with WinRAR, then use a CAB-capable utility such as CabPack or a Cabinet SDK front end to select the extracted files, choose MSZIP or LZX compression when offered, set the output filename, and create the cabinet. Verify that the utility creates a standard Microsoft CAB rather than merely renaming the extension.
Online services
Online archive converters such as CloudConvert or Convertio may support RAR extraction, but CAB output is not consistently available. Check the supported output formats before uploading; do not use an online service for confidential files, installer source, credentials, or encrypted archives.
Quality, compatibility, and limitations
This is a repackaging operation: files are decompressed from RAR and compressed again using CAB, so the result may have a different size and cannot preserve RAR-specific features such as recovery records, solid-block settings, or RAR volumes.
CAB is not a general replacement for RAR. Its file and cabinet size limits, compression method support, and multi-cabinet behavior depend on the consuming Windows tool. If an installer expects a specific internal filename, folder layout, compression method, or catalog signature, copying the files into a CAB will not recreate those installer metadata requirements; use the original vendor packaging process or the relevant Windows SDK instead.
RAR vs CAB: format comparison
How the RAR and CAB formats compare on the properties that matter most for this conversion.
| Property | .RAR Roshal Archive | .CAB Cabinet archive |
|---|---|---|
| Compression | Both | Both |
| Compression ratio | High | Medium |
| Encryption | Yes | No |
| Split archives | Yes | Yes |
| Recovery record | Yes | No |
| Operating system support | Wide | Wide |
| Typical file size | Small | Medium |
| Open standard | Partly open | No |
| Introduced | 1993 | 1996 |
| Developer | WinRAR GmbH / Alexander Roshal | Microsoft |
| MIME type | application/vnd.rar | application/vnd.ms-cab-compressed |
Information about file extensions and file types is provided by File-Extensions.org
Suggested software and links: rar to cab converters
Additional formats for
rar file conversion
- rar to pkg
- rar to zip
- rar to mp4
- rar to jpeg
- rar to iso
- rar to exe
- rar to word
- rar to tar.zst
- rar to 7zip
- rar to jpg
- rar to 001
- rar to 002
- rar to 7z
- rar to 7z.001
- rar to ace
- rar to arc
- rar to arj
- rar to avi
- rar to deb
- rar to doc
- rar to egg
- rar to gz
- rar to ipa
- rar to mpeg
- rar to png
- rar to tar
- rar to tar.bz2
- rar to tar.gz
- rar to tar.xz
- rar to tbz
- rar to tgz
- rar to txt
- rar to wav
- rar to wave
- rar to webm
- rar to wma
- rar to z