.tgz Tar archive (gzip-compressed)
Archives & packages
| MIME type | application/x-compressed-tar |
|---|---|
| Description | Tar archive (gzip-compressed) |
| Category | Archives & packages |
| Based on | application/gzip |
| Other extensions | .tar.gz |
Frequently asked questions
What is a .tgz file?
A .tgz file is a “Tar archive (gzip-compressed)” (MIME type application/x-compressed-tar).
How do I open a .tgz file?
With an archive tool such as 7-Zip (Windows) or the built-in archive manager on macOS or Linux. On the command line, use tar, unzip or 7z depending on the format.
How can you tell a genuine .tgz file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.tgz shows the guessed type.
Which format is .tgz based on?
Technically a .tgz file is a subtype of “Gzip archive” (application/gzip), so programs for that base format can often read it too.
Which MIME type belongs to .tgz?
The MIME type is application/x-compressed-tar. In the Apache web server: AddType application/x-compressed-tar .tgz; in nginx: types { application/x-compressed-tar tgz; }.