Loading GZIP Decompressor...
Please wait a moment

How to Use Free Online GZIP Decompressor - Step by Step Guide

Step 1

Upload or Paste GZIP Data

Start by providing the GZIP compressed data you want to decompress. GZIP uses the DEFLATE algorithm:

•
Upload .gz file: Click "Upload" to select a compressed file from your computer
•
Paste base64 data: If you have base64-encoded GZIP data, paste it directly into the text area
•
Try the sample: Click "Sample" to test with example compressed data

Example: Compressed GZIP Input

Here's what compressed GZIP data looks like in base64 format:

H4sIAAAAAAACAKvmUlBQKk4tKstMTlWyUlByzskvTQkuyS9KTE9VCCjKV9IBKSgtTi0qVrJSiOZSUFBQqAaTCgpKmSlKVgqGRsYmpjowobzEXLA5jjmpFQpe+Rl5xfl5SnDZYojBIAWmBgbuTkpgiVouBYVYrloAG+FJ6osAAAA=

Paste this string into the tool and it decompresses to the JSON shown in Step 2.

Step 2

Decompress the Data

There's no button to press: as soon as your GZIP file or Base64 text is in, the original content is extracted. The GZIP format stores a checksum of the original data, and it is checked, so damaged data is reported instead of shown:

•
Automatic: Decompression runs in your browser right after you paste or upload
•
Clear errors: Cut-off files, checksum mismatches, bad Base64 characters and other formats (ZIP, bzip2, plain text) are each explained
•
Read content: Text appears in the output area; for binary files (images, .tar archives) you get their size and can download them

Example: Decompressed Output

After decompression, the original JSON data is restored:

{
  "service": "CloudStorage Pro",
  "users": [
    {
      "id": 12345,
      "name": "Alex Johnson",
      "storage": "500GB"
    }
  ]
}

The decompressed content is now readable and ready to use!

Step 3

Copy or Download Decompressed Data

Use your decompressed content:

•
Copy to clipboard: Click to copy the decompressed text for use in other applications
•
Download as file: Save the decompressed file byte for byte, named after the file stored in the .gz (or your upload without ".gz")
•
Process further: Use the output with JSON Formatter or other tools

Frequently Asked Questions

How do I decompress a .gz file?

Press "Upload" and choose the .gz file. There is no separate decompress button: the file is decompressed as soon as it loads, and any text inside appears in the output panel. From there you can copy the text or download the original file.

What is the difference between gunzip and ungzip?

There isn't one. gunzip is the name of the Unix/Linux command, and "ungzip" is simply another way of saying "undo the gzip compression". Both give you back the file that was compressed.

Is my data secure when decompressing?

Decompression runs in your browser using the pako JavaScript library. The .gz file or Base64 text you give the page is not sent to our server.

Can I decompress multiple .gz files at once?

No, the page handles one file at a time. If you have a folder full of .gz files, the gunzip command (gunzip *.gz) or a short script will be quicker.

What if I get a decompression error?

The message says what went wrong: the data is cut off, the checksum doesn't match (the file is damaged), the Base64 has an invalid character (with its line and column), or the data is a different format such as ZIP, bzip2 or plain text. For a cut-off or damaged file, getting a fresh copy usually fixes it. To decompress from code, use Python's gzip module or Node.js zlib.

What happens if the file inside is not text?

Images, .tar archives and other binary files are decompressed too, but they can't be shown as text, so the output panel just tells you the size. Download saves the exact bytes, using the file name stored in the .gz file when there is one.

Do I need to install software for GZIP decompression?

No. It works in any modern browser, with no sign-up and nothing to install. Very large files are limited only by your device's memory.