TapToConvert All conversions

Home / File types / .gz

GZ file: what it is and how to open it

Gzip archive. Here is what a .gz file contains, how to open one on any device, and a viewer that opens it right in your browser.

Open a .gz file hereChoose fileRead in your browser. Nothing is uploaded.

What the viewer shows

  • Whether the file matches the .gz signature
  • The first bytes as hex
  • A preview when your browser can display it

What is a .gz file?

A .gz file is a gzip archive. Its registered MIME type is application/gzip, which places it in the application or document family of formats.

GZ is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.

Files of this type usually begin with the bytes 1F 8B. That signature is how programs recognise the format even when the extension is wrong or missing.

GZ file format details

Extension.gz
FormatGzip archive
MIME typeapplication/gzip, application/x-gzip
CategoryApplication or document
Text or binaryBinary
File signature1F 8B
Registered with IANAYes
Other extensionsNone

How to open GZ files

WindowsWindows opens ZIP files itself. For other archive types, the free 7-Zip program opens most of them, GZ included.
MacArchive Utility opens ZIP and several other formats with a double click. The free app The Unarchiver handles many more.
iPhone and iPadThe Files app can open ZIP archives. Other archive types need an app from the App Store.
AndroidFiles by Google opens ZIP archives. Other types need an archive app such as RAR or ZArchiver.

Can you convert a .gz file?

TapToConvert does not convert GZ files. The usual route is to open the file in the program that made it and use its Export or Save as option.

GZ file FAQ

What is a .gz file?

A .gz file is a gzip archive, with the MIME type application/gzip.

How do I open a .gz file?

7-Zip on Windows and The Unarchiver on Mac open most archive formats.

Is a .gz file safe to open?

GZ 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 .gz?

application/gzip, and it is also seen as application/x-gzip. Web servers send this type so browsers know how to handle the file.

Is GZ 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.

Similar file types

Try MP4 to MP3, HEIC, merge PDF or compress video.