What is an XZ file?
XZ Compression Format
- Developed By
- Tukaani Project (Lasse Collin)
- Initial Release
- 2009
- MIME Type
- application/x-xz
The XZ format is a single-file compression container utilizing the LZMA2 algorithm, designed as a modern replacement for the POSIX gzip and bzip2 formats. It features a streamable structure with index integrity checks via CRC32 or SHA-256 and supports dictionary sizes up to 4 GB. The format is maintained by the Tukaani Project and is the default compression method for software package distribution in many Linux ecosystems (e.g., Fedora, Arch).
How to open an XZ file
XZ files are natively supported on most modern Linux distributions via the xz-utils package. On Windows and macOS, users must install third-party archiving tools; 7-Zip (Windows) and The Unarchiver (macOS) provide robust support for decoding the LZMA2 streams used in XZ files.