Archives · Updated · All file signatures

TAR Archive Magic Bytes (.tar — ustar at 257)

Tape Archive (TAR, POSIX.1-1988 / PAX) concatenates files and directory permissions into uncompressed 512-byte blocks without compressing them. Because bytes 0–256 of the first 512-byte header hold the first entry’s filename, octal permissions, UID/GID, size, mtime and checksum, the 5-byte ASCII signature ustar (75 73 74 61 72) sits at byte offset 257.

Signature & identification summary

Detected format nameTAR archive
Hexadecimal magic bytes75 73 74 61 72
ASCII / marker previewustar
Byte offset257
MIME typeapplication/x-tar
Common extensions & aliases.tar

Check whether your file really is TAR.

Drop any file into File Sniff’s free local browser checker to verify its 75 73 74 61 72 signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Docker/OCI container image exports (docker save), macOS/Linux backups and npm package tarballs (once gunzipped) are ustar/PAX TAR streams closed by two consecutive 512-byte zero blocks.

Extension mismatches & common pitfalls

Browsers sometimes transparently gunzip a .tar.gz download during save while leaving the .tar.gz filename intact—checking byte 0 (1F 8B) vs byte 257 (ustar) reveals whether it is already decompressed.

Which apps open TAR files?

PlatformCompatible applications & tools
Mac (macOS)Archive Utility, tar in Terminal, Keka, The Unarchiver
iPhone & iPadFiles app, Keka
WindowsWindows 10/11 tar.exe, Windows 11 File Explorer, 7-Zip

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎