Convert Z to GZ

Turn Z archives into Gzip. The bytes inside the Unix compress layer are compressed again as one gzip stream at level 6 unless level is given, under this file's name with .gz in place of .Z.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An old .Z file as a gzip file.The content stays the same. Only the compression around it changes.

  1. What you get

    One GZ file. The Unix compress layer is removed, and the bytes inside are compressed again as a single gzip stream.

    The output keeps the name of your file, with .gz in place of .Z.

  2. Compression level

    The file is compressed at level 6 unless you choose otherwise. Set Compression level to a number from 1 to 9. A higher level makes a smaller file and takes longer.

    The content is the same at every level, so the level only changes how hard the compressor works.

    For more conversions, see every Z conversion or every GZ conversion.

Z and GZ.What each format is, and the options this conversion takes.

  1. 01 · level

    Compression level

    How hard the compressor works. Higher makes a smaller file and takes longer. The content is the same at every level.

    1 to 9

The formats

From · Z

Unix compress

A single file compressed with the old Unix compress tool, ending in .Z.

Extensions
.z
MIME type
application/x-compress
Kind
Archives
To · GZ

Gzip

A single file compressed with gzip, such as a log or a CSV.

Extensions
.gz
MIME type
application/gzip
Kind
Archives

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

terminal
$ cv convert archive.z archive.gz
$ cv convert archive.z archive.gz

Questions.What people ask about Z to GZ.

01OF 04

No. The bytes inside the Unix compress layer are the same. They are wrapped in gzip instead.

Level 6. Set Compression level to a value from 1 to 9 to change it.

It takes the name of your Z file, with .gz in place of .Z.

No. A higher level makes a smaller file and takes longer, but the content is the same at every level.

More conversions.Other ways in and out of Z and GZ.