Open TAR, TAR.GZ, TGZ, TAR.BZ2, TAR.XZ and TAR.ZST files up to 2 GiB. Browse the folder tree, preview files, and download one file, everything as a ZIP, or the whole folder.
Runs in your browser — your input is processed on this device and never uploaded.
Results appear here.
A TAR file packs many files and folders into one stream, and a second tool usually compresses that stream as a whole. That gives .tar.gz (or .tgz), .tar.bz2, .tar.xz, .tar.zst and .tar.lz files, which carry source code releases, backups and software packages.
This tool opens TAR and TAR.GZ files and shows what is inside as a folder tree, so you can preview a file, download one, or save them all.
TAR files come from Linux and macOS, and plenty of people receive one on a Windows laptop, a phone or a work computer where they cannot install anything. This page opens it without extra software.
It also extracts only what is safe to hand you. Entries with absolute paths or .. in their names are skipped, and so are symlinks, devices, sparse files, the ._ metadata files macOS adds, and a path that appears twice. A hard link comes out as a copy of the file it points to. An archive inside the archive comes out as a file and is not opened.
macOS, Linux and Windows 10 or later all include a tar command: tar -xf archive.tar.gz extracts everything. 7-Zip and The Unarchiver open TAR files with a few clicks.
For a .zip file, use Unzip Files. To turn a .tar.gz into a plain .tar without opening it, use Gzip Compress and Decompress, or the bzip2 and Zstd tools for .tar.bz2 and .tar.zst. To go the other way, drop a folder on the Gzip tool and it comes back as a .tar.gz.
The name is short for tape archive. tar arrived with Version 7 Unix in 1979 and was built to write files one after another onto magnetic tape, which is why a TAR file has no index.
That missing index has a cost. To reach the last file in a .tar.gz, every byte before it has to be decompressed, so this page reads at most 4 GiB of unpacked data per run.
The compression in a .tar.gz wraps the whole archive, not each file. Files that resemble each other compress together, so a TAR of a source tree is usually smaller than a ZIP of the same files.
Find similar tools by category or tag.
TAR archive
A .tar file, or one compressed as .tar.gz (.tgz), .tar.bz2, .tar.xz, .tar.zst or .tar.lz, up to 2 GiB.
Drag a file here, or click to upload.
Max size 2 GB · Required
No file selected.