Skip to content
Coverton Blog
In this article
Files and archives

Decompress GZ and inspect the resulting file

Decompressing GZ restores the data stored in the compressed stream. Check whether the original was a log, CSV or another archive instead of deciding its format only from the downloaded name.

Open the toolHow to use this tool ↓
Decompress a GZIP file
This illustration explains the tool's workflow. It is not the processed result of an uploaded file.

How to use this tool

  1. Choose files in GZ, GZIP format. Maximum files per batch: 1.
  2. Check the input format and file order, then start processing.
  3. Download the output, open it, and check its content and quality.

Choose the right settings

Select a GZIP or GZ file without additional options. The result may be named by removing .gz or .gzip from the input filename, so review what extension remains.

Supported input
  • GZ, GZIP
Output
  • Files

Before you start

Distinguish bundling from compression

Keep a list of the source files and decide whether you need one bundle, separate compressed files, extracted contents or an inspection report. These are different outcomes. ZIP entry names and folder paths also differ from the contents of the files themselves; check what this tool will preserve before processing.

Where an output or report choice is offered, choose it for the next step rather than by extension alone. Do not assume that an archive will be smaller: already compressed files may change little, and bundling without compression adds archive structure. Review the supported archive types and restrictions instead of expecting a password or bypass control that is not provided.

Record the selected source files, their names and which measurement matters for delivery. A report can describe entries without proving that each can be extracted, while a successfully extracted file still needs a content check. If a later program cannot open the result, compare its actual format with that program’s supported input before blaming the archive step. Preserve any intermediate archive separately, so the original compressed input and a newly produced package are not confused during another attempt.

Verify names, contents and sizes

Compare the result with the source list. For an archive, inspect entry names and open an extracted sample; for separate outputs, match each file to its input. Read compressed size, expanded size and whole-archive size as different measurements. If paths become safe filenames, verify that similarly named entries can still be distinguished.

If processing stops, check for a damaged stream, unsupported encryption or structure, unsafe paths and the stated expansion limits. Do not bypass a blocked input by assuming it is harmless. Structural inspection does not scan file contents for malware, and decompression may reveal another archive that needs its own extraction step.

Example input and output

report.txt.gz → report.txt

Examples describe the workflow. Results depend on the source file and settings.

Check the saved result before using it

Open the output in the appropriate program and inspect its content and size. If it is another container such as TAR, a separate step using that format's extraction tools is still necessary.

If the result is different from what you expected

Damaged streams or expanded data exceeding safety limits can stop processing. When original-name information is missing, the output filename may differ from the name used before compression.

Limits to keep in mind

  • A .tar.gz expands to a TAR file; this tool does not also unpack the TAR entries.

Continue with a related tool

Create a ZIP archive

A ZIP bundle lets you deliver photos and documents as one file. This tool stores the contents without data compression, so use it to group files rather than relying on it to reduce their combined size.

Select the files to include without additional archive settings. Keep a source list when files share a name so you can identify the distinct names assigned to those entries in the result.

Open the tool

Extract ZIP files

After extracting documents from ZIP, check that the outputs are the entries you intended to use. Paths are converted to safe filenames, so the download should not be assumed to recreate the original folder tree.

Select one ZIP and let the tool inspect its structure and paths before extraction. There is no password input or option to bypass a blocked archive's safety checks.

Open the tool
CovertonDecompress a GZIP file
Open the tool

This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.