GZIP Compressor
Compresses one file with gzip on this page.
About this tool
Paths that contain .. are rejected. The work stays in this browser.
The gzip header stores the original file name, and the download uses that name with .gz.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Run.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- The gzip header stores the original file name, and the download uses that name with .gz.
Compressing a single file into one gzip stream
One input, one member
gzip is a single compression stream: a header, deflate data, and a CRC-32 trailer. It does not hold a directory of files. This page takes the one file you chose and compresses those bytes. If you need several files in one download, pack a ZIP or a tar first, and then you may gzip the tar. Feeding this tool a folder is not an option it has. The status line shows the uncompressed length and the packed length, so you can see whether the deflate step helped. Text and logs often shrink. A file that is already compressed, such as a JPEG or an existing ZIP, may barely change.
The name stored in the header
The original file name, reduced to its last path segment, is written into the gzip header. The download uses that name with .gz appended when it does not already end in .gz. A file called notes.txt becomes notes.txt.gz. The header name is how a later decompress can offer notes.txt again even if someone renamed the .gz on disk, as long as the header is still intact. The call that compresses does not take a compression level from the form. There is no level slider. The library default is the setting that runs.
What you should not expect inside the stream
There is no member table to browse, because there is only one payload. There is no ustar header unless the file you compressed was already a tar. Compressing notes.txt does not wrap it in tar. Compressing a tar you already built does wrap that tar, which is the usual .tar.gz arrangement, and the header name will be the tar’s file name as this page received it. Path segments of .. in the name are rejected by the base-name check. The result type is gzip. Keep the .gz if you want the smaller bytes. The original file remains the one you selected.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

