Convert TAR.GZ to TAR — Free Online Converter
Convert Gzipped Tar Archive (.targz) to Tape Archive (.tar) online for free. Fast, secure archive conversion with no watermarks or registration.
Saker overforing
HTTPS-krypterade uppladdningar
Integritet forst
Filer raderas automatiskt efter bearbetning
Ingen registrering
Borja konvertera direkt
Fungerar overallt
Valfri webblasare, valfri enhet
Hur man konverterar
Upload your .tar.gz file by dragging it into the upload area or clicking to browse.
Choose your output settings. The default settings work great for most files.
Click Convert and download your .tar file when it's ready.
Om konvertering från TAR.GZ till TAR
TAR.GZ is a gzip-compressed tar archive — the standard compressed distribution format on Unix/Linux. TAR is the underlying uncompressed archival format that bundles files with their metadata. Converting TAR.GZ to TAR simply removes the gzip compression layer, exposing the raw tar archive inside.
This is equivalent to running `gunzip archive.tar.gz` on the command line. The conversion strips DEFLATE compression to produce the uncompressed tar stream, which is useful as input to different compressors, for Docker operations, or for direct manipulation of the tar archive entries without decompression overhead.
Varför konvertera TAR.GZ till TAR?
Removing gzip compression is necessary when you want to apply a different compression algorithm. To create .tar.xz (LZMA2), .tar.bz2 (Burrows-Wheeler), or .tar.zst (Zstandard), you first need the plain .tar. Compressing an already-compressed .tar.gz with another algorithm would waste CPU and produce a larger file than compressing the raw tar directly.
Docker operations benefit from uncompressed tar layers — Docker's internal storage and layer diffing works on uncompressed tar data. Build systems that produce reproducible archives may need to manipulate tar entries directly (rewriting timestamps, adjusting permissions) without the complication of decompressing and recompressing the gzip layer.
Vanliga användningsområden
- Preparing a plain tar archive for recompression with xz, bzip2, or zstd instead of gzip
- Creating uncompressed tar layers for Docker image building and layer manipulation
- Enabling direct tar entry manipulation (header editing, file replacement) without gzip overhead
- Extracting the raw tar for tools that require uncompressed tar input
- Converting .tar.gz to .tar for faster random access to archive entries without decompression
Så fungerar det
The gzip header is read (magic bytes 1f8b, compression method, flags, timestamp), and the DEFLATE-compressed data is decompressed in a streaming fashion. The CRC32 checksum in the gzip trailer is verified against the decompressed data, and the original size field is checked for consistency. The output is the raw tar byte stream that was originally compressed — no tar parsing or modification occurs. The output file will be exactly the size stored in the gzip header (modulo 2^32).
Kvalitet & prestanda
Perfectly lossless. Gzip decompression is a deterministic, reversible operation. The output tar file is byte-for-byte identical to the tar that was originally gzip-compressed. The CRC32 checksum guarantees data integrity. No tar entries, file contents, or metadata are modified.
Enhetskompatibilitet
| Device | TAR.GZ | TAR |
|---|---|---|
| Windows PC | Partial | Partial |
| macOS | Partial | Partial |
| iPhone/iPad | Partial | Partial |
| Android | Partial | Partial |
| Linux | Partial | Partial |
| Web Browser | No | No |
Tips för bästa resultat
- 1Ensure sufficient disk space — the uncompressed tar can be 3-10x larger than the .tar.gz input
- 2If your goal is to recompress, pipe directly to the new compressor rather than writing the intermediate .tar to disk
- 3Verify the output with `tar -tf archive.tar` to confirm the tar structure is intact
- 4For Docker layer operations, uncompressed tar is the expected input format
- 5Gzip decompression is very fast — this conversion completes much faster than most compression operations
Relaterade konverteringar
TAR.GZ to TAR simply strips gzip compression, exposing the raw tar archive. The output is a standard tar file ready for alternative compression, Docker operations, or direct archive manipulation.
TAR.GZ vs TAR
| Funktion | TAR.GZ | TAR |
|---|---|---|
| Fullstandigt namn | Gzipped Tar Archive | Tape Archive |
| Filandelse | .tar.gz | .tar |
| Bast for | TAR + gzip | Unix permissions |