Home / Archives / Gzip, Brotli, Zstd and XZ
Gzip, Brotli, Zstd and XZ
Compress a single file with Gzip, Brotli, Zstandard, XZ or Bzip2, compare sizes, or decompress one.
Free, no uploads, no sign-up. Runs 100% in your browser.
How Gzip, Brotli, Zstd and XZ works
Gzip and zlib use fflate, Brotli uses brotli-wasm (Apache-2.0), Zstandard uses zstd-wasm (MIT), and XZ and Bzip2 use the 7-Zip engine. Everything runs in your browser.
Input: Any file, GZ, BR, ZST, XZ, BZ2, ZZ. Output: GZ, BR, ZST, XZ, BZ2, ZZ, Original file.
How to use Gzip, Brotli, Zstd and XZ
- Drop a file.
- Choose the formats to compare, or switch to Decompress.
- Press the button and download the smallest result.
Tips
- Brotli and Zstandard are great for web assets. XZ usually wins on size but is the slowest.
Gzip, Brotli, Zstd and XZ FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Create Archive: Pack files and folders into ZIP (with AES-256 password), 7Z, TAR, TAR.GZ, TAR.XZ, TAR.BZ2 or TAR.ZST.
- Open Any Archive: Open ZIP, 7Z, RAR, TAR, GZ, XZ, ISO, CAB, DEB, RPM, JAR and more. Preview files and download what you need.
- Archive Converter: Convert RAR, 7Z, TAR, ISO, CAB and more to ZIP, 7Z or TAR, keeping folders and names.