Skip to content

Convert ZIP to GZ

Extract ZIP contents to compress one file as GZ or a group of files as TAR.GZ.

Convert ZIP files online

We don’t have a dedicated online converter for ZIP to GZ yet, but you can convert ZIP files online to these and more formats:

Want to convert ZIP to GZ?

Let us know. We pick the conversions to add next by how many people ask for them.

How to convert zip to gz file

A Unix-based program may accept gzip-compressed input but reject a ZIP archive, or a workflow may specifically require a .gz file. Since ZIP and GZ organize data differently, the right conversion depends on whether the ZIP contains one file or several.

What ZIP is

ZIP is an archive container that can hold multiple files and folders, usually with each file compressed separately. It is widely used to package downloads and share groups of files, and is supported by common tools on Windows, macOS, and Linux.

What GZ is

GZ (gzip) compresses a data stream; it does not provide ZIP’s file list or folder structure. It is commonly used for individual files on Unix-like systems. To package several files or directories while retaining their structure, put them in a TAR archive and gzip that archive, producing a .tar.gz file.

Gzip compression is lossless. A GZ file cannot preserve a ZIP’s collection of entries, directory layout, or ZIP-specific metadata as separate archive items.

How to convert the contents

For one file on Windows: Use 7-Zip. Right-click the ZIP and choose 7-Zip → Extract to “folder name\”. Right-click the extracted file, choose 7-Zip → Add to archive…, set Archive format to gzip, choose the output name and destination, then click OK. The resulting GZ compresses that one file.

On macOS: EZ7z can extract ZIP files and create GZIP archives. Extract the ZIP, then create a new archive from the single extracted file and select GZIP as the format. Menu wording may vary by version.

For multiple files or folders: Create a TAR archive from the extracted contents, then gzip the TAR file. On macOS or Linux, run this from the directory containing the extracted folder: tar -czf files.tar.gz -C extracted-folder .. The result is a gzip-compressed TAR archive, conventionally named .tar.gz; it retains the folder structure inside the TAR.

Compatibility and limits

There is no equivalent standalone GZ that preserves a multi-file ZIP as a collection. The output may be larger than the original ZIP because it is recompressed with a different format. Password-protected ZIP files must be unlocked during extraction; gzip does not retain ZIP encryption. Online conversion is a poor fit for multi-file archives and requires uploading their contents, so use it only for non-sensitive files when the service clearly supports the intended output.

ZIP vs GZ: format comparison

How the ZIP and GZ formats compare on the properties that matter most for this conversion.

Comparison of the ZIP and GZ file formats
Property .ZIP ZIP archive .GZ gzip
Compression Both Lossless
Compression ratio Medium Medium
Encryption Yes No
Split archives Yes No
Recovery record No No
Operating system support Wide Wide
Typical file size Medium Small
Open standard Yes Partly open
Introduced 1989 1992
Developer Phil Katz / PKWARE GNU Project
MIME type application/zip application/gzip

Information about file extensions and file types is provided by File-Extensions.org

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.