Gzip ⇄ Base64

Gzip-compress text to Base64, Base64URL, or hex — or decompress gzip payloads back to text. Live size stats and .gz download.

PrivateIn your browserInstantUnlimited

122 characters

How it works

1

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.

2

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.

3

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.

Buy a coffee

Similar Convert tools

See all