Tooleux

Compression tools

Compression reduces the size of data by finding repeated patterns. It is used everywhere: HTTP responses, backups, container images, and file archives. The choice of algorithm is a trade-off between speed and ratio.

About compression tools

GZIP and DEFLATE are the oldest and most widely supported. They are fast enough for HTTP and universally available. Brotli, developed by Google, achieves roughly 20% better compression on web content and is supported by every modern browser.

Zstandard, developed by Facebook, is designed for speed. It compresses and decompresses faster than GZIP while producing smaller output. XZ and LZMA offer the best ratios at the cost of memory and time, and are used for software distribution.

Archives combine compression with a file listing. ZIP and TAR are the standard formats. ZIP is random-access (individual files can be extracted without decompressing everything), while TAR is stream-oriented and is usually paired with GZIP or Zstandard. This site can create and extract both.

When to use these tools

  • You want to shrink a JSON API response before storing or transmitting it. GZIP Compress produces a Base64 string that GZIP Decompress reverses.
  • You received a .tar.gz from a Linux build and need to see what is inside without unpacking it locally. TAR Extract gives the archive structure; GZIP Decompress handles the outer layer first.
  • You are choosing between GZIP and Brotli for a web server and want to compare sizes on a real payload. Compress the same input with both and compare the byte count.
  • You received an .xz or .lz file and do not have xz-utils or lzip installed. XZ Decompress and LZIP Decompress handle them in the browser.
  • You need to create a ZIP archive from files without uploading them anywhere. ZIP Create builds it in memory and downloads the result.

Which tool should I use?

If you need... Use... Why
HTTP responses, email attachments GZIP Universal compatibility, good speed
Web assets, best ratio Brotli About 20% smaller than GZIP on text
Speed over ratio, modern stack Zstandard Faster than GZIP, smaller than GZIP
Best possible ratio XZ Slow but produces the smallest output
Long-term archive, low RAM LZIP Same LZMA, half the decoder memory
Cross-platform file archive ZIP Random access, every OS extracts it
Unix backup or stream TAR + GZIP or Zstd Stream-oriented, pairs with a compressor