.tar

What is a .tar file?

TAR is a Unix archive format that bundles files and directories into a single file — preserving permissions, ownership, and symlinks without compression.

Safe format
Type Archive
By Unix / GNU
MIME application/x-tar

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

You downloaded a .tar.gz, .tar.bz2, or .tar.xz from a software project, Linux package, or developer tool. TAR is the Unix world's way of bundling files — it concatenates everything into a single archive while preserving file permissions, ownership, timestamps, and symlinks. Things ZIP doesn't bother with but Linux depends on.

TAR itself does not compress. That's handled separately: gzip (.tar.gz), bzip2 (.tar.bz2), or XZ (.tar.xz) compress the tar archive as a second step. This two-step approach feels archaic but it's deliberately modular — you choose your compression algorithm independently of your archiving tool. The name stands for Tape Archive, a reminder that it was originally designed for sequential backup to magnetic tape.

Linux and macOS handle TAR natively from the command line (`tar -xzf file.tar.gz`). macOS Finder opens .tar.gz with a double-click. Windows users need 7-Zip or WSL. If you're a developer working with Linux-based tools, you will encounter TAR files constantly. If you're not, someone probably sent you the wrong format.

Technical details
Full Name
Tape Archive
MIME Type
application/x-tar
Developer
Unix / GNU
Magic Bytes
75 73 74 61 72
Safety
.tar is a known, safe format.
What opens it
Built-in on macOS/Linux
FREE macOS / Linux
7-Zip
FREE Windows
FAQ
What's the difference between TAR and ZIP?
ZIP compresses and bundles in one step. TAR only bundles — compression is a separate layer (gzip, bzip2, xz). TAR preserves Unix file permissions and symlinks, which ZIP does not. Use ZIP for cross-platform sharing, TAR for Unix/Linux workflows.
How do I open TAR files on Windows?
7-Zip (free) handles TAR, tar.gz, and tar.bz2 files. Windows 10/11 also has built-in tar support via the command line (tar -xf file.tar).
What is a .tar.gz file?
A TAR archive compressed with gzip. TAR bundles the files; gzip compresses the bundle. It is the most common archive format on Linux — you will see it for source code releases, backups, and software packages.
Related formats