GZIP Decompressor

Decompresses a gzip file on this page.

Use this tool

Drop a file here, or use the picker. The file type is checked from its contents.

Result

The result appears in this panel after you run the tool.

About this tool

Paths that contain .. are rejected. The work stays in this browser.

The download uses the name stored in the gzip header. When that header has no name, the .gz suffix is removed from the file you opened.

How to use it

  1. Open this page and provide the input it asks for.
  2. Set the options that are visible, then use Decompress.
  3. Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.

Limitations

Inflating one gzip member and choosing its filename

A stream, not an archive catalog

The file you open is read as gzip and inflated to the single payload. You do not get a table of members, because a bare gzip stream does not store a directory. If the payload happens to be a tar, you still receive those tar bytes as one file. Unpack that tar on the tar tool afterward. If the payload is a PDF or a text file, you receive that file. The status line reports the inflated length. A truncated or corrupt stream fails rather than returning a partial file you might mistake for the original.

Where the download name comes from

When the header’s name flag is set, the stored name is read and the last path segment of that name becomes the download name. That is the name the compressor put in the header, which on this site is the original file’s base name. When the flag is absent or the name is empty, the tool derives a name from the file you opened. A name ending in .tar.gz loses the .gz and keeps the .tar. A name ending in .tgz is rewritten to end in .tar. A name ending in .gz loses those three characters. Any other name is kept as its base name. The goal is a sensible filename for the payload, not a second copy of the wrapper.

After the bytes are back

The download is an uncompressed blob of the payload. It is not re-packed into a ZIP. It is not split into pages. A .tar.gz that you inflate here becomes the tar, and the tar’s members are still inside that tar until you list them elsewhere. A notes.txt.gz becomes notes.txt when the header or the suffix says so. Do not point this page at a ZIP and expect a member list. ZIP and gzip are different formats even though both can use deflate. The CRC check is part of a successful inflate. If the library rejects the file, there is nothing to save from that run.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.