TAR to 7Z Converter
Upload a .tar and get back a .7z with the same files, folders, dates and permissions, compressed with LZMA2 by 7-Zip on our server.
Download Started!
How would you rate your experience with MiConvert?
Is this TAR file in Google Drive?
You can unzip it there without downloading it. Open the archive from Drive with MiConvert, pick the files you want, and they are extracted into a new folder next to it. How to unzip files in Google Drive →
What happens when a TAR becomes a 7Z
A TAR file is a Unix container. It strings files together with their paths, dates and permissions but compresses nothing, so a tar of a project or log directory is about as large as its contents. That is why tars are usually gzipped before they travel. If the recipient uses 7-Zip on Windows, or you want a tighter archive than gzip usually gives, converting to 7z makes sense.
The converter does not rename or wrap your tar. On our server, 7-Zip 26.02 unpacks it into a temporary folder and then builds a new 7z from those files. It uses LZMA2 at 7-Zip's Normal level and writes a solid archive. The temporary folder is removed when the job ends, whether it succeeded or failed, and the files themselves are copied byte for byte.
In our tests the 7z kept these items: - the folder structure, including empty folders; - hidden dot-files; - original modification dates; - Unix permission bits; - symbolic links, stored as links. Owner and group names are unverified. The output has no password, and its file names are visible. Because the archive is solid, pulling out one file later means decompressing the block it sits in.
Archives nested inside the tar, such as a .zip or a .7z, are copied unchanged. There is one exception: if your tar contains nothing but a single .tar, that inner tar is unpacked and its contents go into the 7z loose.
This page suits Linux and macOS users passing a backup or source tree to Windows colleagues, and anyone shrinking a plain tar for storage. It is built for plain .tar files.
How to convert TAR to 7Z
- Make sure you have a plain .tar. Files ending in .tar.xz, .txz, .tar.bz2 or .tbz2 are refused at upload. Run xz -d or bunzip2 on them first to get the bare tar.
- Check the size. You can upload up to 50 MB per file without an account, 100 MB with a free account, 200 MB on Plus and 1 GB on Pro. Above 1 GB, signed-in users may be offered a one-time paid conversion.
- If the tar holds a very large amount of data, split it into several smaller tars, because unpacking is stopped after two minutes.
- Drop the tar into the converter above. There is nothing to configure: the compression level and method are fixed, and no password is added.
- Download the result. It is named after your tar, so backup.tar becomes backup.7z, and the link works for about four hours.
- Open the file with 7-Zip, p7zip or another 7z tool. On Linux, 7z x backup.7z restores the folder tree.
What the TAR to 7Z converter does
- Builds a solid 7z with LZMA2 at 7-Zip's Normal level (-mx=5).
- Stores Unix permission bits and symbolic links, so tools that honor Unix attributes can restore executable scripts and links.
- Keeps the directory layout, empty folders, dot-files like .gitignore, and every file's modification date.
- Copies file contents unchanged, including zip or 7z archives nested in the tar.
- Converts several tars in one batch and returns a separate .7z for each. There is no combined download.
- Leaves the output unencrypted with readable names. You can add a password in 7-Zip afterward if needed.
Video Tutorial
Watch this step-by-step tutorial to learn how to convert TAR files to 7Z format online for free using MiConvert.com. No software installation required.
TAR to 7Z questions
Can I convert a tar.gz to 7z on this page?
We have no TGZ to 7Z page, and this page is built for plain .tar files. To get a 7z, remove the gzip layer first, then upload the .tar. On Linux or macOS, run gzip -d archive.tar.gz. On Windows, extract the .gz in 7-Zip. If a ZIP suits you instead, our TGZ to ZIP page accepts .tgz and .tar.gz files as they are.
Can you convert 7z to tar.gz?
No. We do not create tar.gz or any other compressed tar. Our 7Z to TAR converter outputs a plain, uncompressed .tar, which you can then gzip on your own machine.
How do I convert tar to 7z on Linux with the 7z command?
With p7zip or 7-Zip installed, run 7z x archive.tar -oarchive to unpack, then cd archive && 7z a ../archive.7z . to re-pack, which includes hidden files. The tar command cannot open 7z files, so use 7z x for those. To keep the tar intact, run 7z a archive.tar.7z archive.tar instead.
Will the 7z be smaller than the tar?
Usually, since a tar has no compression. Text, logs and source code tend to shrink a lot. Photos, video and already-compressed archives barely change, so a smaller result is not guaranteed. The level is fixed at Normal. For maximum compression, use Ultra in 7-Zip locally.
Are permissions, owner and group kept?
Permission bits, symbolic links and modification dates are kept. Owner and group names are unverified, so do not rely on them. For a system backup you will restore as root, compress the tar locally as a .tar.7z instead.
Why do I see "Processing failed. The file may be corrupt or unsupported."?
The tar is probably truncated or damaged, and one bad entry fails the whole job. Run tar tf on it locally to find the break, then re-download or re-create the file. A very large tar can fail in a different way: if unpacking takes over two minutes, the job stops with a timeout error. In that case, split it into smaller tars and convert each one.
Should I pick ZIP instead of 7Z?
Pick ZIP if the recipient may not have 7-Zip, because Windows and macOS open ZIP with their built-in tools. Pick 7z for a tighter archive meant for 7-Zip users. For ZIP, use our TAR to ZIP converter.
Where is my file processed, and how long is it kept?
Your tar is uploaded over HTTPS and converted on our server, not in your browser. The upload is deleted as soon as the conversion finishes. The 7z stays downloadable for about four hours, then it is deleted automatically. The download link is a random token, but it is not single-use: anyone holding it can download until it expires. File names, sizes and outcomes are logged to run the service. If you are signed in, the conversion also appears in your history.