Archive tools

Gzip decompress

Gzip decompress a file locally. Nothing leaves your device.

Runs on your device. The file is never uploaded.

Gzip decompress inflates a .gz file with fflate gunzipSync and returns it under the same name with the suffix dropped. A name ending in none of .gz, .zz or .deflate gets .out appended instead. Nothing caps the expansion, because a gzip stream never declares its uncompressed size up front.

Input

Questions

What file do I get back?

Your file with the .gz stripped off, so archive.tar.gz comes back as archive.tar. If the name does not end in a recognised suffix, .out is appended instead, so the result never overwrites the name it came from. The bytes are exactly what was compressed, since gzip is lossless.

It gave me a .tar. What now?

Run Extract tar on it. A .tar.gz is a tar archive that was then gzipped, so decompressing gives you the plain tar and the second step unpacks the files. That reader handles plain USTAR archives with regular files and nested paths.

Is there a limit on how much it will expand?

No declared size guard, unlike Extract ZIP. A gzip stream does not announce its uncompressed size up front the way a zip entry does, so the data is inflated into memory as it comes. A deliberately crafted bomb, or an ordinary large archive, can therefore exhaust the tab. Use a desktop tool that streams to disk for anything huge.

Why did it fail on my file?

Because the bytes are not a valid gzip stream. That covers a truncated download, a file renamed to .gz that is a zip or a plain tar, and a corrupted archive. Check the real type with Detect file type if you are not sure what you have.

Can it open a .zip or a .bz2?

No. This reads the gzip format only. Use Extract ZIP for a zip, Zlib decompress for a zlib stream and Deflate decompress for a raw deflate stream. Bzip2 and xz are not supported by any tool here. If you are not sure what you have, run Detect file type first, since it reads the magic bytes instead of trusting the extension.

Is anything uploaded?

No. The file is decompressed in a Web Worker in your own tab, with the compressed input and the full expanded output both held in memory. Nothing is sent to a server, and the page works offline after your first visit.

Related Archive tools