File types / Archives

.tar file

Tape archive

Extensions
.tar
MIME type
application/x-tar
Signature
75 73 74 61 72  (ustar)at byte offset 257
Safety
Low risk

What is a .tar file?

TAR bundles many files into one without compressing them. It is usually combined with gzip, bzip2 or xz.

There is no signature at the start of a tar file. Instead, the text ustar appears at offset 257, inside the first header block.

Used for: Packaging files on Unix-like systems.

How can I tell if a file is really a TAR?

Read its first bytes rather than trusting the name. A genuine TAR file has the signature 75 73 74 61 72 (ustar) at byte offset 257. The marker is at byte 257, not byte 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .tar file safe to open?

TAR itself does not execute anything, but archives can contain scripts or files that overwrite others when extracted.

Easy to confuse

Because the signature is at offset 257, tools that only read the first few bytes will not recognise a tar.