Source
{"a":1,"a":1,"a":1}Output
Base64 string of Gzip/Deflate bytes
Encoding & Decoding
Compress or decompress text in the browser with CompressionStream using Deflate or Gzip, and represent binary output as Base64. Useful for testing URL payloads, state serialization size, and transport formats. Requires browser support for compression streams.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
编码加解码
Compress or decompress text in the browser with CompressionStream using Deflate or Gzip, and represent binary output as Base64. Useful for testing URL payloads, state serialization size, and transport formats. Requires browser support for compression streams.
Source
{"a":1,"a":1,"a":1}Output
Base64 string of Gzip/Deflate bytes
Compression and decompression need native CompressionStream / DecompressionStream. Older browsers may lack them—try a newer browser.
Compressed output is binary. Base64 makes it easy to copy into URLs, configs, or API fields.
Tools
Continue with another translated tool for a nearby task.
Base64 Encode/Decode
Encode and decode Base64 in the browser, with standard and URL-safe variants, automatic direction detection, and optional file-to-Base64 conversion. Useful for API debugging and local data prep.
JSON Formatter
Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.
URL Encode/Decode
Percent-encode or decode text with encodeURIComponent or encodeURI. Useful for query values, non-ASCII paths, and API debugging. All processing stays in the browser.