Home / Software I wrote / Pigz windows port

Pigz windows port

Pigz is a parallel gzip implementation. It uses multiple cores to speed up compression and decompression.

This is a Windows port made by Krzysztof Kowalczyk.


Download latest version :

Sources are at https://github.com/kjk/pigz

Have comments or questions about this software? Get in touch.


To compress: pigz [options] [files ...]

To uncompress: unpigz [options] [files ...]

pigz foo.txt will create foo.txt.gz, compressed with gzip algorithm, and delete foo.txt.

To not delete the source file, use --keep ( -k) option.

To change the compression algorithm:

The suffix is:

All options

pigz.exe is the same as unpigz.exe!

You might have noticed that pigz.exe and unpigz.exe is exactly the same executable. That can't be right?

It is right. The reason for that is implementation trick that Unix version uses.

On Unix unpigz.exe is a symbolic link to pigz.exe. The program checks the name that was used to execute it to choose between acting as compressor or decompressor.

Unfortunately Windows doesn't have the same support for symbolic links so the easy way to replicate Unix behavior is to have the same executable under 2 different names.