Skip to content
ToolsLeb ToolsLeb

Gzip Text Compressor

Compress text with gzip and view the result as base64, or decompress it back.

Text

To compress, paste plain text. To decompress, paste the base64 string produced by this tool's compress mode.

Share on Social Media:

Compress a block of text with gzip and get the result as a copyable base64 string, or paste a base64 gzip string to decompress it back to text.

Frequently Asked Questions

Raw gzip output contains binary bytes that can't be safely displayed or copied as plain text, so it's base64-encoded for safe copy/paste.

It varies by content, but text with repetitive patterns (like JSON, HTML, or plain English) commonly compresses to 60-80% smaller than the original, since gzip works by finding and referencing repeated sequences.

Yes — as long as the data is standard gzip format and correctly base64-encoded, this tool can decompress it regardless of what originally created it (PHP, Python, command-line gzip, etc.).