Gzip Compress / Decompress
Compress text to Gzip Base64 or decompress Gzip data back to text — runs entirely in your browser.
How Gzip compression works in a browser
Gzip uses the DEFLATE algorithm (LZ77 + Huffman coding) to find repeating patterns in data and represent them compactly. This tool uses the browser's native CompressionStream and DecompressionStream APIs (Chrome 80+, Firefox 113+, Safari 16.4+) — no libraries, no uploads. Compressed output is Base64-encoded so it can be safely pasted as text.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Encoders & Decoders tools
Base64 Encoder
Encode or decode Base64 strings.
URL Encoder
Safely encode or decode URL parameters.
Base Converter
Convert numbers between binary, octal, decimal, hex, and base 2-36.
ROT13 Encoder / Decoder
Apply the reversible ROT13 letter-substitution cipher.
HTML Entity Encoder / Decoder
Escape or unescape HTML entities like & and <.
Punycode Converter
Convert internationalized domains to and from Punycode.
Text to Morse Code
Translate text into Morse code dots and dashes.
Morse Code to Text
Decode Morse code dots and dashes back into text.