DevNet KitTHE EVERYDAY TOOLBENCH
Code & Data · Local-first

GZip / Brotli Tool Online

Compress UTF-8 text to Base64 or decompress Base64 with GZip and Brotli.

Open GZip / Brotli Tool

Free · No sign-up · Browser-based processing

What GZip / Brotli Tool does

Compress text into transport-safe Base64 or restore UTF-8 text from compressed Base64. GZip uses the browser Compression Streams API. Brotli uses the native browser implementation when available and a bundled WebAssembly fallback elsewhere, so data never needs to leave the device.

Common uses

  • Inspect compressed API fixtures
  • Compare GZip and Brotli payload sizes

How to use GZip / Brotli Tool

  1. Paste plain text for compression or Base64 for decompression.
  2. Choose GZip or Brotli and the operation direction.
  3. Run the tool, then copy or download the output.

Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.

GZip / Brotli Tool example

Try the tool with this representative input:

DevNet Kit keeps compression local.

Options

gzip-compress

Expected result

GZip compression produces Base64 that can be decompressed back to the original UTF-8 text.

GZip / Brotli Tool FAQ

Why is compressed output shown as Base64?

Compressed bytes are binary; Base64 makes them safe to copy through text fields.

Is Brotli uploaded to a server?

No. A bundled local WebAssembly fallback is used when the browser lacks native Brotli streams.

Restore UTF-8 text from GZip Base64 with the matching decompression mode

Paste the Base64 representation of compressed bytes and select gzip-decompress. The example restores an emoji and a final newline. For a Brotli payload, use brotli-decompress; the decompressor must match the format that produced the bytes.

Compression modes take plain text and return Base64; decompression modes take Base64 and return UTF-8 text. Base64 adds representation overhead, so a short message can grow after compression. Neither compression nor Base64 provides encryption or access control.

Worked example

Input and settings:

H4sIAAAAAAAACvNIzcnJV/gwv2cCFwBDWC+jCwAAAA==

Options:

gzip-decompress

Expected result or interpretation:

Hello 🌐

Questions about this workflow

How do I decode a GZip Base64 payload containing Unicode?

Paste Base64 into Input and select gzip-decompress. The tool restores UTF-8 text; choose brotli-decompress for Brotli bytes. An algorithm mismatch or damaged payload may fail.

Why can compressed Base64 be longer than the source text?

Compression has format overhead and Base64 expands binary representation. Small or poorly compressible inputs can grow. Compression and Base64 encoding do not hide confidential content.

Continue this workflow