OKfmt

TAR TGZ

Compresses a plain TAR with gzip level 9 into .tar.gz (text and code typically shrink 60–80%); file contents stay byte-identical.

Drag files here or click to upload (multiple files supported)

Ctrl+V to paste from clipboard

How to convert TAR to TGZ

  1. 1Upload your TAR file by dragging, clicking, or pasting.
  2. 2Adjust quality settings if needed.
  3. 3Click 'Convert Now' and wait for the conversion to complete.
  4. 4Download your converted TGZ file.

About TAR to TGZ conversion

TAR is a Unix tape archive format introduced in 1979. It only performs packaging without compression functionality. TGZ is a gzip-compressed TAR packaging format introduced by GNU in 1992. This conversion is designed for users who need to compress uncompressed TAR packages into the standard compressed packaging format.

This conversion is powered by the 7-Zip engine, which compresses the original TAR package using the gzip algorithm. The output file is smaller than the original, preserves the directory structure, Unix file permissions and symbolic links from the original TAR package, complies with Linux distribution standards, and can be decompressed directly with the tar -xzf command.

The converted output is suitable for Linux source distribution and software deployment package creation scenarios, compatible with all mainstream Linux distributions, and the output file can be processed normally by corresponding decompression tools on macOS and Windows platforms.

TAR vs TGZ: technical comparison

FeatureTARTGZ
Released19791992
DeveloperAT&T Bell LabsGNU Project

FAQ about TAR → TGZ

Does file quality change after conversion?

This conversion only compresses the original TAR package, and does not modify the content of original files inside the package. It will not cause loss of file content quality, and all content inside the package can be fully restored from the output file.

Will original file permissions be preserved?

Unix file permissions and symbolic link information stored in the original TAR package are preserved, the directory structure remains intact, and no metadata from the original archive is lost.

What is the maximum single file size limit?

The maximum single file upload size for this tool is 50MB, the maximum total uncompressed size is 256MB, and the maximum number of files is 1000. Processing will be rejected if these limits are exceeded.

Will uploaded files be stored?

Conversion is completed on the server side. Files are uploaded to the server via HTTPS, and both the source file and output file are deleted immediately from the server after conversion completes. No files are stored.