Convert ZIP to CAB
Create a Windows CAB from ZIP contents with makecab, online services, and compatibility checks.
Convert ZIP files online
We don’t have a dedicated online converter for ZIP to CAB yet, but you can convert ZIP files online to these and more formats:
Want to convert ZIP to CAB?
Let us know. We pick the conversions to add next by how many people ask for them.
How to convert zip to cab file
- Archives
- No ratings yet.
.zip to .cab only renames the file.
What the ZIP format is
ZIP is a general-purpose archive format that stores one or more files and folders, normally compressing each file separately. Windows File Explorer, macOS Archive Utility, 7-Zip, WinZip, and many other tools can open it.
ZIP is common for software downloads, email attachments, source-code packages, backups, and file transfers because major operating systems support it directly. An archive may also contain encryption, comments, timestamps, permissions, and other metadata, depending on the software that created it. Those features are not necessarily transferable to CAB.
What the CAB format is
CAB, or Microsoft Cabinet, is a Windows archive format used by installers, device-driver packages, Windows components, and deployment systems. It can store multiple files, preserve a directory structure, and split a large package across a cabinet set.
CAB supports Microsoft compression methods including MSZIP and LZX. Windows tools such as makecab.exe can create it, while expand.exe, Windows components, and 7-Zip can usually extract it. CAB has no general-purpose equivalent to ZIP encryption, and a normal CAB file is not an installer, signed driver package, or deployment manifest by itself.
Convert it with Windows makecab
makecab.exe is the most suitable built-in Windows tool for creating a CAB when the receiving program needs a normal cabinet archive. If it is not present, obtain it from an official Windows SDK or ADK rather than an untrusted download.
- Extract the ZIP to a working directory such as
C:\Work\extractedwith 7-Zip or File Explorer. Do not place the original ZIP inside the directory being packaged. - Open PowerShell in
C:\Work. The following commands create a DDF file list, retaining each file's relative subdirectory:
$root = (Resolve-Path .\extracted).Path
$lines = @(
'.OPTION EXPLICIT',
'.Set CabinetNameTemplate=package.cab',
'.Set DiskDirectoryTemplate=.',
'.Set CompressionType=LZX',
'.Set CompressionMemory=21',
'.Set Cabinet=on',
'.Set Compress=on'
)
Get-ChildItem $root -File -Recurse | ForEach-Object {
$relative = $_.FullName.Substring($root.Length + 1)
$quotedSource = [char]34 + $_.FullName + [char]34
$quotedTarget = [char]34 + $relative + [char]34
$lines += ($quotedSource + ' ' + $quotedTarget)
}
Set-Content -Encoding ASCII .\cabinet.ddf $lines
- Run the cabinet compiler from the same directory:
makecab /F .\cabinet.ddf
The command creates C:\Work\package.cab. The second path on each DDF file-list line controls the name and relative path inside the cabinet, so it must match the layout expected by the installer or deployment tool.
Use .Set CompressionType=MSZIP instead of LZX if the target documentation requires MSZIP. Some consumers accept only one compression method or require a particular cabinet name, internal path, or cabinet set.
Other desktop options
7-Zip is useful for extracting the source ZIP and testing the resulting CAB, but standard 7-Zip builds generally do not create CAB files. Older Microsoft Cabinet SDK distributions include cabarc.exe, which can create cabinets from a file list, but its switches and availability vary; use its own /? help and prefer makecab.exe when possible.
For a non-sensitive, ordinary archive, a reputable online service such as Convertio or Zamzar may offer ZIP-to-CAB conversion. Confirm that the service currently lists CAB as the output format, upload the ZIP, select CAB, start the conversion, and download the result. Online services impose changing size and format limits, and uploading drivers, installers, source code, or proprietary data gives a third party access to the files.
Check compatibility and data quality
- Extract the resulting CAB with 7-Zip and compare its files with the extracted ZIP contents. The uncompressed file data should remain byte-for-byte identical, but compression size can increase or decrease.
- ZIP encryption, archive comments, and some filesystem permissions or timestamps are normally lost during extraction and repackaging. CAB does not reproduce every ZIP feature.
- Preserve exact filenames and relative directories. Windows normally ignores filename case, but installers and deployment scripts may compare paths in a case-sensitive way.
- A CAB made from arbitrary files does not acquire an INF file, catalog, digital signature, installer metadata, or Windows component identity. Add those separately when the receiving system requires them.
- Large packages may produce multiple cabinets when DDF cabinet or disk limits are configured. Verify that the receiving application accepts a cabinet set rather than only one named
.cabfile. - Test the cabinet with the actual installer or deployment tool. A CAB that extracts successfully can still fail if that tool expects a specific compression method, internal layout, filename, signature, or companion files.
ZIP vs CAB: format comparison
How the ZIP and CAB formats compare on the properties that matter most for this conversion.
| Property | .ZIP ZIP archive | .CAB Cabinet archive |
|---|---|---|
| Compression | Both | Both |
| Compression ratio | Medium | Medium |
| Encryption | Yes | No |
| Split archives | Yes | Yes |
| Recovery record | No | No |
| Operating system support | Wide | Wide |
| Typical file size | Medium | Medium |
| Open standard | Yes | No |
| Introduced | 1989 | 1996 |
| Developer | Phil Katz / PKWARE | Microsoft |
| MIME type | application/zip | application/vnd.ms-cab-compressed |
Information about file extensions and file types is provided by File-Extensions.org
Suggested software and links: zip to cab converters
Additional formats for
zip file conversion
- zip to pkg
- zip to exe
- zip to aia
- zip to 7z
- zip to jar
- zip to xpi
- zip to xapk
- zip to word
- zip to zipx
- zip to pak
- zip to 001
- zip to 002
- zip to 7-zip
- zip to 7zip
- zip to ace
- zip to alz
- zip to app
- zip to arc
- zip to arj
- zip to avi
- zip to b1
- zip to bz2
- zip to deb
- zip to docx
- zip to egg
- zip to gz
- zip to jpg
- zip to lha
- zip to lzh
- zip to mkv
- zip to obb
- zip to png
- zip to pzip
- zip to rar
- zip to sit
- zip to sitx
- zip to tar
- zip to tar.bz2
- zip to tar.gz
- zip to tar.xz
- zip to tar.zst
- zip to tgz
- zip to txt
- zip to wav
- zip to wave
- zip to webm
- zip to xap
- zip to z