免费转换 GZ 文件
专业的 GZ 文件转换工具
将您的文件拖放到这里
或点击浏览文件
支持的格式
以高质量在所有主要文件格式之间转换
常见格式
ZIP Archive - universal compression format developed by Phil Katz (1989) supporting multiple compression methods. Built into Windows, macOS, and Linux. Uses DEFLATE algorithm providing good compression (40-60% reduction) with fast processing. Supports file encryption, split archives, and compression levels. Maximum compatibility across all platforms and devices. Perfect for file sharing, email attachments, web downloads, and general-purpose compression. Industry standard with virtually universal software support including built-in OS tools, mobile apps, and command-line utilities.
RAR Archive - proprietary format by Eugene Roshal (1993) offering superior compression ratios (10-20% better than ZIP) through advanced algorithms. Popular on Windows with WinRAR software. Supports recovery records for damaged archive repair, solid compression for better ratios, strong AES encryption, and split archives up to 8 exabytes. Excellent for long-term storage, large file collections, and backup scenarios. Common in software distribution and file sharing communities. Requires WinRAR or compatible software (not built into most systems).
7-Zip Archive - open-source format by Igor Pavlov (1999) providing the best compression ratio available (20-40% better than ZIP, 10-15% better than RAR). Uses LZMA and LZMA2 algorithms with strong AES-256 encryption. Supports huge file sizes (16 exabytes), multiple compression methods, solid compression, and self-extracting archives. Free from licensing restrictions and patent concerns. Perfect for maximizing storage efficiency, software distribution, and backup archives where size matters. Requires 7-Zip or compatible software but offers exceptional space savings.
Unix Formats
TAR Archive - Tape Archive format from Unix (1979) bundling multiple files and directories into single file without compression. Preserves file permissions, ownership, timestamps, and symbolic links critical for Unix systems. Often combined with compression (TAR.GZ, TAR.BZ2, TAR.XZ) for efficient distribution. Standard format for Linux software packages, system backups, and cross-platform file transfer. Essential for maintaining Unix file attributes. Works with streaming operations enabling network transfers and piping. Foundation of Unix/Linux backup and distribution systems.
GZIP/TGZ - GNU zip compression format (1992) using DEFLATE algorithm, standard compression for Linux and Unix systems. TGZ is TAR archive compressed with GZIP. Fast compression and decompression with moderate ratios (50-70% reduction for text). Single-file compression commonly paired with TAR for multi-file archives. Universal on Unix/Linux systems with built-in 'gzip' command. Perfect for log files, text data, Linux software distribution, and web server compression. Streaming-friendly enabling on-the-fly compression. Industry standard for Unix file compression since the 1990s.
BZIP2/TBZ2 - block-sorting compression format by Julian Seward (1996) offering better compression than GZIP (10-15% smaller) at the cost of slower processing. TBZ2 is TAR archive compressed with BZIP2. Uses Burrows-Wheeler transform achieving excellent ratios on text and source code. Popular for software distribution where size matters more than speed. Common in Linux package repositories and source code archives. Ideal for archival storage, software releases, and situations prioritizing compression over speed. Standard tool on most Unix/Linux systems.
XZ/TXZ - modern compression format (2009) using LZMA2 algorithm providing excellent compression ratios approaching 7Z quality. TXZ is TAR archive compressed with XZ. Superior to GZIP and BZIP2 with ratios similar to 7Z but as single-file stream. Becoming the new standard for Linux distributions and software packages. Supports multi-threading for faster processing. Perfect for large archives, software distribution, and modern Linux systems. Smaller download sizes for software packages while maintaining fast decompression. Default compression for many current Linux distributions.
TAR.7Z - TAR archive compressed with 7-Zip compression using LZMA/LZMA2 algorithms. Combines TAR's file bundling capabilities with 7Z's superior compression ratios (20-40% better than GZIP). Excellent for maximum space efficiency while maintaining Unix file attributes and permissions. Less common than TAR.GZ or TAR.XZ but offers exceptional compression for large archives. Requires 7-Zip or compatible tools for extraction. Perfect for archival storage, software distribution where size is critical, and backup scenarios requiring maximum compression. Balances TAR's Unix compatibility with 7Z's compression power.
TAR.BZ - TAR archive compressed with BZIP compression (single 'z', older variant). Alternative extension for BZIP-compressed TAR archives, functionally identical to TAR.BZ2 but less common. Uses Burrows-Wheeler block-sorting compression for better ratios than GZIP (10-15% smaller). Preserves Unix file permissions and directory structures. Occasionally encountered in legacy systems or as shorthand for TAR.BZ2. Standard tool on Unix/Linux systems. Modern usage typically prefers the explicit .tar.bz2 extension for clarity, but .tar.bz is fully supported by extraction tools.
TAR.LZ - TAR archive compressed with LZIP compression using LZMA algorithm in a simpler container format. Offers compression quality similar to XZ but with better error detection and recovery capabilities. Designed for long-term archival with features like data integrity checking and repair. Less common than TAR.XZ but valued for its robustness and data preservation focus. Standard tool 'lzip' available on Unix/Linux systems. Perfect for archival storage requiring data integrity verification, long-term backups, and scenarios where archive corruption recovery is important. Prioritizes reliability over maximum compression.
使用LZMA压缩的TAR归档文件,具有出色的压缩比
使用LZO压缩的TAR归档文件,用于快速压缩和解压缩
使用Unix compress (.Z)的TAR归档文件,用于兼容旧系统
TGZ - TAR archive compressed with GZIP compression. Combines TAR's file bundling with GZIP's compression in single extension (.tgz instead of .tar.gz). Standard format for Linux software distribution and source code packages. Maintains Unix file permissions and attributes while reducing size 50-70%. Fast compression and decompression speeds. Universal compatibility on Unix/Linux systems. Perfect for software releases, backup archives, and cross-platform file transfer. Abbreviated form of TAR.GZ with identical functionality and structure.
TBZ2 - TAR archive compressed with BZIP2 compression. Better compression than TGZ (10-15% smaller) but slower processing. Uses Burrows-Wheeler block sorting for excellent text compression. Common in Linux distributions and software packages where size is critical. Maintains Unix file permissions and attributes. Perfect for source code distribution, archival storage, and bandwidth-limited transfers. Abbreviated form of TAR.BZ2 with identical functionality. Standard format for Gentoo Linux packages and large software archives.
TXZ - TAR archive compressed with XZ (LZMA2) compression. Modern format offering best compression ratios for TAR archives (better than TGZ and TBZ2). Fast decompression despite high compression. Supports multi-threading for improved performance. Becoming standard for Linux distributions (Arch, Slackware use TXZ). Maintains Unix permissions and symbolic links. Perfect for large software packages, system backups, and efficient storage. Abbreviated form of TAR.XZ representing the future of Unix archive compression.
LZMA/TAR.LZMA - Lempel-Ziv-Markov chain Algorithm compression format (2001) offering excellent compression ratios. TAR.LZMA combines TAR archiving with LZMA compression. Predecessor to XZ format using similar algorithm but older container format. Better compression than GZIP and BZIP2 but superseded by XZ/LZMA2. Still encountered in older Linux distributions and legacy archives. Slower compression than GZIP but better ratios (similar to XZ). Modern systems prefer TAR.XZ over TAR.LZMA. Legacy format for accessing older compressed archives from 2000s era.
LZO/TAR.LZO - Lempel-Ziv-Oberhumer compression format prioritizing speed over compression ratio. TAR.LZO is TAR archive compressed with LZO. Extremely fast compression and decompression (faster than GZIP) with moderate ratios (30-50% reduction). Popular in real-time applications, live systems, and scenarios requiring instant decompression. Used by some Linux kernels and embedded systems. Common in backup solutions prioritizing speed. Perfect for temporary compression, live CD/USB systems, and high-speed data transfer. Trade-off: larger files than GZIP/BZIP2/XZ but much faster processing.
Z/TAR.Z - Unix compress format from 1985 using LZW (Lempel-Ziv-Welch) algorithm. TAR.Z is TAR archive compressed with compress command. Historical Unix compression format predating GZIP. Patent issues (until 2003) led to GZIP replacing it. Legacy format with poor compression by modern standards. Rarely used today except in very old Unix systems and historical archives. If you encounter .Z or .tar.Z files, convert to modern formats (TAR.GZ, TAR.XZ) for better compression and wider support. Important for accessing ancient Unix archives from 1980s-1990s.
专业格式
ISO Image - ISO 9660 disk image format containing exact sector-by-sector copy of optical media (CD/DVD/Blu-ray). Standard format for distributing operating systems, software installations, and bootable media. Can be mounted as virtual drive without physical disc. Contains complete filesystem including boot sectors, metadata, and file structures. Essential for Linux distributions, system recovery media, and software archives. Used by burning software, virtual machines, and media servers. Universal standard with support in all major operating systems for mounting and burning.
Cabinet Archive - Microsoft's compression format for Windows installers and system files. Used extensively in Windows setup packages, driver installations, and system updates. Supports multiple compression algorithms (DEFLATE, LZX, Quantum), split archives, and digital signatures. Built into Windows with native extraction support. Common in software distribution for Windows applications, particularly older installers and Microsoft products. Maintains Windows-specific attributes and can store multiple files with folder structures. Part of Windows since 1996.
AR Archive - Unix archiver format (1970s) originally for creating library archives (.a files). Simple format storing multiple files with basic metadata (filename, modification time, permissions). Used primarily for static libraries in Unix development (.a extension). Foundation format for DEB packages (Debian packages are AR archives containing control and data). Minimal compression support (none by default). Essential for Unix library management and Debian package structure. Standard tool 'ar' included on all Unix/Linux systems. Simple and reliable for static file collections.
Debian Package - software package format for Debian, Ubuntu, and derivative Linux distributions. Contains compiled software, installation scripts, configuration files, and dependency metadata. Used by APT package manager (apt, apt-get commands). Actually a special AR archive containing control files and data archives. Essential format for Debian-based Linux software distribution. Includes pre/post-installation scripts, version management, and dependency resolution. Standard packaging for thousands of Ubuntu/Debian applications. Can be inspected and extracted as regular archive.
RPM Package - Red Hat Package Manager format for Red Hat, Fedora, CentOS, SUSE, and derivative Linux distributions. Contains compiled software, installation metadata, scripts, and dependency information. Used by YUM and DNF package managers. Includes GPG signature support for security verification. Standard for Red Hat Enterprise Linux ecosystem. Supports pre/post-installation scriptlets, file verification, and rollback capabilities. Essential format for RHEL-based Linux software distribution. Can be extracted as archive to inspect contents without installation.
JAR档案 - 基于ZIP压缩的Java档案格式,用于打包Java应用程序。包含编译后的Java类(.class文件)、应用程序资源和清单元数据。Java应用程序和库的标准分发格式。支持数字签名以进行代码验证。可以是可执行的(带有Main-Class清单的可运行JAR文件)。非常适合Java应用程序部署、库分发和插件系统。与ZIP工具兼容,但包含Java特定功能。自1996年以来,Java开发和部署的基本格式。
ARJ Archive - legacy DOS compression format by Robert Jung (1991). Popular in DOS and early Windows era for its good compression ratio and ability to create multi-volume archives. Supports encryption, damage protection, and archive comments. Largely obsolete today, replaced by ZIP, RAR, and 7Z. Still encountered in legacy systems and old software archives. Requires ARJ or compatible decompression software. Historical format important for accessing old DOS/Windows archives from 1990s. Better converted to modern formats for long-term accessibility.
LHA档案 - 1988年开发的日本压缩格式(也称为LZH),在日本和Amiga用户中极为流行。使用LZSS和LZHUF压缩算法,提供良好的压缩比。1990年代日本软件分发中常见。支持档案头、目录结构和文件属性。遗留格式,现在大多被现代替代品取代。在复古计算、日本软件档案和Amiga社区中仍然可以遇到。提取需要LHA/LZH兼容软件。对于访问日本和Amiga软件档案非常重要。
CPIO Archive - Copy In/Out archive format from Unix (1970s) for creating file archives. Simpler than TAR, often used for system backups and initramfs/initrd creation. Standard format for Linux initial RAM disk images. Supports multiple formats (binary, ASCII, CRC). Better handling of special files and device nodes than TAR. Common in system administration, bootloader configurations, and kernel initrd images. Universal on Unix/Linux systems. Essential for system-level archiving and embedded Linux systems. Works well for streaming operations.
如何转换文件
上传您的文件,选择输出格式,立即下载转换后的文件。我们的转换器支持批量转换并保持高质量。
常见问题
什么是 GZ 文件?
A GZ file is a compressed archive created using the Gzip compression algorithm, primarily used on Unix and Linux systems. It is designed to reduce the size of files and improve storage and transmission efficiency.
GZ 文件通常包含单个压缩文件,非常适合压缩大型文件,如日志、文本文件或二进制文件。它们通常与 TAR 文件结合使用,以归档多个文件。
由于其高压缩比,GZ 文件在互联网上分发软件和大型数据集时非常受欢迎。
我如何将 GZ 文件转换为其他格式?
您可以使用各种在线转换工具将 GZ 文件转换为 ZIP 或 TAR 格式。这些工具允许您上传 GZ 文件并选择所需的输出格式。
只需选择文件,选择目标格式,工具将为您处理转换过程,无需任何软件安装。
始终确保您使用的在线工具是信誉良好的,以保护您在转换过程中的数据。
我可以在不转换的情况下解压缩 GZ 文件吗?
Yes, GZ files can be decompressed using various tools, including command-line utilities and graphical software. Popular options include WinRAR, 7-Zip, and the command-line 'gunzip' command.
解压缩 GZ 文件将恢复原始文件到未压缩状态,使您可以直接访问其内容。
使用专用的解压缩工具通常是从 GZ 压缩档案中提取文件的最简单方法。
使用 GZ 文件有什么优势?
GZ 文件在文件压缩方面提供显著优势,减少文件大小以节省带宽和存储空间。这在通过互联网传输文件时特别有用。
此外,GZ 文件在各种平台上得到广泛支持,使其在大多数系统上易于解压缩,无需专门软件。
Gzip 算法还提供快速的压缩和解压缩速度,使其对用户和系统都高效。
GZ 和 ZIP 是一样的吗?
不,GZ 和 ZIP 是不同的文件格式,尽管两者都用于压缩。GZ 通常压缩单个文件,而 ZIP 可以将多个文件压缩成一个归档。
ZIP 文件还支持多种压缩算法,而 GZ 特别使用 Gzip 算法。
根据使用情况和文件存储与传输所需的功能,两种格式各有其优势。
How do I open a GZ file on Windows?
To open a GZ file on Windows, you can use software like 7-Zip or WinRAR. Both programs allow you to easily extract files from a GZ archive.
安装软件后,右键单击 GZ 文件,从上下文菜单中选择 '提取到此处' 或 '提取到' 以解压缩文件。
或者,如果您熟悉终端命令,也可以使用命令行工具。
Can GZ files be used on Mac or Linux?
Yes, GZ files are fully supported on both Mac and Linux operating systems. They can be easily extracted using built-in command-line tools like 'gunzip' or 'tar -xzvf'.
在 Mac 上,您还可以使用图形应用程序,如 The Unarchiver 来解压缩 GZ 文件。
这两个平台对 GZ 的支持都很强大,使其成为跨不同操作系统进行文件压缩的多功能选择。
GZ 压缩档案的最大文件大小是多少?
由于使用 32 位文件长度字段,GZ 格式理论上可以支持最大为 4 GiB 的文件。然而,实际限制可能会根据用于压缩的软件而有所不同。
对于较大的文件,考虑使用 TAR 结合 GZ 创建 TAR.GZ 文件,这样可以更有效地处理多个文件和更大的大小。
始终检查您特定软件的文档,以了解有关文件大小的任何限制。
GZ 和 TGZ 之间有什么区别?
是的,TGZ 只是一个经过 tar 打包和 gzip 压缩的文件,通常用于将多个文件或目录压缩成一个 GZ 文件。TGZ 中的 'T' 表示它是一个用 Gzip 压缩的 TAR 归档。
TGZ files are common in Unix and Linux environments, where multiple files need to be archived and compressed together.
您可以使用处理 GZ 文件的相同工具轻松转换或提取 TGZ 文件。
我如何将文件压缩为 GZ 格式?
To compress files into the GZ format, you can use command-line tools like 'gzip' on Unix/Linux systems. Simply run 'gzip filename' to compress a single file.
对于多个文件,首先创建一个 TAR 归档,然后使用 'tar -czvf archive.tar.gz /path/to/files' 用 Gzip 压缩它。
各种软件工具也提供图形界面,用于将文件压缩为 GZ 格式。
Gzip 和其他压缩算法有什么区别?
Gzip 专门设计用于速度和效率,使用 Lempel-Ziv 编码和 Huffman 编码的组合。这允许快速压缩和解压缩。
其他算法,如 Bzip2,可能实现更好的压缩比,但通常以速度为代价,使 Gzip 成为许多实时应用的首选。
压缩算法的选择取决于您对速度与压缩效率的具体需求。
GZ 文件存在安全隐患吗?
GZ 文件本身没有内置加密,使其在包含敏感信息时容易受到未经授权的访问。建议将 GZ 与其他安全措施结合使用。
为了安全传输文件,考虑在将文件压缩为 GZ 格式之前对其进行加密。
处理来自不可信来源的 GZ 文件时,请始终保持谨慎,因为它们可能包含恶意内容。
我可以在编程中使用 GZ 文件吗?
是的,GZ 文件在编程中被广泛使用,尤其是在 Web 应用程序的数据传输和存储方面。许多编程语言本身支持 Gzip 压缩。
Python、Java 和 JavaScript 等语言提供 Gzip 库,使开发人员能够轻松处理压缩数据。
在编程中使用 GZ 可以通过减少传输过程中的数据大小来提高性能。
如何重命名 GZ 文件?
重命名 GZ 文件很简单;只需右键单击文件并选择“重命名”,或使用命令行执行 'mv oldfile.gz newfile.gz'。
确保文件扩展名保持为 '.gz',以便在将来进行解压缩时保持其格式。
避免在文件名中使用特殊字符,以防止在不同系统之间出现兼容性问题。
我可以使用什么工具来处理 GZ 文件?
Several tools are available for working with GZ files, including WinRAR, 7-Zip, and command-line utilities like gzip and gunzip. These tools provide options for both compression and extraction.
在线转换器还允许轻松将 GZ 文件转换为其他格式,无需安装软件。
根据您的具体需求选择工具,无论是简单的提取还是高级压缩功能。
About the GZ Format
GZ (gzip compressed file) was first introduced in 1992 by Jean-loup Gailly and Mark Adler. It is most commonly used for Unix/Linux compression, web server file compression.
1992
Jean-loup Gailly and Mark Adler
Unix/linux compression, web server file compression
Lossless (perfect quality preservation)