Extract a TAR.GZ

Open the .tar.gz and .tgz archives that Linux projects ship in, without installing 7-Zip or using a terminal.

or drop it here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To open a .tar.gz file, choose it here and press Extract everything. The browser decompresses the gzip layer, reads the tar archive inside and lists every file for you to save. It works on Windows, Mac and Chromebook with nothing to install, and the archive is never uploaded. Plain .tar files work too; .tar.bz2 and .tar.xz do not.

How to open a TAR.GZ file on Windows without software

  1. STEP 1

    Choose the archive

    Pick a .tar.gz, .tgz or .tar file. One archive is extracted at a time.

  2. STEP 2

    Press Extract everything

    The gzip layer is removed and the tar contents are read in memory on your device.

  3. STEP 3

    Save the files

    The report shows how many files were found and the total size. Save them one by one or all at once.

What a TAR.GZ file is

A .tar.gz (or .tgz) is two formats stacked. Tar bundles many files and folders into one stream; gzip then compresses that stream. It is the usual way source code, Linux software and server backups are distributed.

Windows File Explorer does not open them with a double-click, which is why people reach for 7-Zip or the tar command. Recent Windows 10 and 11 builds include tar.exe, but it needs a terminal.

What survives, and what does not

The tool checks the first two bytes for the gzip signature, decompresses with fflate if it finds it, and otherwise treats the file as plain tar. It then walks the tar headers block by block, including the long-path prefix used by the ustar format, and collects every regular file.

What you keep

Every regular file’s exact contents

Base file names, even for deeply nested files

Plain uncompressed .tar archives as well as gzipped ones

What you lose

Folder structure: files come out flat, without their directories.

Symbolic links, permissions and ownership, which are skipped.

.tar.bz2, .tar.xz and .tar.zst archives, which use other compressors.

Very long names stored with GNU tar extensions may be shortened.

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Extract a TAR.GZ at a glance

Input.tar.gz, .tgz, .tar
OutputThe files inside
Compressiongzip or none
Not supported.tar.bz2, .tar.xz
Enginefflate + built-in tar reader
Works offlineAfter the first use

If something goes wrong

It says the file could not be decompressed

The download is probably incomplete. Download the archive again and compare its size with the one listed on the source site.

It says no files were found

The archive is likely .tar.bz2 or .tar.xz renamed, or a single gzipped file that is not a tar. Those are not supported here; 7-Zip can open them.

Extract a TAR.GZ questions

How do I open a tar.gz file on Windows 11?

Either run tar -xzf file.tar.gz in Terminal, which Windows 11 includes, or open the file on this page and press Extract everything. The browser route needs no commands and nothing installed.

What is the difference between .tar.gz and .tgz?

None. .tgz is a shorter spelling of .tar.gz, from the days when file extensions had to be three letters. Both open here.

Can I extract a tar.gz on a Mac?

Yes, double-clicking it in Finder works. This page is an alternative when you want to look at the files without unpacking them all into a folder.

Is the archive uploaded?

No. Decompression and tar parsing happen in JavaScript inside your browser tab. Nothing is sent anywhere.

Can it open .tar.bz2 or .tar.xz?

Not yet; only gzip compression and plain tar are supported. 7-Zip on Windows or the tar command handle the others.

Does it keep the folder structure?

No. Files are listed flat by name. Use the tar command or 7-Zip if you need the directory tree recreated.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/extract-tar-gz
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy