Shiklo Tools
PDF40
Image20
Calculators & Converters25
Text & Writing13
Developer26
Video14
Audio14
Document14
Data & Spreadsheet12
Web & SEO9
OCR & Scanning5
Archive & File12
Security & Privacy23
Health & Medical29
QR & Barcode5

GZIP Compressor

Compress files to .gz with gzip — one .gz for each file — and see how much smaller they get. Runs in your browser.

Gzip is the most widely used compression on the web and on servers. Web servers send HTML, CSS and JavaScript gzipped; log files are rotated into .gz files; database dumps, CSV exports and data feeds are often delivered as .gz to save space and transfer time. Some tools and upload forms ask for a .gz file specifically.

Drop one or more files and each is compressed to its own .gz file, named after the original (report.csv becomes report.csv.gz). The result shows how much each file shrank. Compression uses your browser's built-in gzip engine, so it is fast, and your files are never uploaded.

How to use GZIP Compressor

  1. Choose or drop one or more files.
  2. Wait a moment while each is compressed.
  3. See the size saved.
  4. Download the .gz files.

Features

  • Any file to .gz.
  • Several files at once, one .gz each.
  • Shows the size before and after.
  • Standard gzip that every tool can open.
  • Up to 100 files of up to 2 GB each.
  • Runs in your browser; nothing is uploaded.

Common uses

Shrink a large CSV or JSON export before emailing it or uploading it to a data tool that accepts .gz, compress database dumps (.sql) before storing or transferring them, prepare pre-compressed web assets such as app.js.gz for a server or CDN that serves them directly, archive old log files the way servers do, and reduce the size of text-based backups. Because gzip is supported natively by servers, databases and data tools, a .gz file can usually be used without unpacking it first. Gzip is also fast: compressing even large text files takes only a moment, and unpacking is faster still. For files you share with Windows users who don't have an archive tool, a ZIP may be friendlier, since ZIP opens in Windows Explorer without extra software.

What compresses well

Gzip finds and replaces repeated patterns, so text-based files shrink the most. Files that are already compressed hardly change, and can even grow slightly.

File typeTypical result
Logs, CSV, JSON, XML, SQL dumpsUsually shrink to a small fraction
HTML, CSS, JavaScriptUsually much smaller
Word and Excel files (DOCX, XLSX)Little change — already ZIP-compressed
JPG, PNG, MP3, MP4, ZIPAlmost no change — already compressed

One file per .gz

A .gz file holds exactly one file; gzip has no folders and no list of contents. That is why each file you add becomes its own .gz. To put several files or a folder into one compressed archive, use the TAR Creator to make a .tar.gz, the format Linux uses for exactly that, or the ZIP Creator for a ZIP that opens on any computer.

Opening .gz files

Every Linux and macOS system can unpack .gz files with gunzip, and tools such as 7-Zip and WinRAR open them on Windows. Many programs read gzipped data directly — databases import .sql.gz dumps, data tools read .csv.gz, and browsers decode gzipped web pages automatically. To unpack a .gz in your browser, use the GZIP Decompressor.

Private and quick

Compression uses the CompressionStream feature built into modern browsers, which streams through large files without loading them fully into memory. Nothing is sent to a server, so logs, customer data and backups stay on your device. The original file name is kept in the .gz file name rather than inside the file, as browsers' gzip encoder does not store it.

Frequently asked questions

Can I compress several files at once?

Yes, up to 100 at a time; each becomes its own .gz file.

Which is better, .gz or .zip?

Use .gz for servers and data tools, and ZIP for sharing folders with Windows and Mac users.

Is there a size limit?

Each file can be up to 2 GB.

How do I gzip a file?

Drop the file here; download the .gz file that is created.

Can I gzip a folder?

Gzip compresses single files. For a folder, use the TAR Creator to make a .tar.gz.

Why didn't my file get smaller?

It was probably already compressed, like a JPG, MP4, ZIP or DOCX.

How do I open a .gz file?

Use the GZIP Decompressor, or gunzip, 7-Zip or WinRAR.

Is gzip the same as ZIP?

No. Both use similar compression, but ZIP can hold many files and folders; gzip holds one file.

Are my files uploaded?

No. Compression happens in your browser.

Related tools