Code · Made a little simpler

ZIP to TAR.GZ

Convert ZIP to a GZIP-compressed TAR locally. Preserve relative file paths, empty directories and file bytes.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

ZIP to TAR.GZ: how to use it

  1. Open a ZIP archive or load the fieldwork example.
  2. Choose a GZIP compression level. Convert and review the source member paths.
  3. Download converted.tar.gz and open it in TAR.GZ Extractor to confirm file contents and any empty directories.

Limits and notes

Supports unencrypted single-volume ZIPs using Stored or DEFLATE, up to 65 MB input, 60 MB expanded, 30 MB per file and 1,000 entries. Uses safe relative paths. Links and ZIP64 are outside the supported format. The output uses USTAR with PAX paths where needed and allows up to 1,000 members including inserted parent folders.

How your privacy works →

ZIP to TAR.GZ: common questions

Does the conversion keep empty folders?

Yes. An explicit directory entry in the ZIP is written as a TAR directory. Parent folders are added where needed for nested files.

Will a higher compression level change a file's contents?

The GZIP level changes compression effort and size. The same file bytes are enclosed in the TAR.

Is an archive created by changing the file extension equivalent?

ZIP and TAR.GZ have different records. This converter reads and checks the ZIP members, builds a TAR and compresses it with GZIP.

Guides