.TZ

TZ File

Compressed TAR Archive (Unix compress)
Ask a question
QUICK ANSWER

A .tz file is a TAR archive compressed with the old Unix compress tool (LZW algorithm). It is effectively a .tar.Z file under a shorter name. On Linux or macOS run tar -xZf file.tz. On Windows use 7-Zip. The format dates from the mid-1980s and has been replaced by .tar.gz.

Developer: N/A (Unix utility; LZW compress from Terry Welch / Unisys, 1984; tar from AT&T Bell Labs, 1979) Category: Compressed Files Open standard MIME: application/x-tar
OPENS ON Windows macOS Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Jul 28, 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 TZ file format?

The .tz extension marks a TAR archive compressed with the Unix compress utility using the LZW (Lempel-Ziv-Welch) algorithm. It is a shorthand alias for .tar.Z and is interchangeable with .taz - all three names describe the same binary structure.

Internally, a .tz file consists of an outer .Z compress envelope - identifiable by the two-byte magic 1F 9D at the start of the file - wrapping a standard TAR archive. The TAR layer contains 512-byte header blocks for each member file followed by padded data, while the LZW layer compresses the entire TAR stream using up to 16-bit codes. GNU tar handles both layers transparently using its -Z flag: tar -xZf archive.tz.

The format dates to the early 1980s when Unix compress was the dominant compression tool. It was widely used to distribute Unix software and academic data throughout the late 1980s and early 1990s, particularly when floppy disks were the primary exchange medium. .tz archives are found today mainly in legacy Unix repositories and old backup sets.

Modern equivalents - .tar.gz (gzip, 1992), .tar.bz2 (bzip2, 1996), .tar.xz (xz, 2009), and .tar.zst (Zstandard, 2016) - all offer better compression ratios and have supplanted .tz for new archives. Tools such as 7-Zip, PeaZip, and WinZip can extract .tz files on Windows.

Security & safety

RISK: LOW

.tz is a passive archive container; the .Z format has no executable capability. Standard archive safety cautions apply: a crafted tarball can contain path-traversal entries ('../', absolute paths - the "tar slip" attack). Extract untrusted .tz files into an empty directory and review contents before running anything inside.

Format details

in a nutshell
FULL NAMECompressed TAR Archive (Unix compress)aka TAR.Z file, taz file
DEVELOPERN/A (Unix utility; LZW compress from Terry Welch / Unisys, 1984; tar from AT&T Bell Labs, 1979)since early 1980s (Unix compress tool, 1984; .tz/.taz shorthand in common use by late 1980s)
MIME TYPEapplication/x-tar
TYPETAR archive compressed with Unix compress (LZW algorithm)
STANDARDOpen · royalty-free
This extension is also used by…
  • Timezone data (tz database) - Historically some IANA tz (timezone) database distributions were packaged as .tz or tzdata.tar.gz; not a distinct file format.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
1F9D
ASCII
··
The outer .Z (LZW compress) envelope has magic bytes 1F 9D at offset 0. Inside is a standard TAR archive. Note: gzip (.tar.gz) starts with 1F 8B - do not confuse. The .tz extension is functionally identical to .tar.Z and .taz.

Programs that open TZ files

Windows4 apps
WinZip Paid Open the .tz and Extract; WinZip handles .Z compressed archives. 7-Zip is a free alternative.
7-Zip Open-source Right-click the .tz → 7-Zip → Extract Here. 7-Zip decompresses the .Z layer and extracts the tar in one step.
PeaZip Open-source Open the .tz and Extract; handles both the .Z and TAR layers.
IZArc Free Opens .tz archives; however IZArc has not been updated since 2013 - 7-Zip is preferred.
macOS3 apps
The Unarchiver Free Double-click the .tz to extract via The Unarchiver (may handle .Z-compressed archives).
StuffIt Deluxe Paid Historically supported .Z and .tar.Z extraction on macOS. Smith Micro Software still sells StuffIt, but verify current macOS version compatibility.
tar / zcat (built-in Terminal) Built-in Run: zcat file.tz | tar -xf - or tar -xZf file.tz (macOS bsdtar supports -Z). No extra install needed.
Linux2 apps
gunzip Open-source gunzip cannot decompress .Z (LZW compress) files - use zcat/uncompress or tar -xZf instead. Listing gunzip here is INCORRECT (see db_audit_notes).
tar (GNU tar, CLI) Open-source tar -xZf file.tz extracts the archive. GNU tar's -Z flag invokes uncompress/compress transparently. Also: zcat file.tz | tar -xf -.

Technical details

deep spec
Container structureTAR archive wrapped in a Unix compress (.Z) LZW envelope
Magic bytes (outer .Z)1F 9D at offset 0
Compression algorithmLZW (Lempel-Ziv-Welch) via Unix compress; up to 16-bit codes by default
Inner archive formatStandard TAR: 512-byte header blocks + padded file data per member
Byte orderN/A - LZW bitstream; TAR headers use ASCII fields
EncodingBinary
ChecksumTAR per-member header octal checksum only; no outer-layer checksum
Equivalent names`.tar.Z` and `.taz` are identical formats
GNU tar flag`-Z` enables transparent compress/decompress (e.g. `tar -xZf file.tz`)
Typical file sizeTens of KB to hundreds of MB
MIME typeapplication/x-tar (also application/x-compress)
LZW patent statusUnisys patent expired 2003; IBM patent expired 2004 - no longer encumbered
Superseded by`.tar.gz`, `.tar.bz2`, `.tar.xz`, and `.tar.zst` (better compression ratios and speed)
Releasedearly 1980s (Unix compress tool, 1984; .tz/.taz shorthand in common use by late 1980s)
Latest versionN/A (format is static; no versioning)
Open standardYes · royalty-free
Specificationwww.gnu.org

TZ conversions

Community Q&A

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

Frequently asked questions

How do I open a .tz file?
On Linux/macOS: tar -xZf file.tz in a terminal (GNU tar handles the .Z compression automatically). On Windows: use the free 7-Zip - right-click → Extract Here.
What is the difference between .tz, .taz, and .tar.Z?
They are the same format with different naming conventions. All three are a TAR archive compressed with the Unix compress (LZW) tool. .tz and .taz are shorthand for .tar.Z.
Why is this format no longer common?
Unix compress (LZW) was replaced by gzip circa 1992 because gzip offers better compression ratios with no patent restrictions. The .tar.gz / .tgz format became the new standard.
Can gunzip open a .tz file?
No. gunzip handles gzip (.gz) compression. For Unix compress (.Z) you need uncompress, zcat, or a tool that handles LZW such as GNU tar (-Z flag) or 7-Zip.

References

1IANA - Media Types (application/x-compress)www.iana.org
2GNU tar manual - Compressionwww.gnu.org

Keep exploring

across the database

Top extensions this week

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