Text Compressor

Compress text with gzip and encode as base64. Decompress base64 back to text. See compression ratio. Free, no signup.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

Is my text uploaded to a server?
No. Compression and decompression happen entirely in your browser using the native CompressionStream API. Your data never leaves your device.
What compression algorithm is used?
Gzip, a widely supported lossless compression format. The output is the raw gzip bytes encoded as base64 text for easy copying and sharing.
Can I decompress data compressed by other tools?
Yes, as long as the data is gzip-compressed and then base64-encoded. Paste the base64 string and click Decompress to recover the original text.