Convert TAR.XZ to TAR.XZ Online

Instantly convert TAR.XZ files to TAR.XZ format on your device.

Member avatarMember avatarMember avatar

Over 50,000+ safe users and teams

GDPR and CCPA Compliant

How to compress TAR.XZ files

  1. 1. Add your TAR.XZ files

    Drop your TAR.XZ files into the converter above, or click to select them. You can add several at once.

  2. 2. Click Convert

    Choose a compression level in the options if you need to, then click Convert.

  3. 3. Download your TAR.XZ files

    Download your TAR.XZ files one by one, or all together in a zip with Download all.

What is TAR.XZ?

TAR.XZ is a TAR archive compressed with xz: files are bundled into one TAR file, then compressed with the LZMA2 algorithm. It usually produces the smallest archives of the TAR family, which is why Linux distributions and many open-source projects use it for their releases.

The xz format was released in 2009 by Lasse Collin as part of XZ Utils, building on the LZMA algorithm popularized by 7-Zip. Compressing to xz is slower than gzip, but decompression stays reasonably fast, a good trade-off for files that are compressed once and downloaded many times.

Like other compressed TAR formats, TAR.XZ compresses the whole bundle as one stream and keeps Unix permissions and links intact. It opens natively on modern Linux and macOS systems.

All TAR.XZ conversions

How TAR.XZ compression works

A TAR.XZ is a TAR bundle compressed with xz, which uses LZMA2: the same family of compression as 7Z. LZMA2 looks for repeated data across a very large dictionary, so a pattern seen early in the bundle can be reused much later. The size of that dictionary and how hard the encoder searches it are what the compression presets change.

This compressor unpacks your .tar.xz in the browser, rebuilds the TAR from the extracted files and compresses it again with 7-Zip's xz encoder at its maximum level (-mx=9). That means a larger dictionary and a more thorough search, which helps most on big bundles of text, code and logs. The result is still a regular .tar.xz. The extra effort takes time on large archives. Extracting can need somewhat more memory.

Why compress TAR.XZ files?

  • Get the smallest .tar.xz you can for a source release, firmware bundle or dataset that many people will download.
  • Recompress a .tar.xz produced at xz's default or a fast preset by a build pipeline that favored speed over size.
  • Save space on long-term storage of logs or exports while keeping the format standard Linux tools unpack directly.

Good to know before compressing

  • A .tar.xz made at xz's highest preset already has little left to give. The biggest gains come from archives made at low or fast presets.
  • Media files and nested archives are already compressed and stay about the same size.
  • Limits: 500 MB per archive (less on phones), 1.25 GB unpacked and 10,000 files. Maximum compression is slow. The progress bar may pause while it runs.

Your files never leave your device

Your files are never uploaded to a server, so nobody (including us) can see them. Conversions run entirely inside your browser. That makes it safe for personal photos, contracts, recordings and any file you'd rather keep private.

Frequently asked questions

How does this compare with compressing to 7Z?

Both use LZMA2 at maximum effort, so sizes are often close. Keep TAR.XZ for Linux users and packaging tools. Choose the 7Z compressor when recipients are mostly on Windows with 7-Zip.

Will unpacking the new archive be slower?

xz decompression stays fairly quick even at high levels. The larger dictionary mainly costs a bit more memory while extracting, which matters only on very small devices.

Can I recompress a .txz file?

Yes. .txz is the short form of .tar.xz and is handled the same way. The new file is saved with the .tar.xz extension.

Why did my archive barely change?

Either it was already made at a high xz preset or most of its contents are compressed files such as JPGs, MP4s or ZIPs. Neither leaves room for another pass to gain much.

Is anything lost in the process?

No. LZMA2 is lossless, so every file inside comes back exactly as it was when you extract the new archive.