Extract TAR.GZ files and TGZ, TAR, GZ

Open .tar.gz, .tgz, .tar and .gz files in your browser and save what is in them, with nothing uploaded and no program to install, even on Windows or a phone.

  • Files never uploaded
  • Big files welcome
  • Folders kept
  • Free, no sign-up

    or drop it here

      Getting ready…

      Quick facts from our tests

      Check it yourself: once the page has loaded, turn off Wi-Fi and mobile data, and Extract TAR.GZ still works. Your browser's network panel (F12 on a computer) lists every request the page makes: you'll see Google's ad requests, and none of them carries your file. Our code never gives your files to the ad code. How we prove it

      How to extract a TAR.GZ file

      1. Choose the file

        .tar.gz, .tgz, .tar or .gz.

      2. See its files

        Folders and sizes listed.

      3. Save them

        All to a folder, or one by one.

      When this tool isn't the right fit

      • The file is .tar.bz2 or .tar.xz. This page can't open those yet; it names the kind. 7-Zip opens them.
      • Linux permissions and links must be kept. A browser saves plain files. Unpack with tar on Linux or a Mac to keep them.
      • The file is a ZIP. Open it with Unzip Files.

      Why use PDFGuild's TAR.GZ extractor

      More free tools

      Private like this one: nothing you type or add leaves your device.

      Extract TAR.GZ: the complete guide

      What a TAR.GZ is, where they come from, ZIP or TAR.GZ, Windows and phones, GitHub releases, backups and checks.

      In this guide
      1. What it does
      2. What a TAR.GZ is
      3. Where they come from
      4. ZIP or TAR.GZ
      5. How it works
      6. Real results
      7. Step by step
      8. .tar, .tar.gz, .tgz and .gz
      9. On Windows
      10. A GitHub release
      11. A Python package
      12. Backups and dumps
      13. Google Takeout as .tgz
      14. After unpacking
      15. When the list looks odd
      16. On a phone
      17. Just one file
      18. Checking a download
      19. Links, permissions and dates
      20. Long names
      21. Big files
      22. Safety
      23. Archives inside archives
      24. Privacy
      25. Messages and fixes
      26. Limits
      27. Other ways
      28. Terms explained

      What Extract TAR.GZ does, and when you need it

      Extract TAR.GZ opens .tar.gz, .tgz, .tar and .gz files in your browser, lists everything in them, and saves the files you want, with their folders when you save them all to a folder. Nothing is uploaded, there is no sign-up and no program to install, and we set no size limit.

      People use it when:

      • A download came as .tar.gz. Software, fonts, data sets and website templates are often shared this way, especially by people who use Linux.
      • A server backup or log arrived as .gz or .tar.gz, and they are on Windows or a phone.
      • They need one file from a big archive and don't want to unpack all of it.
      • Their computer is locked down and can't install 7-Zip.

      What a TAR.GZ file is

      It is two old Unix tools at work, one after the other. TAR (from "tape archive") puts many files and folders end to end in one file, each with a small header holding its name, size, date and permissions. It doesn't squeeze anything. gzip then squeezes that one file, with the same deflate method most ZIPs use. The result is .tar.gz, often shortened to .tgz.

      A ZIP squeezes each file on its own and keeps a list at its end; a TAR.GZ squeezes everything as one stream, which often makes it a little smaller for many small text files, but means it must be unsqueezed from the start to reach any file in it.

      Where TAR.GZ files come from

      • Software and source code. GitHub offers every release as "Source code (zip)" and "Source code (tar.gz)"; many projects share only the second.
      • Python and JavaScript packages. A Python package's source comes as .tar.gz, and npm packs JavaScript packages as .tgz.
      • Google Takeout. When you export your Google data, Takeout lets you choose .zip or .tgz.
      • Servers and hosting. Website backups, database dumps and logs are usually .tar.gz or .gz.
      • Data sets and fonts shared by universities, government data sites and designers.

      ZIP or TAR.GZ: the differences

      ZIPTAR.GZ
      Usual onWindows, Mac, phones, emailLinux, servers, software source code
      SqueezingEach file on its ownAll files as one stream
      SizeA little bigger for many small filesOften a little smaller for many small files
      One file outRead straight from the ZIPUnsqueezed from the start first
      Permissions and linksUsually not keptKept, for Linux and Mac
      Opens without extra softwareEverywhereLinux, Mac, and Windows 10 and 11 with the tar command

      Neither loses anything: both give back every byte of every file. To make one yourself, Create TAR.GZ and Create ZIP File are here.

      Extract TAR.GZ after opening the sample .tar.gz: its 3 files listed, each with a Download button, and Save all to a folder
      Our sample .tar.gz, opened in the browser.

      How it works

      For a .gz or .tgz, the page first unsqueezes the whole file with the gzip decompressor built into your browser, which keeps a big result on your disk rather than in memory. Then it reads the TAR's headers one after another, 512 bytes each, to list every file. Saving a file just copies its bytes out of the TAR.

      A plain .gz that holds one file, not a TAR, gives that file back under its own name: the name kept inside the .gz, or the .gz's name without ".gz".

      Real results from our tests

      We opened these test files with this page in Chromium 148, the open-source browser Google Chrome is built on, on a Windows 11 laptop with an Intel Core i7-1185G7 processor and 32 GB of memory, on 1 November 2026. Python's tarfile and gzip modules made them, from files our scripts made up; none is anyone's real file.

      What we openedFileTimeWhat happened
      Opened a project archive made by Python177 KBListed in 1.5 s“2000 files · 27 folders · 43.4 MB unpacked”

      A TAR.GZ has no table of contents, so the page unsqueezes the whole archive once to list it: a 177 KB file that held 43.4 MB of files took 1.5 seconds. After that, each file saves at once.

      Step by step

      1. Choose the file, or drop it on the page. A .gz or .tgz is unsqueezed first, with the amount done so far shown as it goes; then the list appears.
      2. Save one file with the Download on its row.
      3. Or save them all: Save all to a folder (Chrome and Edge on computers) writes every file into a folder you pick, folders and all; Download all saves them one after another.

      .tar, .tar.gz, .tgz and .gz

      EndingWhat it isHere
      .tarFiles end to end, not squeezedOpens at once
      .tar.gz, .tgzA TAR squeezed with gzipUnsqueezed, then listed
      .gzOne file squeezed with gzipGives back that one file
      .tar.bz2, .tar.xz, .tar.zstA TAR squeezed another wayNot yet: the page says which kind it is
      .zipAnother kind of archiveUse Unzip Files

      On Windows

      Windows 10 and 11 have a tar command built in. In Command Prompt or PowerShell, in the folder with the file, tar -xf file.tar.gz unpacks it, folders and all. This page is the same without a command line: choose the file, see what is inside, and save what you need. 7-Zip opens .tar.gz too, in two steps: first the .gz, then the .tar inside it.

      Opening a GitHub release on Windows

      1. On the project's Releases page, download "Source code (tar.gz)", or the .tar.gz the project lists for your system.
      2. Choose it here. Most such archives hold one folder named after the project and its version, such as "project-2.4.1", with everything inside it.
      3. Look through the list first: README, LICENSE and install notes are usually near the top of that folder. Save README to read how to install.
      4. Save all to a folder when you are ready to use it; the folders inside come out as the project made them.

      If the project offers a .zip as well, either works; the files inside are the same.

      Reading a Python package before you install it

      A Python package's source download is a .tar.gz. Opening it here lets you read what it holds, without installing anything: its README and licence, its setup files (pyproject.toml or setup.py), and the code itself. Save any file to read it in a text editor. Installing still needs Python's own tools; this page only reads the archive.

      A JavaScript package made by npm is a .tgz too, with everything in a folder called package: its package.json, its README and its code.

      Server backups, logs and database dumps

      • A database dump as .sql.gz is one squeezed file: the page gives back the .sql file, which any text editor opens. A big dump can be several GB unsqueezed; leave room for it.
      • Logs as .log.gz come back as plain text logs, one per .gz. To squeeze a log into a .gz yourself, use GZIP Compressor.
      • A website backup as .tar.gz holds the site's files and folders; save all to a folder to get the whole site, or just the file you need.

      To look at the start of a big .sql or .log without saving it, ZIP File Viewer opens TAR.GZ files and shows the first 200 KB of text files on the page.

      Google Takeout as .tgz

      When Google Takeout is set to .tgz, a big export comes as several files with -001, -002 and so on in their names. Each is a whole .tgz holding some of the files, not a part of one archive, so open them here one at a time. Takeout puts each Google service in its own folder, and the same folders appear in every part: save each part's files into the same folder, and together they make the whole export again.

      After unpacking

      • Read the README first. Software archives say how to install or build them there; a .tar.gz of source code doesn't install itself.
      • Linux programs don't run on Windows. A .sh script or a Linux program from the archive needs Linux, a Mac, or WSL on Windows.
      • The archive stays. Unpacking doesn't change or delete it; delete it yourself when you have what you need.
      • To send some of the files on, put them in a ZIP with Create ZIP File, which opens on every computer and phone.

      When the list looks odd

      • Everything is in one folder. That is normal: most archives hold one top folder named after what they contain.
      • Names start with "./". Some tools write names that way; the page drops the "./", so the files are the same.
      • Files starting with a dot, such as .gitignore or .env, are hidden files on Linux and Mac. They are real files, often settings; Windows shows them like any other.
      • Fewer files than you expected. Links are left out and counted in the note at the top; empty folders don't show as rows.

      On a phone

      Phones rarely open .tar.gz on their own. Choose the file here, from Downloads on Android or the Files app on an iPhone, and save the files you need; each goes to your Downloads, without its folders. A .tar.gz of several GB can be more than a phone browser can unsqueeze; a computer handles those better.

      Taking out just one file

      Say a project's .tar.gz holds thousands of files and you need its README or one data file. Open it, find the file with the browser's search (Ctrl+F on a computer, Find in page on a phone) by part of its name or its folder, and press Download on its row. Only that file is saved, under its own name. The list shows each file's folder, so a file deep in "project/docs/" is easy to tell from another with the same name.

      Checking a download is the real one

      Software sites often publish a SHA-256 check number beside each .tar.gz, so you can be sure the file you got is the one they released. Work out the downloaded file's SHA-256 with Hash Generator, which reads the file on your device, and compare it with the published one: every character must match. If it doesn't, download it again from the official page. With a command line, certutil -hashfile file.tar.gz SHA256 on Windows, shasum -a 256 file.tar.gz on a Mac and sha256sum file.tar.gz on Linux give the same number.

      Inside the archive, gzip keeps a check number for everything it squeezed, and the page notices if the unsqueezed data doesn't come out whole: such a file is called damaged instead of being listed as if it were fine.

      Long names, and names in any language

      Old TAR headers hold names of up to 100 characters. Longer ones are kept two other ways, in PAX records or in GNU's long-name entries, and the page reads both, so deep folders in software archives come out whole. Names are read as UTF-8, so Hindi, Tamil or any script shows as written.

      Big files

      We set no limit. A .tar.gz is unsqueezed in full before it is listed, so the browser needs room on your disk for the unsqueezed TAR, and the time grows with its size; a plain .tar is listed without that step. On a computer, several GB are fine; on a phone, keep to smaller files.

      Safety

      Opening an archive here only reads it: nothing inside is run. Names that try to climb out of their folder, such as "../../file", are cleaned so a file is saved only where you choose. Look at the list before you save anything from an archive you didn't expect, and be wary of programs (.exe, .sh, .bat) in an archive that should hold data.

      Archives inside archives

      A download sometimes nests one archive inside another: a .zip inside a .tar.gz, a .tar.gz inside a .zip, or a backup with a .gz of each day inside it. This page lists the inner archive as a file like any other. Save it, then open it with the page made for its kind: Unzip Files or ZIP File Viewer for a .zip, this page again for a .tar.gz or .tgz, and GZIP File to make a .gz of your own. Each step stays on your device, so a nested backup can be checked file by file without uploading any of it.

      Private: the file stays on your device

      The archive is unsqueezed and read inside your browser, and the files are saved straight to your device; nothing is uploaded, and once loaded the page works with the internet switched off. Google's ad code runs on the page too, but our code never gives it your files or their names. How we prove it shows how anyone can check.

      Extract TAR.GZ after opening the sample .tar.gz: its 3 files listed, each with a Download button, and Save all to a folder, at a phone's size with the internet switched off by our test, between our test's bands that read "Internet switched off" and "Nothing uploaded: 0 requests sent data"
      Proof from our testOn 9 November 2026, our test opened Extract TAR.GZ at a phone's size, switched the internet off and ran it on its built-in sample. It finished with no connection, and none of the page's 17 requests sent any data.How we test, and how to check it yourself

      Messages, and what to do

      "This is a ZIP file: open it with Unzip Files."
      It is a ZIP with another name; Unzip Files opens it.
      "This is a .bz2 file" or "an .xz file"
      A TAR squeezed another way, which this page can't open yet. 7-Zip can.
      "This file isn't a TAR file, or it is damaged."
      It may be another kind of file, or a download cut short. Download it again.
      "This file is damaged: part of it is missing or changed."
      The gzip stream ends early or a check failed. Download it again.
      The bar runs for a while before the list shows
      A .tar.gz is unsqueezed in full before its files can be listed; a big one takes a little time. The row shows how much has been unsqueezed so far.
      Download all saved only the first file
      The browser blocked the rest. Allow the page to download several files when it asks, or save each file from its row.

      Limits

      • No .tar.bz2, .tar.xz or .tar.zst yet.
      • Links, permissions and dates aren't kept when saving.
      • A .tar.gz is unsqueezed in full before it is listed.
      • Save all to a folder needs Chrome or Edge on a computer.

      Other ways

      • Windows 10 and 11: tar -xf file.tar.gz in Command Prompt. Windows 11, since its 2023 updates, opens .tar.gz and .tgz in File Explorer too.
      • Mac: double-click the file, or tar -xzf file.tar.gz in Terminal.
      • Linux: tar -xzf file.tar.gz unpacks it, and tar -tzf file.tar.gz lists what is inside without unpacking.
      • 7-Zip on Windows, in two steps: the .gz, then the .tar inside it.

      This page needs none of them, which helps on a phone, a Chromebook or an office computer where you can't install anything or open a command line.

      Terms explained

      TAR
      An archive of files put end to end, each with a 512-byte header; not squeezed.
      gzip, .gz
      A way of squeezing one file, with the same deflate method most ZIPs use.
      .tgz
      Another name for .tar.gz.
      PAX
      The modern form of TAR headers, which holds long names and big sizes.
      Symbolic link
      A shortcut to another file, common in Linux software.
      Tarball
      An everyday name for a .tar or .tar.gz file.

      Frequently asked questions

      Is Extract TAR.GZ free?

      Yes, with no sign-up, no install and no limit set on size. Ads from Google help pay for the site, kept apart from the tool.

      Is my file uploaded?

      No. It is unsqueezed and read inside your browser, and the files are saved straight to your device. How we prove it shows how to check.

      What is a .tar.gz file?

      Many files put together with TAR, then squeezed with gzip. It is common for Linux, software and server backups.

      Is .tgz the same as .tar.gz?

      Yes, it is a shorter name for the same thing.

      Can it open a plain .gz file?

      Yes. A .gz that holds one file gives that file back under its own name.

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

      Not yet. It names the kind, and 7-Zip opens them.

      How do I open a .tar.gz on Windows without this page?

      In Command Prompt, tar -xf file.tar.gz on Windows 10 and 11, or 7-Zip in two steps. Windows 11, since its 2023 updates, opens it in File Explorer too.

      Can I take out one file?

      Yes, press Download on its row.

      Are folders kept?

      Yes, with Save all to a folder on Chrome or Edge on a computer. Downloads save files on their own.

      Why were some items left out?

      Links (shortcuts to other files) are left out, and a note says how many; the files they point to are saved.

      Are Linux permissions kept?

      No. A browser saves plain files; unpack with tar on Linux or a Mac to keep them.

      Why does a big .tar.gz take a while to open?

      It must be unsqueezed from the start before its files can be listed; the time grows with its size.

      Can I use it on a phone?

      Yes, for files of a reasonable size; each file you save goes to your Downloads.

      Is it safe?

      Opening only reads: nothing inside runs, and names that try to climb out of their folder are cleaned.

      How do I make a .tar.gz?

      With Create TAR.GZ, from files and folders.

      By the PDFGuild team · Updated · How we test