GZIP File Format
Standard compression format on Unix systems. 7-Zip offers better compression than standard gzip.
Can Create
Yes
Can Extract
Yes
Extension
.gz
Platform
All
GZIP Guides
What Is a GZIP File?
GZIP is a compression format commonly used on Unix and Linux systems. It uses the deflate algorithm (same as ZIP) to compress individual files.
GZIP files have the .gz extension. A file named "document.txt" compressed with gzip becomes "document.txt.gz".
GZIP is often combined with TAR to create .tar.gz (or .tgz) archives — TAR bundles the files, GZIP compresses the bundle. This is the most common archive format on Linux.
Can 7-Zip Open GZIP Files?
7-Zip can create and extract GZIP files, achieving 2-10% better compression than the standard gzip utility.
7-Zip handles .tar.gz (and .tgz) files transparently — both TAR and GZIP layers are processed in a single operation.
7-Zip can also create .tar.gz archives directly by selecting "gzip" as the archive format.
How to Extract GZIP Files
Right-click the .gz file
Locate your .gz or .tar.gz file in Windows Explorer, right-click it, and navigate to "7-Zip".
Choose extraction option
Select "Extract Here" to extract the compressed file. For .tar.gz, 7-Zip handles both gzip and tar layers automatically.
Access extracted files
The decompressed file appears in the destination folder. For .gz files, the original filename is restored (minus the .gz extension).
How to Create GZIP Archives
Select file(s) to compress
GZIP compresses individual files. Select the file you want to compress in Windows Explorer.
Open the archive dialog
Right-click > 7-Zip > "Add to archive..." and set the format to "gzip".
Create the .gz file
Click OK. 7-Zip creates a .gz compressed file with better compression than standard gzip.
How to Password Protect GZIP Files
GZIP does not support password protection or encryption.
For encrypted archives, use 7z or ZIP format with AES-256 encryption.
GZIP File Specifications
| Extension | .gz |
| Compression | Deflate |
| Encryption | Not supported |
| Platform | All (native on Unix/Linux) |
| Maximum Size | 4 GB (standard), unlimited (with extensions) |
| Developer | Jean-loup Gailly and Mark Adler |
| MIME Type | application/gzip |
Common GZIP Errors & Solutions
Cannot extract .gz file
Cause: File corruption or unsupported format variant.
Solution: Re-download the file. 7-Zip supports standard GZIP. If the file uses an uncommon extension, you may need the original compression tool.
GZIP vs 7Z
| Feature | GZIP | 7z |
|---|---|---|
| Compression ratio | Moderate (deflate) | Best (LZMA2) |
| Multiple files | No (use .tar.gz) | Yes |
| Encryption | No | AES-256 |
| Linux native | Yes | No (needs p7zip) |
GZIP FAQ
What is a .gz file?
A .gz file is a file compressed with GZIP, a common compression format on Unix/Linux. It compresses individual files. When combined with TAR, it creates .tar.gz archives.
Can 7-Zip open .gz files?
Yes. 7-Zip can extract .gz and .tar.gz files on Windows. It handles both GZIP and TAR layers automatically for .tar.gz files.
Can 7-Zip create .gz files?
Yes. 7-Zip can create GZIP compressed files. Right-click > 7-Zip > Add to archive > select "gzip" format.
What is .tar.gz?
A .tar.gz file is a TAR archive compressed with GZIP. TAR bundles multiple files, GZIP compresses the bundle. It's the standard archive format on Linux.
Is GZIP better than 7z?
For compression ratio, 7z is significantly better (30-50% smaller). GZIP is more compatible on Unix/Linux systems. Use 7z for best compression, GZIP for Linux compatibility.
Related Formats
Ready to use 7-Zip?
Download the free, official 7-Zip now.