Codificação
Gzip/Deflate ↔ Base64
Compressão de texto em Gzip ou Deflate com codificação Base64 do resultado — e vice-versa. Funciona via API Compression Streams diretamente no navegador.
Perguntas frequentes
What's the difference between Gzip and Deflate here?
Gzip wraps the compressed data in a header and a trailing CRC checksum, while Deflate is the raw compression stream without that wrapper. Data compressed with one format can't be decoded by picking the other — make sure the selected format matches how the data was produced.
Why do I need to Base64-encode the compressed data?
Gzip/Deflate output is raw binary, which doesn't survive well in text contexts like URLs, JSON, or config files. Base64-encoding it turns that binary data into safe, copyable ASCII text.
Why does the tool say my browser doesn't support this?
This tool relies on the browser-native Compression Streams API (CompressionStream/DecompressionStream), which isn't available in every browser or older version — no data is sent to a server, so if it's unsupported the tool simply can't run.