What happens when you convert GZ to TAR
- The GZ is unpacked in your browser. If it holds a TAR archive, as a .tar.gz does, every file and folder inside is packed into a new TAR with the same structure; a plain .gz holds one file, which becomes the only file in the TAR, under the name stored in the GZ. Nothing is uploaded.
- TAR does not compress, so the result is about the size of all the files added together.
How to convert GZ to TAR online
- Press "Choose GZ files" and select one or more files, or drag them onto the box. You can add files of any size your device can hold in memory.
- There are no settings to choose: the converter keeps everything the target format can hold.
- Press "Convert to TAR". The archive engine, about 1 MB, loads the first time; then the time depends on how much is inside the archive.
- Save each TAR with its download button. Close the tab and every trace of the files is gone from memory.
Why convert GZ to TAR?
GZ files usually come from compressed logs, database dumps and downloads, and Linux software as .tar.gz. People convert them to TAR because TAR is what Linux and Mac tools, servers and build systems expect.
In short, GZ is good at what it was made for, and TAR is the more practical choice when the file has to open, upload or print somewhere else. GZ opens natively on macOS, Linux and Windows 11 since its 2023 update, and with 7-Zip on older Windows, while TAR opens natively on macOS and Linux, and with tar or 7-Zip on Windows.
How to convert GZ to TAR on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your GZ files in from File Explorer, and press Convert. Each TAR is saved to your Downloads folder.
On a Mac
Safari, Chrome and Firefox all work. Drag the GZ files from Finder onto the drop zone and the TAR files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose GZ files. You can pick from Photos or from the Files app. The converted TAR appears in Files, in the Downloads folder.
On Android
Open the page in Chrome, tap Choose GZ files and pick them from Files or your gallery. The TAR is saved to the Download folder, where any file manager can find it.
Best settings for GZ to TAR
There is nothing to set: every file in the GZ is copied into the TAR as it is.
Large archives are unpacked into your browser's memory, so very big ones, several gigabytes, are better handled by a desktop program such as 7-Zip. Archives split into several parts (.part1.rar, .part2.rar) need all parts, which this tool does not join.
GZ vs TAR: the differences
| GZ | TAR | |
|---|---|---|
| Full name | Gzip-compressed file | Tape archive |
| Type | archive | archive |
| Created by | Jean-loup Gailly and Mark Adler, for the GNU project | Unix developers at Bell Labs |
| First released | 1992 | 1979 |
| Compression | Lossless | Lossless |
| What it holds | one file compressed with gzip, often a TAR archive of many files | files and folders joined end to end, without compression |
| In a browser | opens natively on macOS, Linux and Windows 11 since its 2023 update, and with 7-Zip on older Windows | opens natively on macOS and Linux, and with tar or 7-Zip on Windows |
| Common uses | compressed logs, database dumps and downloads, and Linux software as .tar.gz | software source code and Linux and Mac backups |
| MIME type | application/gzip | application/x-tar |
About GZ and TAR files
What is a GZ file?
Gzip compresses a single file, not a folder. That is why folders are packed into a TAR first and then gzipped, giving .tar.gz, and why a plain .gz holds exactly one file, usually named like the .gz without its extension.
What is a TAR file?
A TAR file bundles files without compressing them; it keeps Unix permissions and folder structure. It is usually compressed again with gzip, giving a .tar.gz or .tgz file.
GZ to TAR not working? Common problems
- The archive will not open. It may be password protected, damaged, or one part of a multi-part archive.
- The browser tab stops on a big archive. Everything is unpacked in memory; very large archives are better handled by 7-Zip or The Unarchiver.
- Files have odd names. Archives made on some older systems store names in a local character set; the files themselves are intact.
Convert GZ to TAR from the command line
On a Mac or Linux, gunzip unpacks the file inside, keeping the original, and zip or tar packs it again:
gunzip -k input.gz
tar -cf output.tar inputThe converter on this page does the same job in your browser, without installing anything.
GZ to TAR converter FAQ
Will I lose quality converting GZ to TAR?
No. Archives are lossless: every file comes out byte for byte identical.
Why is the TAR a different size from the GZ?
TAR does not compress, so it is usually larger than the original archive.
Are my GZ files uploaded anywhere?
No. The conversion runs inside this browser tab using libarchive compiled to WebAssembly and the fflate ZIP library, so your files stay on your device. You can disconnect from the internet after the page and converter engine have loaded and it still works.
Can I convert several GZ files to TAR at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open a TAR file?
TAR opens natively on macOS and Linux, and with tar or 7-Zip on Windows. TAR is common for software source code and Linux and Mac backups.
Is this GZ to TAR converter free?
Yes. There is no sign-up, no watermark and no limit on how many files you convert. The site is paid for by advertising, and because conversions run on your device there is no server cost per file.
Can I convert GZ to TAR on my phone?
Yes. The converter works in Safari on iPhone and iPad and in Chrome on Android. Converted files are saved to the Downloads folder.