Skip to content
Aback ZIP

GZIP Compress & Extract

Compress any single file to GZIP (.gz) with your choice of level, or decompress a .gz file back to the original, with its stored file name restored. Ideal for logs, datasets and web assets.

GZIP Compress & Extract

Compress one file to .gz, or decompress a .gz back to the original.

Processed locally

Drop a file to compress, or a .gz to extract

One file at a time; for folders use Create ZIP or ZIP to TAR

Files stay on your device. Nothing is uploaded.

How to use GZIP Compress & Extract

  1. 1

    Choose a mode

    Compress a file to .gz, or decompress a .gz file back to the original.

  2. 2

    Add your file

    Drop a single file, or choose it with the file picker.

  3. 3

    Set the level

    When compressing, pick a level from 1 (fastest) to 9 (smallest). Decompressing needs no settings.

  4. 4

    Download

    Get name.ext.gz, or the decompressed file under its original name, created in a background worker on your device.

Why use Aback ZIP's GZIP Compress & Extract?

Both directions

Compress any single file to GZIP, or decompress a .gz you received. A .tgz decompresses to the .tar inside.

Original names kept

When compressing, the file's name is stored in the GZIP header. When decompressing, the stored name is restored, or the name without .gz is used.

Choose your level

Levels 1 to 9 trade speed for size. Level 6 is the usual default and the one the gzip command uses; 9 squeezes out a little more.

Processed locally

Compression and decompression run in your browser. Files are not uploaded, and no account is needed.

Common use cases

Read rotated server logs

Open access.log.2.gz from a web server on a Windows laptop without installing anything, then read it in any text editor.

Data files and SQL dumps

Decompress data.csv.gz or backup.sql.gz to open in a spreadsheet or database tool, or compress a large CSV before sharing it.

Precompressed web assets

Create .gz versions of JavaScript, CSS or SVG files at level 9 for servers that serve precompressed files, such as nginx with gzip_static.

Compressed sitemaps and feeds

Search engines accept sitemap.xml.gz. Compress a large sitemap or data feed to cut its transfer size.

Unwrap a .tgz

Decompress a .tgz to its .tar, then open that with Extract ZIP or convert it with TAR to ZIP.

Shrink one big text file

A 200 MB log or CSV often compresses to a fraction of its size, small enough to attach or upload.

About GZIP Compress & Extract

GZIP vs ZIP

GZIP (.gz)ZIP (.zip)
HoldsExactly one fileMany files and folders
Most common onLinux, servers and the webWindows, macOS and everyday file sharing
Typical usesLogs, datasets, web assets, wrapping a .tarSending and storing groups of files

To compress a folder, GZIP needs help: on Unix systems it is first bundled into a TAR, giving .tar.gz. Use ZIP to TAR to produce a .tar.gz from a ZIP, or Create ZIP to zip a folder directly.

File names and levels

A GZIP header can carry the original file name. This tool stores it when compressing and uses it when decompressing, so report.csv comes back as report.csv even if the .gz was renamed. If no name is stored, the .gz extension is simply removed, and .tgz becomes .tar.

Higher levels search harder for repetition. On text and data, level 9 is usually only a few percent smaller than level 6 and takes longer; level 1 is fastest when size matters less.

What is kept and what changes

ItemResultNotes
File contentsPreservedLossless; decompressing gives back the exact original.
Original file namePreservedStored in the GZIP header and restored on decompression.
CompressionChangedAdded or removed, depending on the mode.

Limitations

  • GZIP holds a single file. For folders or several files, use Create ZIP or ZIP to TAR.
  • This tool compresses to GZIP only. To decompress .bz2, .xz, .zst or .lzma files, use the XZ, BZ2 & ZST Extractor.
  • Already-compressed files such as JPEG, MP4 or ZIP barely shrink when gzipped.
  • Processing happens in browser memory. There is no fixed size limit, but files that expand to several gigabytes may fail on phones and low-memory devices.

Processing happens locally in your browser. Your files are not uploaded, and closing the tab discards everything.

GZIP Compress & Extract: frequently asked questions

No. GZIP compression and decompression run in a Web Worker in your browser, and the result is created on your device. Nothing is sent to a server and no account is needed.