What is a Z file?
Unix Compressed File
- Developed By
- Spencer Thomas et al.
- Initial Release
- 1984
- MIME Type
- application/x-compress
The .Z file extension refers to data compressed with the original Unix compress command, implementing the Lempel-Ziv-Welch (LZW) adaptive compression algorithm. It is a legacy format defined by a specific magic number header (0x1F 0x9D) and was the standard compression method on early BSD and System V Unix releases before the advent of the patent-free DEFLATE algorithm.
How to open a Z file
Due to its age, .Z files are rarely supported by default OS file explorers. Users on Unix-like systems can use uncompress or gunzip (which maintains backward compatibility). Windows users should utilize 7-Zip, which retains the necessary LZW decoders to expand these archives.