What is a .tgz file?
A .tgz file is a tar archive (gzip-compressed). Its registered MIME type is application/x-compressed-tar, which places it in the application or document family of formats.
Technically it is a specialised form of application/gzip (the .gz format), so tools that understand that format can often read at least part of it.
TGZ is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.
TGZ file format details
| Extension | .tgz |
|---|---|
| Format | Tar archive (gzip-compressed) |
| MIME type | application/x-compressed-tar |
| Category | Application or document |
| Text or binary | Binary |
| Based on | application/gzip |
| File signature | None fixed |
| Registered with IANA | No |
| Other extensions | None |
How to open TGZ files
| Windows | Windows opens ZIP files itself. For other archive types, the free 7-Zip program opens most of them, TGZ included. |
|---|---|
| Mac | Archive Utility opens ZIP and several other formats with a double click. The free app The Unarchiver handles many more. |
| iPhone and iPad | The Files app can open ZIP archives. Other archive types need an app from the App Store. |
| Android | Files by Google opens ZIP archives. Other types need an archive app such as RAR or ZArchiver. |
Convert TGZ files
TapToConvert converts TGZ files in your browser, without uploading them. Open the TGZ converter, or go straight to a conversion:
TGZ file FAQ
What is a .tgz file?
A .tgz file is a tar archive (gzip-compressed), with the MIME type application/x-compressed-tar.
How do I open a .tgz file?
7-Zip on Windows and The Unarchiver on Mac open most archive formats.
Is a .tgz file safe to open?
TGZ files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.
What is the MIME type of .tgz?
application/x-compressed-tar. Web servers send this type so browsers know how to handle the file.
Is TGZ a text or binary format?
Binary. Its contents are not readable as text.
File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.