en

Gzip compress

Compress a file to a .gz file locally - lossless, no upload, right in your browser.

Running locally on your device ...

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Gzip (.gz, RFC 1952) is a lossless compressor for single files - common for log files, backups, database dumps and on the web (Content-Encoding: gzip). Unlike ZIP, gzip does not bundle multiple files; it compresses exactly one file particularly efficiently.

Compression runs locally in your browser (fflate, pure JavaScript, DEFLATE per RFC 1951) - with a fixed setting (level 6) that balances speed and file size well, just like the gzip command-line tool. Nothing is uploaded.

Text-like content with many repetitions benefits the most: verbose logs, CSV exports, SQL dumps or source code can often shrink to a fraction. That is exactly why web servers deliver pages gzip-encoded and save bandwidth. If instead a whole folder should be combined, bundle it as a TAR first and pass the result through here - that yields the common .tar.gz suffix.

Specifications

Specifications
Output formatGZ
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Drop or pick your file.
  2. The tool compresses automatically with a good speed/size compromise.
  3. Download the .gz file.

Limitations: Gzip compresses exactly one file (for several, create a TAR or ZIP first). Already compressed files (JPG, MP3, ZIP) barely shrink. One file per run.

FAQ

Is my file uploaded?

No. Compression runs entirely locally in the browser.

How much does gzip compress my file?

The tool automatically uses a fixed, well-balanced level (6) - the same speed/size compromise the gzip command-line tool uses by default. Text files such as CSV, JSON or logs often shrink by 60 to 80 percent; already-compressed formats like JPG or MP3 barely shrink at all, because they lack the repetition compression relies on.

Can I gzip multiple files?

Gzip packs only one file. For several, create a TAR first, then gzip it.

Is gzip lossless?

Yes. Decompressing gives you back exactly the original file.

Related tools

Gzip decompress · Create ZIP · Create TAR · Extract ZIP · Extract TAR · CSV to XLSX