Format guide
What is GZ?
Gzip compressed file is a single-file Gzip compressed stream commonly used on Unix and for HTTP content encoding, created by Jean-loup Gailly / Mark Adler (1992). GZ compresses one file (often paired with tar as .tar.gz). Developers meet it in logs, packages, and downloads. Use ZIP when non-technical Windows users need a folder archive with a double-click workflow.
GZ format specifications
- Full name
- Gzip compressed file
- Kind
- archive
- File extension
- .gz
- MIME type
- application/octet-stream
- Developer / standard
- Jean-loup Gailly / Mark Adler · 1992
- Compression
- none or container
- Quality model
- Lossless / not lossy
- Container
- No / single bitstream typical
- Common codecs
- —
- Technical sources
- —
- Transparency
- Not supported
- Animation
- No (still / non-animated typical use)
- Typical size
- Significantly smaller for text; poor gains on already-compressed media
- Browser support
- Browsers decode HTTP gzip; .gz files download for manual extraction
- Compatibility
- Native on Linux/macOS toolchains; Windows users typically open GZ with 7-Zip or WinRAR rather than Explorer alone
GZ compression & quality
GZ compression: none or container. Lossless (or non-destructive packaging) keeps reconstructable data — size savings come from packing efficiency, not throwing detail away. Typical size profile: Significantly smaller for text; poor gains on already-compressed media. Quality note: Lossless compression
Quality: Lossless compression
Typical size: Significantly smaller for text; poor gains on already-compressed media
Transparency & animation
GZ does not support an alpha channel. Convert to PNG, WebP, AVIF, or SVG when you need transparent backgrounds.
GZ is a still-media or non-animated format in typical use. Use GIF, APNG, video, or animated WebP when you need motion.
GZ metadata
Entry timestamps and optional comments; encryption metadata when used.
Best use cases for GZ
- Compressing logs and text dumps
- Software tarballs
- HTTP gzip encodings
- Unix backup pipelines
When to avoid GZ
- Sending multi-file folders to casual Windows users without tar
- Recompressing JPGs
- Expecting Finder-naïve users to love .gz alone
- Encrypted secure sharing without additional tooling
Advantages
- Fast and ubiquitous on Unix
- Great on text
- Streams well
- Pairs cleanly with tar
Disadvantages
- Single-file focus
- Less friendly to novice Windows users
- No built-in multi-file browsing like ZIP UI
- Corrupt streams fail hard
Compatibility
Native on Linux/macOS toolchains; Windows users typically open GZ with 7-Zip or WinRAR rather than Explorer alone
Browsers: Browsers decode HTTP gzip; .gz files download for manual extraction
Software support
- gzip/gunzip
- 7-Zip
- tar
- Format Convertly
Device support
- Servers and developer machines primarily
- Modern desktops
- Phones and tablets with compatible apps
How to open GZ
On macOS/Linux use gunzip or tar -xzf for tarballs. On Windows use 7-Zip.
How to convert GZ
Repackage between GZ and ZIP-oriented workflows in Format Convertly when collaborators need a double-click-friendly archive — keep contents local.
Popular GZ conversions
GZ comparison guides
Compare GZ with related formats to pick the right container for quality, size, and compatibility.
Best format guides featuring GZ
Decision pages that cite GZ — the next hop after a vs comparison.
Related formats
GZ tools
Tools extend the format graph beyond one-off conversion — compression, metadata, and utilities for real workflows.
GZ FAQ
What is a GZ file?
GZ is a single-file Gzip compressed stream commonly used on Unix and for HTTP content encoding. GZ compresses one file (often paired with tar as .tar.gz). Developers meet it in logs, packages, and downloads. Use ZIP when non-technical Windows users need a folder archive with a double-click workflow.
Is GZ lossy or lossless?
GZ is typically lossless or non-destructive in common use (none or container).
Does GZ support transparency?
GZ does not support an alpha channel. Convert to PNG, WebP, AVIF, or SVG when you need transparent backgrounds.
How do I open a GZ file?
On macOS/Linux use gunzip or tar -xzf for tarballs. On Windows use 7-Zip.
How do I convert GZ privately?
Repackage between GZ and ZIP-oriented workflows in Format Convertly when collaborators need a double-click-friendly archive — keep contents local. Format Convertly keeps processing in your browser so files are not uploaded to a conversion server.
Are my GZ files uploaded on Format Convertly?
No. GZ conversion runs in your browser. Files are not sent to Format Convertly servers for processing.