Initializing... drag & drop files here
Supports: TGZ
.tgz archive — uploads from your computer, Google Drive, or Dropbox are supported. The format is identical to .tar.gz, so npm package tarballs, Slackware-era packages, and source releases all work.A .tgz file is a tar archive that has been compressed with gzip — bit-for-bit identical to .tar.gz. Wikipedia's tar article explicitly lists .tgz and .taz as gzip-compressed tar suffixes, and notes the short forms exist because "MS-DOS's 8.3 filename limitations resulted in additional conventions for naming compressed tar archives." Today both extensions appear interchangeably across Linux, macOS, and BSD ecosystems.
Extracting in the browser is useful when you don't have a Linux shell handy or don't want to install software:
npm pack produces a <name>-<version>.tgz containing exactly the files that would be uploaded to the registry. The npm pack docs describe the output as a tarball copied to the current working directory; inspecting one before publishing or installing from a private mirror is a normal QA step..tar.gz or .tgz (e.g. linux-6.x.tar.gz from kernel.org). Open one to read the README, COPYING, or a single header file without unpacking the whole tree to disk..tgz as its native package format until Slackware 13 (2009) when it moved to .txz (xz-compressed). Older third-party packages and SlackBuilds still ship as .tgz..tgz because gzip is fast and universally supported on Unix hosts.docker save or pulled from a registry, image layers are gzipped tarballs. Extracting one locally is a way to inspect what's inside a layer without running a container.| Format | Compression | Typical ratio | Decompress speed | Common use |
|---|---|---|---|---|
| TGZ / .tar.gz | gzip (DEFLATE) | Baseline | Fast | npm tarballs, Linux source, cPanel backups |
| .tar.bz2 / TBZ2 | bzip2 | ~10-15% smaller than gzip | ~3-4x slower than gzip | Older source releases, archival |
| .tar.xz / TXZ | xz (LZMA2) | ~25-30% smaller than gzip | ~2-3x slower than gzip | Modern Linux distros, Slackware 13+ |
| .tar | None | No compression | Fastest | Pre-compression bundling, rsync targets |
| .zip | DEFLATE per file | Similar to gzip | Fast (random access) | Cross-platform sharing, Windows-native |
Ratios are illustrative — actual savings depend heavily on the input. xz's wins are largest on text-heavy source trees; on already-compressed media (JPEGs, MP4s) all three tar variants come out about the same.
| Property | TGZ (.tar.gz) | ZIP |
|---|---|---|
| Native on | Linux, macOS, BSD | Windows, every desktop OS |
| Random-access (extract one file fast) | No — must scan from start | Yes — central directory at end |
| Preserves Unix permissions & symlinks | Yes (tar header) | Limited — depends on tool |
| Per-file compression | No — one gzip stream | Yes — DEFLATE per entry |
| Best for | Linux source, server backups, npm | Sharing with Windows users, mixed audiences |
If you'll send a .tgz to a Windows colleague, repacking as ZIP often saves them a step — try TGZ to ZIP for a one-click conversion that drops the tar+gzip layers in favor of a Windows-native container.
Yes — byte-identical. .tgz is just a 3-character extension chosen for compatibility with old DOS/8.3 filename limits; the file content is a gzip-compressed tar archive in both cases. Any tool that handles one handles the other (tar -xzf file.tgz works the same as tar -xzf file.tar.gz).
That's the gzip layer being removed. A .tgz is two layers: gzip on the outside, tar on the inside. Some Windows tools only undo the gzip step on the first double-click, leaving you with a plain .tar you have to extract again. XConvert does both layers in one pass, so you go straight from .tgz to the file tree.
No. The tar+gzip format has no native encryption or password support — that's by design, since tar predates the public-key era. If you received a "password-protected" archive, it's either ZIP, RAR, 7z, or a .tgz.gpg (a tarball with a separate GPG encryption layer). For password-protected archives, see Extract ZIP or Extract 7z.
After extraction, yes — browse the file list and download only what you need. Note that gzipped tars don't support true random access (the gzip stream has to be read from the start), so the back-end decompresses the whole archive even when you ultimately download a single file. This is a property of the format, not the tool.
The browser-side extractor handles archives up to several hundred MB comfortably; multi-GB archives are best handled with a local tar command, which streams the data without loading it into memory. If you hit a memory limit, try splitting the upstream archive or use Extract TAR.GZ for the same workflow with chunked uploads.
The .tgz itself preserves Unix mode bits, owner/group, mtimes, and symlinks in the tar header. The browser extracts the file tree faithfully, but the resulting downloads land in your operating system's filesystem — which may not honor every Unix mode bit (Windows NTFS can't represent the executable bit the same way). For an exact replica including permissions, extract on the target Linux/macOS machine using tar.
.tgz extract to the project root or to package/?To package/. The tarball produced by npm pack always uses a top-level directory named package/, regardless of the package's actual name — npm's npm-packlist tooling sets this prefix when building the archive. That's why tar -tzf my-pkg-1.0.0.tgz lists package/package.json, package/index.js, etc. The browser extractor preserves that prefix.
Gzip typically compresses source code, JSON, and text 60-80%, so a 10 MB .tgz of a Node project can expand to 30-50 MB. Already-compressed content (images, video, fonts, minified JS bundles) compresses very little, so a .tgz containing mostly binaries will be close to the unpacked size.
The container is the same — gzipped tar. A Slackware package is a regular .tgz with a specific internal layout: an install/ directory containing slack-desc and an optional doinst.sh post-install script. The browser extracts the contents fine; you'll just see the Slackware-specific files alongside the actual binaries. Modern Slackware (13+) uses .txz (xz-compressed) — for those, see Extract TAR.XZ.