Convert ZIP to TGZ — Free Online Converter
Convert ZIP Archive (.zip) to Gzipped Tar Archive (.tgz) online for free. Fast, secure archive conversion with no watermarks or registration.
Convert ZIP Archive (.zip) to Gzipped Tar Archive (.tgz) online for free. Fast, secure archive conversion with no watermarks or registration.
Upload your .zip file by dragging it into the upload area or clicking to browse.
Choose your output settings. The default settings work great for most files.
Click Convert and download your .tgz file when it's ready.
ZIP is the universal archive format built into every operating system, using per-file DEFLATE compression. TGZ is the compact-extension variant of gzip-compressed tar archives, using the .tgz filename required by Slackware Linux packages, Kubernetes Helm charts, and certain embedded system build tools. TGZ is structurally identical to .tar.gz but uses the shorter three-character extension.
Converting ZIP to TGZ transforms the universal cross-platform format into the specific .tgz format expected by Slackware's package manager, Helm's chart repository system, and embedded Linux toolchains. This conversion handles both the format change (ZIP to tar+gzip) and the extension requirement (.tgz rather than .tar.gz).
Slackware's installpkg tool recognizes packages by their .tgz extension — a ZIP file with identical contents would be rejected. Helm's chart packaging system distributes and installs charts as .tgz files exclusively. OpenWrt and Buildroot source caches store downloaded sources as .tgz by convention. Converting ZIP to .tgz makes the content directly usable by these specific infrastructure tools.
Beyond specific tool requirements, the .tgz extension simplifies automated processing. Shell scripts using glob patterns, MIME type detectors, and CI/CD pipeline rules that trigger on .tgz files will correctly identify the archive format. The single extension also avoids compound-extension handling issues that .tar.gz sometimes creates in path manipulation code.
The ZIP central directory is parsed and each entry is decompressed from its individual DEFLATE stream with CRC32 verification. Extracted files are placed in a temporary directory preserving the directory hierarchy. The file tree is bundled into a POSIX tar archive, then compressed through gzip (DEFLATE level 6). The output is written with the .tgz extension. Internally, the result is byte-for-byte what a .tar.gz file would contain — only the extension differs. File permissions from ZIP external attributes are preserved where present.
File content is completely lossless — every file is preserved byte-for-byte from the ZIP to the TGZ. Both formats use DEFLATE compression, so the TGZ may be similar in size or slightly smaller (tar.gz's stream compression can be more efficient than ZIP's per-file compression). Unix metadata is preserved from ZIP external attributes where available, with standard defaults (644/755) applied otherwise.
| Device | ZIP | TGZ |
|---|---|---|
| Windows PC | Partial | Partial |
| macOS | Partial | Partial |
| iPhone/iPad | Partial | Partial |
| Android | Partial | Partial |
| Linux | Partial | Partial |
| Web Browser | No |
ZIP to TGZ converts the universal archive format into the .tgz format required by Slackware, Helm, and embedded build systems. The output is a validated gzip-compressed tar archive with the specific .tgz extension these tools expect.
安全传输
HTTPS 加密上传
隐私优先
文件处理后自动删除
无需注册
即刻开始转换
随处可用
任何浏览器,任何设备
| No |
| 特性 | ZIP | TGZ |
|---|---|---|
| 全称 | ZIP Archive | Gzipped Tar Archive |
| 扩展名 | .zip | .tgz |
| 最适合 | Universal support | TAR + gzip |