.gz — Gzip Compressed Archive
Jean-loup Gailly and Mark Adler · 1992
What is a .gz file?
The .gz file extension is commonly used for files compressed with the Gzip compression algorithm. Gzip is a popular lossless data compression program that reduces file size significantly, making it ideal for transferring files over the internet or for saving disk space. It is widely supported across various operating systems and applications.
Programs That Open .gz Files
| Platform | Program | ||
|---|---|---|---|
| Windows | 7-Zip | Free | |
| WinRAR | Paid | ||
| GnuWin32 Gzip | Free | ||
| macOS | The Unarchiver | Free | |
| Archive Utility | Free | Official | |
| Gzip (via Terminal) | Free | Official |
Common Problems with .gz Files
Frequently Asked Questions
A .gz file is a file compressed using the Gzip compression algorithm. It's designed to reduce file size for efficient storage and transfer, and typically contains a single compressed file.
You can open a .gz file using various compression utilities. On Windows, 7-Zip or WinRAR are popular choices. On macOS, the built-in Archive Utility or tools like The Unarchiver can handle them. You can also use command-line tools like 'gunzip' or 'gzip -d'.
No, a single .gz file typically compresses only one file. If you need to compress multiple files into a single archive, they are usually first combined into a tar archive and then the entire .tar file is compressed with gzip, resulting in a .tar.gz or .tgz file.
Technical Details
A .gz file is essentially a single file compressed using the DEFLATE algorithm, often preceded by a gzip header containing magic bytes, file modification time, and original file name. It is not a container format like .tar.