ZipToolView zip files online — 100% private

Extract a tar.gz online

A .tar.gz is two formats stacked: tar bundles many files into one stream (no compression), and gzip squeezes that stream. It is the de facto standard for distributing source code and Unix software, which is also why the usual way to open one is the command line — tar -xzf archive.tar.gz. ZipTool does it without the terminal: you drop the file on the page and the browser decompresses it locally, using its own native gzip support, with nothing uploaded and nothing installed.

You open the page, add the archive (drag it, pick it, or paste a URL), and it is parsed in your tab. The file tree renders locally, you browse and preview the contents, and when you are ready you extract — writing the original files to a folder you choose on Chrome and Edge, or downloading them as a bundle on Firefox and Safari. The same workflow handles a plain .tar (uncompressed) and a single .gz file (one gzipped stream) — see the limits below for the distinction.

How to extract a tar.gz in your browser

No terminal, no flags, no remembering whether it is -xzf or -xvjf. The browser does the ungzip and the untar in one local step.

  • Add the archive. Drag the .tar.gz (or .tgz) onto the page, pick it from disk, or paste a direct URL. The bytes are read locally — no upload.
  • Browse the tree. The contents render as a folder tree, with Unix file paths preserved. Expand folders, search by name across the whole archive, and click any entry to preview it first.
  • Extract. Use the extract-all control in the file-tree toolbar. On Chrome and Edge, pick a destination folder and the original files are written there with their structure; on Firefox and Safari, the contents download as a clean zip.
  • Or download single files. Preview an entry and save just that file.

tar.gz, .tar, and .gz — what each one is

The three extensions get conflated, but they mean different things, and ZipTool handles each honestly.

A `.tar.gz` (or .tgz) is a tar archive compressed with gzip — the common case: many files bundled and then shrunk. A `.tar` is the same bundle with no compression — larger, but sometimes what you receive. A `.gz` is a single file compressed with gzip, not a multi-file container at all — for example backup.sql.gz is one SQL file. ZipTool opens all three: a .tar.gz and .tar render as a folder tree, and a single-file .gz opens as the one decompressed file inside. (Gzip, xz, bzip2, and zstd are single-stream compressors; only when wrapped around tar do they carry multiple files.) For the format background, see what is a tar.gz file and the tarball glossary entry.

Extraction versus previewing a tarball

Previewing means looking inside without writing to disk — ZipTool renders the tree and shows you files one at a time. Extracting decompresses and writes the entries out as real files. For a source bundle this matters: source tarballs are mostly text (code, configs, READMEs, package.json, Cargo.toml), so you can read almost everything inline, decide whether the package is what you want, and only then unpack it.

Because ZipTool previews code in a syntax-highlighting editor, a tar.gz of source code is readable straight out of the archive — useful for auditing a dependency before you build it. For that workflow in depth, see viewing the contents of a zip without extracting, which covers the same browse-before-unpack idea.

Why a no-upload untar matters

tar.gz files are usually source code, configs, or data — exactly the content you may not want on a stranger's server. The upload-based untar sites ask you to send the whole archive to their backend, unpack it there, and trust them with the result. A client-side extractor removes that step: the tarball is decompressed in your tab and written to a folder you chose on your own machine. No complete copy exists anywhere else.

Verify it yourself: open a tar.gz, then watch DevTools' Network tab — you see the page load, but no upload of your archive. Disconnect from the internet and confirm browsing, previewing, and extracting keep working. This is the same privacy model behind unzipping online without uploading and the private zip viewer.

Honest limits

A browser-based untar is genuinely useful, with one format boundary worth stating clearly.

  • `.tar` and `.tar.gz` are containers; a lone `.gz` is not. A single-file .gz opens as the one decompressed file inside it (correct), but it is not a folder and never will be — gzip is a stream compressor, not a packager. If you expected many files from a .gz, you likely have a mistyped .tar.gz.
  • Other compressors are read-only here. ZipTool decodes gzip streams natively. Archives compressed with xz (.tar.xz), bzip2 (.tar.bz2), zstd (.tar.zst), or LZ4 are not in scope for this page; use the command line or a desktop tool for those.
  • Extract-to-folder needs Chrome or Edge. Writing a real directory tree uses the File System Access API, which Firefox and Safari lack. On those browsers you still get every file, bundled as a downloadable zip that preserves the structure.
  • Large tarballs use memory. A tarball is a single stream, so unpacking a very large one can be memory-heavy in a browser tab. Open archives from sources you trust, and be cautious with files that expand to many times their compressed size.
  • Unix permissions are not restored on extraction. tar records file permissions and timestamps; the browser extractor writes the file contents and folder structure but does not faithfully replay Unix mode bits the way tar -xpf would.

Frequently asked questions

How do I extract a tar.gz file online without the command line?

Open the page and drop your .tar.gz (or .tgz) onto it. ZipTool ungzips and untars the archive in your browser — no terminal, no install, no upload. Browse the file tree to confirm the contents, then use the extract-all control to write the files to a folder (Chrome/Edge) or download them as a zip (Firefox/Safari).

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

A .tar.gz (or .tgz) is a tar bundle of many files compressed with gzip — the usual case. A .tar is the same bundle uncompressed. A .gz is a single file compressed with gzip, not a multi-file container: data.sql.gz is one SQL file, for instance. ZipTool opens all three; a .tar.gz and .tar render as a folder tree, while a lone .gz opens as the single file inside it.

Do you upload my tar.gz file?

No. The archive is decompressed entirely in your browser using the browser's native gzip support; your file contents are never transmitted to a server, never stored, and never handed to a third party. You can confirm there is no upload in DevTools, and by disconnecting from the internet after the page loads — browsing, previewing, and extracting keep working.

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

Not on this page. ZipTool decodes gzip streams natively (so .tar.gz, .tgz, .tar, and single-file .gz work), but archives compressed with xz, bzip2, zstd, or LZ4 are out of scope here. Use the command line (tar -xJf, tar -xjf, etc.) or a desktop tool for those.

Can I read the source code inside a tar.gz without extracting?

Yes. Once the tarball is loaded, click any source file to preview it in a syntax-highlighting editor — JavaScript, TypeScript, Python, JSON, Markdown, and many more. That makes it easy to audit a package's code before you unpack or build it. Only when you want the real files on disk do you extract.

Can I open a tar.gz on my phone or a work computer?

Yes. ZipTool runs in any modern browser with no install and no account, which is handy on locked-down work machines or phones where you cannot run tar. Open the page, drop or pick the file, and extract. On mobile browsers without the directory-writing API, the contents download as a zip rather than a native folder.