Convert GZ to TXT

Turn GZ archives into TXT. The gzip layer is removed and the bytes inside are written as they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Plain text out of a gzip file.The gzip layer comes off and the text inside is left as it was.

  1. What you get

    One TXT file. The conversion removes the gzip layer and writes the bytes inside exactly as they were, so a compressed log or CSV comes out as the same log or CSV.

    Nothing in the content is rewritten or reformatted. The result is the file that was compressed, under a plain text name.

  2. Ask for what is inside

    Choose TXT only when you know the file inside the GZ is text. Anything else is refused. A GZ that holds another kind of file needs the format that file really is.

    The conversion has no options. There is nothing to set.

  3. When it stops

    A GZ that cannot be parsed stops with input_corrupted. A GZ whose contents the target cannot carry stops with unsupported_elements.

    To go the other way, use TXT to GZ. For other targets, see every GZ conversion.

GZ and TXT.What each format is.

The formats

From · GZ

Gzip

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

Extensions
.gz
MIME type
application/gzip
Kind
Archives
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

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

terminal
$ cv convert archive.gz archive.txt
$ cv convert archive.gz archive.txt

Questions.What people ask about GZ to TXT.

01OF 04

No. The bytes inside are written as they were, with only the gzip layer removed.

A GZ that holds a single file you know is text, such as a log or a CSV. Ask for the format you know is inside.

The file holds something the target cannot carry. The conversion stops with unsupported_elements in that case.

No. It takes one GZ and gives one TXT file.

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