.TXZ

TXZ File

XZ Compressed TAR Archive
Ask a question
QUICK ANSWER

A TXZ file is a TAR archive compressed with XZ (LZMA2 algorithm) - the same format as .tar.xz, just a shorter extension. On Windows, open it with 7-Zip or PeaZip. On Linux and macOS, run tar -xf file.txz in a terminal. On Slackware Linux it is the native package format, installed with installpkg.

Developer: GNU Project (tar) + Tukaani Project (xz); Slackware Linux popularized .txz packaging Category: Compressed Files Open standard MIME: application/x-xz-compressed-tar
OPENS ON Windows macOS Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Aug 2, 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 TXZ file format?

A .txz file is a TAR archive compressed with the XZ algorithm - functionally identical to .tar.xz and simply a shortened alias for that double extension. The format bundles multiple files and directories into a single TAR container, then applies XZ/LZMA2 compression to the entire stream, yielding significantly better compression ratios than the older .tgz (gzip) and .tar.bz2 (bzip2) formats.

XZ compression uses the LZMA2 algorithm, optionally preceded by pre-filters (BCJ for executable code, delta for binary data) to improve ratios on specific content types. The resulting file carries the standard XZ stream header (` \xFD7zXZ\x00 `) regardless of inner TAR content, and integrity is protected by per-block CRC-64 checksums.

Slackware Linux adopted .txz as its native package format starting with Slackware 13.1 (2010), making it the first major distribution to use XZ-compressed packages. The pkgtool/installpkg suite handles .txz packages natively on Slackware. Elsewhere, .txz and .tar.xz are fully interchangeable - tar -xJf archive.txz extracts either form on any modern system.

The format has no built-in encryption. XZ decompression is reasonably fast; compression is slower than gzip but the ratio advantage makes .txz dominant for Linux kernel source releases and many open-source project tarballs. .tar.zst (Zstandard) is gaining traction as a faster alternative.

Security & safety

RISK: LOW

The XZ/TAR format combination carries no executable logic itself. Risk is identical to any archive: contents may include executables or scripts that should not be run from untrusted sources. Beware path-traversal in malformed TAR members (tar slip); use modern extractors that strip leading slashes. The 2024 CVE-2024-3094 xz backdoor affected the xz/liblzma build tool binaries (versions 5.6.0/5.6.1), not .txz files or the XZ file format itself.

Format details

in a nutshell
FULL NAMEXZ Compressed TAR Archiveaka tar.xz, tarball xz
DEVELOPERGNU Project (tar) + Tukaani Project (xz); Slackware Linux popularized .txz packagingsince 2010 (Slackware 13.1 adopted .txz as its native package format; .tar.xz widely used since XZ Utils 5.0, 2010)
MIME TYPEapplication/x-xz-compressed-tar
TYPETAR archive compressed with XZ/LZMA2 (two-layer format)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405
HEX
FD377A585A00
ASCII
·7zXZ·
Identical to a plain .xz file; TAR structure is only visible after decompressing. Footer ends with 59 5A.

Programs that open TXZ files

Windows2 apps
7-Zip Open-source Right-click the .txz → 7-Zip → Extract Here (extracts xz layer to .tar, then extract the .tar again). Or use 'Extract to folder' to do it in one UI step.
PeaZip Open-source Open the .txz in PeaZip; it handles .tar.xz/.txz in a single extraction step.
macOS3 apps
The Unarchiver Free Double-click the .txz; The Unarchiver decompresses and extracts the tar in one step.
Keka Free Drag the .txz onto Keka; extracts both layers automatically.
Terminal (tar) Built-in tar -xf file.txz - macOS bsdtar transparently handles the xz compression layer.
Linux3 apps
slackpkg Open-source Slackware-specific: slackpkg install pkgname fetches and installs .txz packages. Also: installpkg package.txz for local install.
XZ Utils + tar (CLI) Open-source tar -xf file.txz decompresses and extracts in one command. Both xz and tar are pre-installed on virtually all Linux distros.
Ark / File Roller (GNOME) Open-source Double-click the .txz in the file manager; GUI archive manager handles it transparently.

Technical details

deep spec
Outer compressionLZMA2 via XZ container; optional pre-filters: BCJ (executables), delta (binary data)
Inner archive formatTAR - POSIX ustar, GNU tar, or pax interchange format
Magic bytesFD 37 7A 58 5A 00 at offset 0 (standard XZ stream header)
Byte orderLittle-endian (XZ header fields)
Relationship to .tar.xz.txz is a shortened alias for .tar.xz - identical format, not a separate specification
Integrity checkingXZ per-block and stream CRC-64 (default); CRC-32 or SHA-256 selectable; TAR per-header octal checksum
EncryptionNone built-in; apply GPG externally if needed
Slackware packagingNative package format since Slackware 13.1 (2010); managed by installpkg/removepkg/pkgtool
Compression ratioBetter than .tgz (gzip) and .tar.bz2 (bzip2); comparable to .tar.zst at high compression levels
Decompression speedModerate - faster than compression; slower than gzip/zstd decompression
TAR path length limit255 bytes (ustar); GNU tar and pax extensions remove this limit
Typical size50 KB - several GB; Linux kernel source tarballs 100-200 MB compressed
Associated OSLinux, BSD, macOS, Windows (via 7-Zip or WSL tar)
Gaining competitor.tar.zst (Zstandard) gaining adoption for speed-focused use cases; .txz/.tar.xz remains dominant for source releases
Released2010 (Slackware 13.1 adopted .txz as its native package format; .tar.xz widely used since XZ Utils 5.0, 2010)
Latest versionXZ file format 1.0.4 (2009); XZ Utils 5.6.x
Open standardYes · royalty-free
Specificationtukaani.org

TXZ conversions

Community Q&A

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

Frequently asked questions

What is a .txz file?
A .txz file is a TAR archive compressed with XZ - the same as .tar.xz but with a shorter extension. It bundles many files with full Unix metadata and compresses them to a smaller size than .tar.gz.
How do I open a .txz file on Windows?
Use the free 7-Zip (right-click > Extract) or PeaZip. You may need to extract twice: once for the xz layer, once for the tar inside.
What is .txz used for in Slackware Linux?
Slackware Linux uses .txz as its native package format since version 13.1 (2010). Packages are installed with installpkg or managed with slackpkg.
Is .txz the same as .tar.xz?
Yes - identical format, different extension. .txz is a convenient shorthand for .tar.xz.
How do I extract a .txz on Linux?
tar -xf file.txz in a terminal. Both tar and xz are pre-installed on virtually all Linux systems.

References

1Tukaani - XZ file format spectukaani.org
2Tukaani - XZ Utilstukaani.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TXTPlain Text 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