.tar — Tape Archive
A Unix archive format for bundling files, often paired with gzip, bzip2, or xz compression.
About this format
TAR bundles files and directories into one stream. Compression is usually added separately, which is why .tar.gz and .tar.xz are common.
Use TAR for source releases, server backups, and Unix-friendly archives. Use ZIP when recipients are mostly non-technical desktop users.
Real-world samples & file sizes
TAR samples should be judged in the sizes people actually receive, upload, or export. These reference cards show the common shapes and settings to check before choosing a conversion target.
project backup
Checks nested paths, filenames, and extraction behavior.
large bundle
Shows why compression method and split archives matter.
source archive
Metadata and permissions are often more important than compression.
email attachment
Checks whether recipients can open it without extra tools.
Reference dimensions are platform-style targets. Compatibility and format facts are verified from the linked online sources below.
Pros
- +Preserves Unix paths and metadata
- +Excellent for source and server archives
- +Streams well
Cons
- −Plain .tar is not compressed
- −Less familiar to casual users than ZIP
- −Windows users may need tools for some variants
TAR vs other formats
| vs | Size | Quality | Note |
|---|---|---|---|
| ZIP | Depends on compression | Both archive files | ZIP is simpler for casual cross-platform sharing. |
| 7Z | 7Z often compresses smaller | Both preserve files | TAR is more Unix-native and stream-friendly. |
Where it works
- Unix/Linux native
- macOS native
- Windows 10/11 supports many archive operations
- Browsers download archives; extraction needs app logic
- tar
- bsdtar
- 7-Zip
- The Unarchiver
- WinRAR
Frequently asked questions
- Is TAR compressed?
- Plain .tar is only a bundle. Compression is added by gzip, bzip2, xz, or another compressor.
- Why use TAR for source code?
- It preserves Unix-style directory trees and streams well in build and server workflows.
Sources
- GNU tar manual - tar archive behavior and common usage
- Library of Congress file format descriptions - archival format descriptions and sustainability notes