How is a TAR.GZ file created?
First, TAR combines the selected files and directory paths into one archive stream. GZIP then compresses that stream. The two stages produce a file commonly named .tar.gz or .tgz.
Drop files here or click to select
Add multiple files or keep a folder's relative paths.
TAR.GZ does not support password protection.
Processing takes place in this browser tab. Files are not uploaded by this tool.
TAR.GZ combines two established formats: TAR preserves a collection of files and their directory paths, and GZIP compresses the resulting archive stream. It is a standard choice for source releases, backups, server transfers, and Unix-based tooling.
The amount saved depends on the source data. Text-oriented folders often compress substantially, while already-compressed media may not. Large jobs also require enough browser memory to hold the input and completed archive.
First, TAR combines the selected files and directory paths into one archive stream. GZIP then compresses that stream. The two stages produce a file commonly named .tar.gz or .tgz.
They represent the same basic combination of TAR and GZIP. This tool uses the longer .tar.gz extension because it makes both parts of the format explicit.
TAR.GZ is common for source code, Linux packages, server backups, and folder snapshots. ZIP may be more convenient when recipients rely on built-in consumer desktop or mobile tools.
Not always. Source code, CSV, JSON, and plain text often compress well, while JPEG, MP4, MP3, and similar formats may shrink very little because they already use compression.
No. TAR.GZ does not provide password protection or encryption. Choose ZIP or 7Z if the archive needs a password.
Related tools: Archive Compressor · Extract TAR.GZ File · Create TAR File · Create ZIP File