Brotli encode/decode tool
Encode/decode (a.k.a. compress/decompress) data in Brotli format locally in browser. All processing is literally done locally with WebAssembly to keep data safe.
Readme: Input & output
Text input should be in Python byte string format (e.g.
0\xff\\ = [48, 255, 92], which can omit surrounded quotes and
b prefix). Text output will also be in that format. When both text and file input exist, file input will be selected. Click the refresh button aside to abort the uploaded file.
Data to be decoded:
Encoding is disabled by default due to its large size. Click
To load button below to load encoder before encoding. Select
Load encoder by default checkbox below to change the default loading strategy of encoder (by setting/removing a key
mylmoe-brotli-dec-load-by-default in localStorage).
Data to be encoded: