Free online TAR to TGZ converter
Compress a TAR archive as TGZ with 101convert, GNU gzip, or 7-Zip.
Convert TAR to TGZ online - free
Your file is processed automatically and deleted right after you download the result, or after 3 hours at the latest.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .tar file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .tar to .tgz conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .tgz file
Conversion result is ready to download.
How to convert tar to tgz file
- Archives
- No ratings yet.
A Linux or Unix package workflow may require a gzip-compressed archive instead of an uncompressed TAR file. Converting it to TGZ adds compression around the TAR stream, which can reduce the size for transfer or storage.
What the TAR format is
TAR (Tape Archive) bundles files and directories into one archive but does not compress them. GNU tar and other archive utilities create TAR files, commonly used for Linux and Unix software packages, source code, and backups.
What the TGZ format is
TGZ is a TAR archive compressed with gzip; .tgz and .tar.gz are equivalent extensions. Gzip compression is lossless, and TGZ is often smaller than TAR. The reduction depends on the contents: already-compressed files may shrink little or not at all.
Convert online on 101convert.com
- Upload the TAR file to the converter on this page.
- Choose TGZ as the output format and start the conversion.
- Download the converted file when it is ready. The page runs conversion on its server with 7-Zip; its per-file size limit is shown on the page.
Convert offline with desktop software
On Linux or macOS, use GNU gzip in a terminal: gzip -c archive.tar > archive.tgz. Replace archive.tar with the input filename. This writes the compressed file and leaves the original TAR in place.
On Windows, use 7-Zip. In File Explorer, right-click the TAR file and choose 7-Zip → Add to archive.... Set the archive format to gzip, enter an output name such as archive.tar.gz, and confirm. You can rename the result to archive.tgz if needed; changing the extension does not change its contents.
Quality and compatibility
Compression preserves the TAR stream and its file entries; it does not convert or edit the files inside. Renaming a TAR file to .tgz without compressing it does not create a valid TGZ. Most archive utilities recognize both .tgz and .tar.gz, though a particular application may require one extension.
TAR vs TGZ: format comparison
How the TAR and TGZ formats compare on the properties that matter most for this conversion.
| Property | .TAR Tape Archive | .TGZ GZIP-compressed Tar Archive |
|---|---|---|
| Compression | Uncompressed | Both |
| Compression ratio | — | High |
| Encryption | No | No |
| Split archives | No | — |
| Recovery record | No | No |
| Operating system support | Wide | Wide |
| Typical file size | Large | Small |
| Open standard | Yes | Yes |
| Introduced | 1979 | 1992 |
| Developer | AT&T Bell Laboratories | Free Software Foundation / GNU Project (gzip format; tar from POSIX/Unix tradition) |
| MIME type | application/x-tar | application/gzip |
Information about file extensions and file types is provided by File-Extensions.org
Suggested software and links: tar to tgz converters
Frequently asked questions
Is the TAR to TGZ converter free?
Yes, converting TAR to TGZ on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my TAR file be?
You can upload TAR files up to 25 MB and convert up to 1 files at once in a single batch. With a paid plan the limit is up to 1000 MB per file and 1 files at once, see our plans.
What happens to my uploaded files?
Files are processed automatically. Your upload is deleted from our servers right after you download the result, or after 3 hours at the latest. We never view or share your files.
Do I need to install any software to convert TAR to TGZ?
No. The TAR to TGZ conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid TAR file for this TAR to TGZ conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.