TGZ to ZIP Converter: Unpack tar.gz into a ZIP | MiConvert

Convert TGZ (tar.gz) to ZIP Online

Upload a .tgz or .tar.gz and download a ZIP with the same folder tree, file dates and Unix permissions, ready for Windows File Explorer or macOS Finder. A ZIP of many small files often ends up larger than the tarball, because ZIP compresses each file separately instead of the whole bundle at once.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
TGZ → ZIP

Is this TGZ file in Google Drive?

You can unzip it there without downloading it. Open the archive from Drive with MiConvert, pick the files you want, and they are extracted into a new folder next to it. How to unzip files in Google Drive →

Why a TGZ needs unwrapping before it becomes a ZIP

A TGZ file is two formats stacked together. Tar gathers files, folders and their Unix metadata into one stream, then gzip compresses that stream. It is the usual packaging for Linux source releases, server backups and many export tools. Windows includes a tar command, and recent Windows 11 builds can open .tar.gz in File Explorer, but many people, older machines and upload forms still expect a plain .zip.

On our server, 7-Zip 26.02 removes the gzip layer, sees that the result is a single .tar, and unpacks that too. It then writes every file into a new ZIP at 7-Zip's normal compression level. Larger compressible files such as text, CSV and source code are compressed with Deflate. Small or already-compressed files may be stored as they are. The working folder is erased when the job ends.

We tested this path with a tarball containing subfolders, an empty folder, dot-files, an executable script, a symlink and a file dated 2019. The ZIP kept all of them: the folder layout, the empty folder, the hidden files at the top level, the 2019 modification time, the script's executable permission, and the symlink as a link entry. We do not promise owner and group names. Windows extraction tools that ignore Unix attributes may unpack a symlink as a tiny text file.

This is for Windows users who downloaded a Linux release or a hosting backup, developers sending a project export to someone who only knows ZIP, and anyone who searched for tgz to zip without wanting to type tar commands. The files inside are not converted: a CSV stays a CSV, and a .jar or .zip inside the tarball is copied unchanged.

How to convert a tar.gz file to ZIP

  1. Check that the file ends in .tgz or .tar.gz. Tarballs compressed with xz or bzip2 (.tar.xz, .txz, .tar.bz2, .tbz2) are refused at upload.
  2. If the tarball came from an interrupted download, test it before uploading. On Linux or macOS, gzip -t file.tgz prints nothing when the file is intact.
  3. Check your size limit: 50 MB per file as a guest, 100 MB signed in, 200 MB on Plus and 1 GB on Pro.
  4. Upload one tarball, or up to 10 at once. Each one becomes its own ZIP.
  5. Download the ZIP within about four hours. site.tgz becomes site.zip, but site.tar.gz arrives as site.tar.zip, so rename it if you don't want the leftover .tar in the name.
  6. Extract the ZIP with the tools built into Windows or macOS, or with unzip on Linux, which also restores the permission bits.

TGZ to ZIP converter capabilities

  • Both layers, gzip and tar, are unwrapped in a single job, with nothing to pre-extract
  • Unix details carried into the ZIP: modification times, permission bits, symlinks, empty folders and dot-files
  • Deflate at 7-Zip's normal level (-mx=5), with small or incompressible files stored rather than recompressed
  • Non-ASCII file names marked as UTF-8, so modern unzip tools read accented and non-Latin names correctly
  • Up to 10 tarballs per request (25 on Plus, 50 on Pro), each with its own ZIP download
  • Tarballs over 1 GB and up to 40 GB can go through a signed-in, pay-once job that emails the ZIP link

Video Tutorial

Watch this step-by-step tutorial to learn how to convert TGZ files to ZIP format online for free using MiConvert.com. No software installation required.

TGZ to ZIP FAQ

How do I convert tgz to zip on Linux?

Extract the tarball, then zip the result: mkdir out, then tar -xzf file.tgz -C out, then cd out and zip -r ../file.zip . (the final dot matters). If you only want the plain tar inside, gunzip -k file.tgz leaves file.tar next to the original.

How do I convert tgz to zip on Windows?

Windows 10 and 11 include tar. In an empty folder, run tar -xf file.tgz from Command Prompt. Then select the extracted items, right-click, and choose Compress to ZIP file on Windows 11, or Send to, Compressed (zipped) folder on Windows 10. The built-in Windows ZIP does not record Unix permissions. The ZIP made here does.

What is the difference between TGZ and ZIP?

TGZ compresses the whole bundle as one gzip stream. To reach a single file, you have to read through the stream. ZIP compresses each file on its own, so you can open one file without unpacking the rest, and every major desktop system opens it without add-ons. TGZ is the Unix and Linux convention. ZIP is the everyday choice for Windows, email and web upload forms.

Why is the ZIP bigger than my TGZ?

Gzip treats all the files as one stream and can reuse patterns that repeat across them. ZIP starts fresh for every file and often stores small files uncompressed. A tarball of thousands of small source files grows the most. Compression is fixed at 7-Zip's normal level, so there is no setting to shrink it further.

Can I upload .tar.xz, .tar.bz2 or .zst files?

No. Those extensions are refused at upload with an unsupported format message. Decompress them on your computer with xz -d, bunzip2 or zstd -d to get a plain .tar, then use our TAR to ZIP page. You can also recompress the tar as .tar.gz and upload it here.

The conversion failed with a corrupt or unsupported message. Why?

Usually the tarball is truncated or damaged, and one unreadable entry stops the whole conversion. Re-download it and check it with gzip -t. Separately, a tarball whose unpacking takes longer than two minutes is stopped with a timeout error. Split those into smaller archives and convert them one by one.

Will the files inside be converted, for example to PDF?

No. This tool only changes the container. Every file comes out of the ZIP byte for byte as it went into the tarball. To change a document or image inside, extract the ZIP first, then run that file through the converter for its own format.

Is my tarball kept on your server?

Only while it is being converted. The uploaded tarball is deleted as soon as the conversion finishes, and the temporary unpacked copy is removed at the same point. The ZIP stays available for about four hours, then it is deleted automatically. Until then, anyone holding its random download link can fetch it. Transfers use HTTPS through Cloudflare. File names, sizes and results are logged for operations, so keep secrets out of file names. Signed-in users also keep a history entry until they delete their account.

Convert to ZIP

Other Archive Converters