.CMP

CMP File

PKWARE Data Compression Library archive
Ask a question
QUICK ANSWER

A .cmp file is most often a raw PKWARE DCL (Data Compression Library) compressed stream, but the extension is also used for JEDMICS C4 scanned images, Yamaha keyboard data, and CAD color-map files. There is no universal opener. The right tool depends on which program created the file, so inspect the file in a hex editor first.

Developer: PKWARE, Inc. Category: Compressed Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Sep 6, 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 CMP file format?

.cmp is an archive file produced by the PKWARE Data Compression Library (DCL). The format was created by PKWARE, an IT security and data-compression company. It applies the DCL Implode algorithm - a sliding-window method related to, but predating, the DEFLATE used in standard ZIP archives - to compress a single data stream, with no internal file-name table or directory structure.

A .cmp stream begins with one or two header bytes that encode the literal-coding mode (binary or ASCII) and the dictionary size: 1 KB, 2 KB, or 4 KB. These are followed by a sequence of length, distance, and literal tokens and a terminating end-of-stream marker. There is no fixed magic-byte signature, so identification depends on knowing the producing application.

DCL-compressed data is most often found embedded inside other formats - legacy game archives, older installer packages, and proprietary data containers - rather than stored as stand-alone .cmp files. The .cmp extension is heavily reused by many unrelated programs, so context is essential for correct identification.

PKWARE also offers the PKWare Platform, a wider enterprise solution for managing secure document exchange within organizations. .cmp files tied to that platform are not interchangeable with generic DCL streams. Tools that can work with DCL .cmp data include blast (the DCL decompressor in the zlib source tree), as well as hex editors such as 010 Editor and ImHex for inspection and analysis.

Security & safety

RISK: LOW

A DCL .cmp is passive compressed data and not executable, so the file type itself is low risk. The practical danger is misidentification: a .cmp may actually be a different (possibly proprietary) format, and decompressing untrusted compressed data with a buggy decompressor could in theory trigger memory bugs. Inspect with a hex editor and use maintained tools (zlib's blast) rather than random "CMP opener" downloads, many of which are PUP/adware.

Format details

in a nutshell
FULL NAMEPKWARE Data Compression Library archiveaka PKWARE DCL compressed file, DCL Implode stream
DEVELOPERPKWARE, Inc.since 1990s (PKWARE Data Compression Library, DCL)
MIME TYPEapplication/octet-stream
TYPEBinary DCL (Implode) compressed data stream
This extension is also used by…
  • JEDMICS C4 compressed image (CALS Raster Type 4) - U.S. DoD bitmapped image: 128-byte header, tile index, then 512x512 CCITT Group 4 tiles - same .cmp (or .c4) extension, unrelated to PKWARE.
  • Yamaha keyboard performance/setup file - Some Yamaha PSR/Tyros arranger keyboards save registration/performance data with a .cmp extension.
  • Generic 'compare' / bitmap component file - Various CAD, GIS and imaging tools emit .cmp for color-map, comparison or component data.

Programs that open CMP files

Windows2 apps
PKWARE PKZIP / SecureZIP Paid Vendor tooling that understands the DCL algorithm (the library that produces .cmp); use only if the file is genuinely a PKWARE DCL stream.
ImHex / 010 Editor (hex inspection) Open-source Open in a hex editor to inspect the header bytes and confirm whether it is DCL, a JEDMICS C4 image, or another format.
Linux1 app
blast (zlib contrib DCL decompressor) Open-source Compile blast.c (by zlib author Mark Adler) and run it on the .cmp to explode a PKWARE DCL stream.

Technical details

deep spec
Compression algorithmDCL Implode - an LZ77/Huffman sliding-window method developed by PKWARE, distinct from DEFLATE
Dictionary size optionsThree sizes selectable via header flag: 1 KB (flag 4), 2 KB (flag 5), or 4 KB (flag 6)
Literal coding modesBinary mode (0) or ASCII mode (1), chosen by the first header byte to optimise token coding for the data type
File structureRaw single-stream compressed data - no internal directory, file names, or multi-file archive wrapper
Magic bytes / signatureNone - the first bytes are DCL header flags encoding mode and dictionary size, not a fixed magic number
Byte orderLittle-endian bit and byte stream
MIME typeapplication/octet-stream (no format-specific MIME type registered for DCL .cmp)
Extension ambiguityThe .cmp extension is heavily overloaded and reused by many unrelated applications; the producing program must be known for correct identification
Typical embedding contextDCL streams most often appear as blocks inside legacy game archives, older installer packages, and proprietary data containers rather than as stand-alone .cmp files
Encryption supportNot supported - DCL is a pure compression algorithm; encryption must be applied at the container level separately
Canonical open-source decompressorblast - included in the zlib source tree (contrib/blast/) and written specifically to decode DCL Implode streams
Relationship to PKZIP ImplodeDCL Implode is a separate algorithm from PKZIP Implode (compression method 6); they share a name but are not interchangeable
End-of-stream markerA dedicated end token embedded in the bit stream signals termination, independent of the physical file size
Associated platformsWindows and DOS (legacy origin); cross-platform via DCL library embedding in third-party application code
Typical file size1 KB to several MB depending on source data; the small dictionary limits compression ratio compared to modern algorithms
Released1990s (PKWARE Data Compression Library, DCL)
Latest versionPKWARE DCL (the 'implode'/'explode' algorithm; not separately versioned)
Specificationwww.pkware.com

CMP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with CMP 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 CMP files.

Frequently asked questions

What program opens a .cmp file?
It depends on which .cmp you have. A PKWARE DCL stream is decompressed with the PKWARE library or zlib's 'blast' tool. But .cmp is also used by JEDMICS C4 images and Yamaha keyboards - identify the source program first; there is no universal opener.
Is a CMP file a ZIP archive?
No. A PKWARE DCL .cmp is a raw compressed stream with no file names or directory, unlike ZIP. You can decompress the data and then put it into a ZIP yourself.
How do I decompress a PKWARE DCL .cmp on Linux?
Use 'blast', a small DCL decompressor by zlib's author in the zlib contrib directory. Compile blast.c and feed it the .cmp to recover the original bytes.
Why won't zlib/gzip open my .cmp?
PKWARE's DCL 'implode' is a different algorithm from gzip/DEFLATE, so standard zlib calls fail. You need the DCL-specific 'blast' decompressor, not gunzip.
My .cmp is actually an image - what is it?
It may be a JEDMICS C4 (CALS Raster Type 4) scanned drawing. Those use a 128-byte header and CCITT Group 4 tiles and need a CALS/C4-capable image viewer, not a ZIP tool.

References

1Just Solve the File Format Problem - JEDMICS C4fileformats.archiveteam.org

Keep exploring

across the database

Top extensions this week

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

Related extensions

.RARRAR Archive (Roshal ARchive)
.ZIPZIP Archive
.Z01Split ZIP Archive - First Part
.7Z7-Zip Archive
.001Split / multi-volume archive - first part (.001)
.ZIRenamed / Truncated ZIP Archive

Free file tools

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

Open the toolbox

Browse file extensions A-Z