AmpCub TOOLS
AmpCub site ↗

zlib / gzip compress & decompress

Quickly compress or inflate gzip/zlib data.

Choose compression or decompression, then inspect the result as text, Hex, or a file.

Local · no upload · encoding is not encryption
Current operationCompress / decompress

UTF-8 text → zlib compress → compressed data

Display: auto / stacked / side-by-side

Narrow screens stay stacked. If the page looks tiny on mobile, check your browser’s desktop-site setting; this option does not change browser zoom.

Run operation

Input limit: 1 MiB. Source text is not cleaned automatically. Use a file to preserve exact line breaks and binary content.

Processing settings

Browser support varies; the format is never guessed automatically.

Advanced: encoded whitespace & limits

Strict validation by default; alphabets are not mixed. Encoded-text limit: 4 Mi UTF-16 units; result limit: 4 MiB; timeout: 10 seconds.

Ctrl / ⌘ + Enter to run

Loading tool…

Review completed result

Finish an operation before switching the result view.

Not processed yet

What is the difference between the two downloads?

Encoded text is the current UTF-8 / Base64 / Hex view. The result file contains the actual bytes and does not change when you switch views; the filename indicates the format.

Base64URL view options

This changes only how the result is displayed; it does not change the operation above.

Processing rules, data integrity & privacy

Frequently asked questions

How do I use it?

Paste or choose a file, then compress or decompress.

Is anything uploaded?

Everything runs locally in your browser and is not uploaded.

How is this different?

PDF/image compressors are document-oriented; this is raw byte compression.