How to convert TAR to GZ
- Add your .TAR file - drop it in the box above or click to browse.
- Convert it to .GZ in a few seconds.
- Download your new .GZ file.
What to expect
gzipremoves the original.tarby default; rungzip -k file.tarto keep both files.- Files already compressed - JPEG, MP4, ZIP - gain almost nothing from gzip and the
.tar.gzmay end up slightly larger than the original.tar. .tgzand.tar.gzare identical; any tool that opens one opens the other.
Frequently asked questions
Is `.tar.gz` the same as `.tgz`?
Yes, exactly the same format.
.tgz is just a shorter alias - both contain a gzip-compressed tar archive and any tool that opens one opens the other.Do the files inside change when converting from `.tar` to `.tar.gz`?
No. Gzip compresses the
.tar as a whole stream without touching the individual files, names, or directory structure inside.Are Linux file permissions preserved?
Yes. Permissions, symlinks, and timestamps are stored in the
.tar headers, which gzip does not modify - this is why .tar.gz is preferred over .zip on Unix systems.Why did `gzip` delete my original `.tar`?
Gzip replaces the input with the compressed output by design; run
gzip -k file.tar to keep the original .tar alongside the new .tar.gz.