Code · Made a little simpler

GZIP Compressor & Decompressor

Compress one local file to .gz with a selectable level, or decompress a .gz file and check its resulting size.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

GZIP Compressor & Decompressor: how to use it

  1. Choose Compress or Decompress, then select one file. Load the built-in readings file to try the compression workflow.
  2. For compression, choose a level based on speed or output size. Run the operation and compare the input and output byte counts.
  3. Download the output. To verify a round trip, reopen the .gz in Decompress mode and compare the restored file with the original.

Limits and notes

Processes files on your device. Compresses up to 60 MB and accepts a single-member GZIP upload up to 65 MB with a 60 MB expanded output limit. GZIP does not store a directory tree.

How your privacy works →

GZIP Compressor & Decompressor: common questions

Can I compress a folder with GZIP?

Use TAR.GZ Creator for multiple files or a folder tree. A single GZIP member holds one byte stream.

How is the decompressed filename chosen?

The tool uses the uploaded name, removing .gz or changing .tgz to .tar. The embedded header filename is ignored.

Will a higher level always reduce the output size?

Higher levels can take more time and may yield the same size. A GZIP file can even be larger than the source when the input is already compressed or very small.

Guides