TarTool – Windows tar gzip tgz extraction tool

TarTool is a tiny windows command line tool to extract tar gzip (tar.gz or tgz extension) files.

You can download TarTool , unzip and run TarTool.exe as a command line executable.

You can also download TarTool from this alternate download location if the link above is down or does not work for you.

The source code  for TarTool is now hosted on codeplex.

I wanted to play around with the Microsoft Shared Source CLI SSCLI. The download is only available as a tgz extension. Imagine that 🙁

After searching the interwebs for tools that would extract tar gzip files , I was disappointed since there was no simple tool to extract tar gzip files on my windows machine.

There are a few tools out there like WinRAR etc., but I found them too bloated for my task.

So I wrote a little tool using SharpZipLib, the open source Zip, GZip, Tar and BZip2 library (great job guys, BTW).

SharpZipLib does most of the heavy lifting so the core of TarTool  is less than ten lines of C#. I can host the source code if there is enough interest.

The source is now hosted on codeplex.


 Update (05/06/2009 17:00 CST) :

TarTool now has an addtional option to untar tar file formats.

TarTool -x sample.tar temp

will untar the sample.tar contents into the temp folder.

Update (04/02/2012 11:35 PM CDT)
bzip2 decompression is now supported in TarTool 2.0 Beta .
TarTool -xj sample.tar.bz2 temp
TarTool -j sample.bz2

4 Responses to “TarTool – Windows tar gzip tgz extraction tool

  • 1
    vidya :)
    October 18th, 2016 17:32

    I m getting the following content as error ” ‘TarTool’ is not recognized as an internal or external command,
    operable program or batch file. ” . Idon’t understand why it was getting . Can you please help me ?

  • 2
    October 25th, 2016 08:58

    try executing it from the folder where you unzipped TarTool.exe, if you are not doing that already.

  • 3
    Harry Branson
    September 20th, 2017 12:35

    I have a .TAR backup of my website created by the Plesk Control Panel Backup Manager. It has imbedded .GZ and .TAR files. Can TarTool be used to extract all the compressed files to re-create the files and folders?

  • 4
    September 21st, 2017 16:22

    use the -x flag to extract a .TAR archive and recreate the files and folders.

Leave a Reply