メインコンテンツへスキップ

Convert ZIP to TGZ: Free Online Converter

Convert ZIP Archive to Gzipped Tar Archive online for free. Fast, secure archive conversion with no watermarks or registration.

163,297件のファイルを変換済み

ZIPに対応

アップロードすることで、これらのファイルの権利を有していること、および利用規約に同意することを確認したものとみなされます。

安全な転送

HTTPS暗号化アップロード

プライバシー優先

ゲストのファイルは約2時間で自動削除

登録不要

すぐに変換を開始

どこでも動作

あらゆるブラウザ、あらゆるデバイス

ZIP から TGZ への設定

エンジン
アーカイブ
設定
設定は不要です。適切な初期値が使われます。

変換方法

1

アップロードエリアにドラッグするか、クリックして選択し、.zipファイルをアップロードしてください。

2

必要に応じて出力設定を調整してください。デフォルト設定ではオリジナルの品質を維持します。

3

「変換」をクリックし、準備ができたら.tgzファイルをダウンロードしてください。

ZIPからTGZへの変換について

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).

ZIPをTGZに変換する理由

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.

主な活用例

  • Creating Slackware packages from ZIP-distributed software in the required .tgz format
  • Packaging ZIP-distributed content as Kubernetes Helm charts in .tgz format
  • Converting ZIP downloads into .tgz for OpenWrt and Buildroot source cache compatibility
  • Preparing deployment bundles in .tgz format for embedded Linux systems that expect this extension
  • Standardizing ZIP archives to .tgz for automation pipelines that process single-extension archives

仕組み

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.

Document EngineModerateMinimal Quality Loss

デバイス互換性

DeviceZIPTGZ
Windows PCPartialPartial
macOSPartialPartial
iPhone/iPadPartialPartial
AndroidPartialPartial
LinuxPartialPartial
Web BrowserNoNo

最良の結果を得るためのヒント

  • 1For Slackware packages, verify the internal directory structure matches Slackware conventions before deploying
  • 2For Helm charts, ensure Chart.yaml exists at the expected path inside the archive
  • 3The .tgz extension is purely conventional — if you also need .tar.gz, the same file can be hard-linked or copied with a different name
  • 4Both ZIP and .tgz use DEFLATE, so expect similar file sizes — this conversion is about format and extension, not compression improvement
  • 5Verify the output with `tar -tzf output.tgz` to confirm the directory structure was correctly converted from the ZIP

関連する変換

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.

ZIPとTGZの比較

特徴ZIPTGZ
正式名称ZIP ArchiveGzipped Tar Archive
拡張子.zip.tgz

よくある質問

Yes, they are structurally identical. The conversion produces a gzip-compressed tar with the .tgz extension. Renaming to .tar.gz would work identically.
Similar. Both use DEFLATE. The .tgz may be slightly smaller because tar.gz compresses files as a single stream, while ZIP compresses each file independently.
The .tgz format is correct, but Slackware packages require specific internal structure (install/slack-desc, install/doinst.sh, etc.). Ensure the ZIP contents follow Slackware's layout.
No. Helm requires .tgz chart packages. This conversion produces the exact format Helm expects.
ZIP external attributes are converted to Unix permissions. Windows-created ZIPs get standard defaults (644 files, 755 directories). Unix-created ZIPs with proper external attributes have their permissions preserved.

関連する変換とツール

逆変換

TGZ to ZIP→

ZIPから他の形式への変換

他の形式からTGZへの変換

ZIPを他の形式に変換

他の形式をTGZに変換