.gz — Gzip Compressed Archive
Jean-loup Gailly and Mark Adler · 1992
The .
Key Features
- Lossless storage behavior for typical archive workflows
- Common MIME type: application/gzip
- Recognizable file signature: 1F 8B
- Associated with Jean-loup Gailly and Mark Adler
Best For
- Packaging files for download
- Backups and transfers
- Reducing storage overhead
Less Ideal For
- Direct viewing without extraction
- Live editing inside the package
- Formats requiring immediate preview
Common Use Cases
- Bundling many files together
- Reducing transfer size
- Preserving directory structure during sharing
How to Open It
- On Windows, open the file with 7-Zip or WinRAR.
- On macOS, open the file with The Unarchiver or Archive Utility.
- If the file does not open, confirm that the extension really matches .gz and that the download or transfer completed without corruption.
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.