What Is a GZ (.gz) File?
A GZ (`.gz`) file is a GNU Zip (Gzip) Compressed File used for compressing single server log files, database SQL dumps (.sql.gz), TAR archives (.tar.gz), and HTTP web responses. RFC 1952 standard based on DEFLATE; supported natively on Linux, macOS, 7-Zip, and Windows.
Drop files here, or Tap to choose filesclick to browse
PDF, DOCX, XLSX, PPTX, JPG, PNG, MP3, MP4, EPUB, ZIP and 100+ more
GZ Technical Specifications & Use Cases
GNU Zip (Gzip) Compressed File (.gz) is classified as a compressed archive container with lossless storage. In everyday workflows, it is used for compressing single server log files, database SQL dumps (.sql.gz), TAR archives (.tar.gz), and HTTP web responses.
| Full Format Name | GNU Zip (Gzip) Compressed File |
| File Extension(s) | .gz |
| MIME Type(s) | application/gzip |
| Format Classification | Compressed archive container (lossless) |
| Parent Category Hub | Archive Converters & Tools (/archive) |
| Header / Magic Bytes | 0x1F 0x8B |
| Primary Use Cases | Compressing single server log files, database SQL dumps (.sql.gz), TAR archives (.tar.gz), and HTTP web responses. |
| Notable Limitations | Gzip only compresses a single byte stream—it cannot bundle multiple separate files unless those files are first combined into a TAR archive (.tar.gz / .tgz). |
How to Open a GZ (.gz) File
RFC 1952 standard based on DEFLATE; supported natively on Linux, macOS, 7-Zip, and Windows. Below are the verified programs and built-in apps that open .gz files across desktop and mobile operating systems:
7-Zip, WinRAR, Windows File Explorer
Archive Utility (built-in), Terminal (gunzip)
ZArchiver
Apple Files (built-in)
How GZ Compares to Closest Alternatives
Defined in IETF RFC 1952, Gzip uses the exact same LZ77 + Huffman DEFLATE compression algorithm as ZIP, but wraps a single continuous byte stream with a 10-byte header and a 32-bit CRC-32 checksum footer rather than a central multi-file directory index. For multi-file directories, Unix workflows combine TAR with Gzip (.tar.gz / .tgz), whereas Windows and Mac desktop users prefer standard .zip archives.
Convert from GZ (1 Supported Targets)
Choose a target format below to convert your .gz file locally in your browser without uploading:
Frequently Asked Questions About GZ (.gz) Files
Explore More Archive Tools
Visit the Archive hub or browse all 118 supported formats in the Fileora encyclopedia.