Skip to content

Extract TAR and GZ Files

Open tarballs and gzip files without a terminal.

Drag & drop an archive

or click to browse. You can also paste.

TAR, TAR.GZ, TGZ, TAR.BZ2, TAR.XZ or GZ, up to 1 GB.

Open TAR, TAR.GZ, TGZ, TAR.BZ2 and TAR.XZ files

Browse the folders, save any single file, or download everything as one ZIP.

Contents-

Processed on your device. Nothing is uploaded.

More converters

All tools

How to extract TAR and TAR.GZ files

Three steps, all in your browser.

  1. 1

    Open the archive

    Drop the archive; it opens right in your browser.

  2. 2

    Browse the folders

    See every file and folder with its size.

  3. 3

    Download

    Save single files, or everything as a ZIP.

Extract TAR and GZ Files: what to know

TAR (tape archive) is the standard way to bundle files on Linux and macOS. A plain .tar only collects files and folders into one file; it is almost always compressed as well, giving .tar.gz or .tgz (gzip), .tar.bz2 (bzip2) and .tar.xz (xz). Source code releases, server backups and data exports often come in these formats, and this page opens all of them in your browser.

TAR, TAR.GZ and plain GZ files are read by a small built-in reader that handles the POSIX ustar format, GNU long file names and pax headers, so long and non-English names come through intact. TAR.BZ2 and TAR.XZ are decompressed by libarchive running as WebAssembly. Nothing is uploaded, and paths that point outside the archive folder are cleaned up before you save anything.

A .gz file that isn't a TAR holds a single compressed file; it opens as that one file, using the original name stored inside when there is one. Because a browser download can only carry file contents, Unix permissions, owners and symbolic or hard links aren't recreated.

Popular uses

  • Opening a source code tarball to read one file
  • Getting files out of a Linux server backup on Windows
  • Unpacking compressed log files (.log.gz) to read them
  • Inspecting data exports shipped as .tar.gz

Tips for the best result

  • TAR.GZ files have to be decompressed in full to be listed, so a very large one takes a moment to open.
  • Executable permissions aren't kept: run chmod +x on scripts after extracting them on Linux or macOS.
  • A .tgz file is the same as .tar.gz with a shorter name.
  • If a .gz turns out to contain a TAR, its files are listed automatically.

Read how JustYourConvert works and our privacy details. Keep your original files and check a converted file before you replace anything.

Frequently asked questions

A TAR file bundles files and folders into one file without compressing them. A TAR.GZ (or .tgz) is that bundle compressed with gzip, and TAR.BZ2 and TAR.XZ use bzip2 or xz instead. All of them open here the same way.

A plain .gz file holds one compressed file. It opens as a single file, named from the name stored inside the .gz or from the file name without .gz. If the content turns out to be a TAR, its files are listed instead.

No. Files and folders are extracted with their contents, but Unix permissions, owners and symbolic or hard links aren't, because a browser download can't carry them. Use tar on the command line when you need those.

No. Every live tool on JustYourConvert opens and converts your files inside your browser, on your own device. Nothing is sent to our servers, and the result is saved straight from your browser.

Yes. Every tool is free, with no sign-up, no watermark and no daily limit. Clearly labeled ads keep it that way.

Only your device's memory. Because the work happens in your browser, very large files can be slow on phones and older computers. Each tool says its practical limit under the drop area.