Convert TGZ to 7Z

Turn TGZ archives into 7Z. Every file, folder and link is kept with its path, modification time and permissions.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TGZ files on the dialor turn it to pick what to do

Your TGZ archive as one 7Z file.Every file, folder and link keeps its path, time and permissions.

  1. What you get

    One 7Z archive with the same contents as your TGZ. Files, folders and links are all carried over, each with its path.

    The modification time and the permissions of every entry are kept, so the tree looks the same when you unpack it.

  2. What changes

    Owners are not kept. The entries in the 7Z do not record who owned them in the TGZ.

    Hard links become copies. Where the TGZ had several names pointing to one file, the 7Z holds a separate copy of that file under each name.

  3. When it stops

    If the TGZ cannot be parsed, the conversion stops with input_corrupted. No 7Z file is produced in that case.

    To go the other way, use 7Z to TGZ.

TGZ and 7Z.What each format is.

The formats

From · TGZ

Gzipped Tar Archive

Gzip-compressed tar archives, the way source code ships.

Extensions
.tgz
MIME type
application/gzip
Kind
Archives
To · 7Z

7-Zip Archive

7-Zip archives with strong LZMA compression.

Extensions
.7z
MIME type
application/x-7z-compressed
Kind
Archives

In your code.The same TGZ to 7Z conversion through the API, for your app or your agent.

terminal
$ cv convert archive.tgz archive.7z
$ cv convert archive.tgz archive.7z

Questions.What people ask about TGZ to 7Z.

01OF 04

Yes. Every file, folder and link is kept with its path, so the tree is the same.

Yes. Modification time and permissions are kept for every entry. Owners are not.

They become copies. Each name that was a hard link in the TGZ becomes its own file in the 7Z.

The TGZ could not be parsed. The conversion stops and no 7Z file is made.

More conversions.Other ways in and out of TGZ and 7Z.