Compress and decompress text with gzip and deflate using browser-native Compression Streams, then copy UTF-8 or Base64 output.
Compress text to Base64 or decompress Base64 back to text.
Use native browser compression formats for quick payload checks.
Switch direction and inspect the size impact immediately.
Copy compressed bytes as Base64 for configs, tests, and snippets.
Designed for text, logs, JSON payloads, and API examples.
Copy text, Base64, and byte statistics from the output panel.
Compression and decompression happen in the browser.
Modern browsers expose CompressionStream and DecompressionStream for gzip and deflate workflows.
This page is optimized for text. File-level compression can be added as a separate utility.
Compressed bytes are not always printable text, so Base64 is useful for transport and test fixtures.