Gzip ⇄ Base64
Gzip-compress text to Base64, Base64URL, or hex — or decompress gzip payloads back to text. Live size stats and .gz download.
122 characters
How it works
Compress text
Paste UTF-8 text. The tool gzip-compresses it in the browser and shows Base64, Base64URL, or hex. Download a binary .gz if you need the raw stream.
Decompress a payload
Paste Base64 (including URL-safe) or hex of a gzip file (magic bytes 1F 8B). The inflated text appears on the right.
Check the ratio
Live stats show original vs compressed byte sizes and percent saved. Swap flips direction using the current output.
What is gzip over Base64?
Gzip shrinks repetitive data; Base64 (or hex) makes the compressed bytes safe to paste into JSON, logs, or forms. This page uses the browser Compression Streams API so Easy24 never receives your text.
Why use this tool
- Gzip compress and decompress in-browser
- Base64, Base64URL, and hex encodings
- Live conversion with size stats
- Download .gz binary
- Swap and sample
- Unlimited use — no daily cap
Questions
What does Gzip ⇄ Base64 do?
It compresses text with gzip and encodes the bytes as Base64/hex, or reverses that process to recover text.
Which browsers work?
Modern Chromium, Firefox, and Safari builds that implement CompressionStream and DecompressionStream. Older browsers show an unsupported message.
Can I paste a hex gzip dump?
Yes. On decompress, hex (with optional spaces or 0x) and Base64/Base64URL are accepted.
Is my text sent to a server?
No. Compression runs entirely in this tab.
Is there a daily limit?
No. This tool has no daily cap.
Do I need an account?
No. Open the page and use it.
Does it work on a phone?
Yes, on mobile browsers that support the Compression Streams API.
If Easy24 helped, buy a coffee
Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.
Similar Convert tools
See allBase64 Encode / Decode
Convert
Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.
OpenFile ⇄ Base64
Convert
Encode any file to Base64, Data URI, HTML, CSS, JSON, XML, or Markdown — or paste Base64 to download the file. URL-safe and MIME wrap options. Runs in this tab.
OpenImage ⇄ Base64
Convert
Convert images to Base64 or data URLs and decode them back. Live preview, HTML/CSS/Markdown snippets, MIME and pixel size — nothing uploaded.
Open