Skip to content
Fileora
.gz · GNU Zip (Gzip) Compressed File

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.

Tap to choose files

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 NameGNU Zip (Gzip) Compressed File
File Extension(s).gz
MIME Type(s)application/gzip
Format ClassificationCompressed archive container (lossless)
Parent Category HubArchive Converters & Tools (/archive)
Header / Magic Bytes0x1F 0x8B
Primary Use CasesCompressing single server log files, database SQL dumps (.sql.gz), TAR archives (.tar.gz), and HTTP web responses.
Notable LimitationsGzip 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:

Microsoft Windows

7-Zip, WinRAR, Windows File Explorer

Apple macOS

Archive Utility (built-in), Terminal (gunzip)

Android

ZArchiver

iPhone & iPad (iOS / iPadOS)

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

GZ stands for GNU zip (Gzip). By design, Gzip compresses a single continuous data stream rather than acting as a multi-file folder container. To compress multiple files with Gzip, Unix tools first bundle them into a .tar file and then compress that bundle into a .tar.gz (.tgz) archive.

Explore More Archive Tools

Visit the Archive hub or browse all 118 supported formats in the Fileora encyclopedia.