Create TAR.GZ File Online

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.

Create a GZIP-compressed TAR archive

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.

How to make a TAR.GZ file

  1. Add files or select a folder, then review the relative paths that will be included.
  2. Keep TAR.GZ selected and enter a name for the output archive.
  3. Click Compress Files and download the finished .tar.gz file.

Create TAR.GZ file FAQ

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.

Are .tar.gz and .tgz the same type of archive?

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.

When is TAR.GZ a good choice?

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.

Will GZIP always reduce the archive size?

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.

Can I add a password to a TAR.GZ archive?

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