TGZ
TGZ archive formatUsed for packaging files and folder structures.
- Family
- Archives
- MIME
- application/x-gtar
Convert TGZ to GZ online. See the real archive extraction and repackaging behavior, preservation limits, and a format-specific acceptance test.
The entries in TGZ are unpacked and a new GZ package is built from their filenames and folder paths. Compression is rebuilt; archive-level encryption, comments, and recovery records are not portable assumptions. TGZ is unwrapped from Gzip before TAR entries are enumerated, keeping outer-stream integrity separate from member paths, permissions, links, and checksums. Gzip output compresses one byte stream and optional filename; a directory must first be represented by another archive format if its tree is to survive.
Read structure - A TAR folder stream compressed as one Gzip payload. Rebuilt structure - A Gzip-compressed byte stream that normally wraps one file rather than a folder tree.
Used for packaging files and folder structures.
Designed for bundling a folder tree into one shareable file.
Decompress and extract both layers, then compare paths, Unicode names, file counts, permissions, links, and checksums.
Decompress the result and confirm the recovered payload has the expected filename and checksum.
Gzip protects the TAR byte stream but does not independently validate each member, and non-Unix tools may alter permissions or links.
Turning a multi-file archive into GZ alone can lose the expected directory packaging unless TAR is also used.
The writer builds a Gzip-compressed byte stream that normally wraps one file rather than a folder tree and labels the result as application/gzip. The receiving application - Not the extension alone - Is the final compatibility test.
GZ is the right move once the recipient's archive tool cannot reliably open TGZ; judge success by the extracted folder tree, not by the new package's file size.