Open TAR, TAR.GZ, TGZ, TAR.BZ2, TAR.XZ and TAR.ZST files in your browser. List the contents or extract up to 100 files, from archives up to 100 MiB.
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 in your browser. List what is inside, or extract the files to download.
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 software, and the file never leaves your device.
It also extracts only what is safe to hand you. Entries with absolute paths or .. in their names are listed but never extracted, 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 when that file was extracted in the same run. 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 on ToolkitBay. 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.
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 1 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 100 MiB.
Drag a file here, or click to upload.
Max size 100 MB · Required
No file selected.