We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
If this tool helped you, you can buy us a coffee ☕
Free online Gzip compressor and decompressor. Instantly compress text to Base64 Gzip format or decode Base64 Gzip strings back to plain text.
Results will appear here after you enter content on the left and click a button.
When you need to compress text to reduce transmission size or decode Gzip-processed data, you can use this tool for Gzip encoding and decoding. Gzip is a widely used lossless compression algorithm. This tool applies it to online text processing, allowing you to compress raw text into Base64-formatted Gzip data. It can also restore Base64-encoded Gzip strings back to their original plaintext, making storage, transmission, and debugging much easier.
H4sIAAAAAAAAA/NIzcnJVwjPL8pJAQQAgnNF6wwAAAA=. Pasting and decoding this string will accurately restore it to "Hello World".All inputs and outputs are based on UTF-8 encoded text. When decoding, please ensure you provide valid Base64-encoded Gzip data; incorrect formats may result in a decoding failure prompt. This tool runs entirely locally in your browser, meaning your data is never uploaded to a server, ensuring your privacy is protected. If the page becomes unresponsive when handling very large texts, please try splitting the content before trying again.
Gzip compression is based on the DEFLATE algorithm, which is particularly effective for text containing many repetitive strings (such as JSON, XML, and HTML). The length of the compressed Base64 string is approximately 4/3 times that of the original binary Gzip data. When decoding, if the Base64 string contains a data URI prefix like data:application/gzip;base64,, please manually remove the prefix before decoding. A typical example: the Base64 encoding for the plain text "Hello" is H4sIAAAAAAAAA/NIzcnJVwIAxUa+QAYAAAA=, which can help you quickly verify the tool's accuracy.