Base64 encoder and decoder

Encode text to Base64 and decode Base64 back locally in your browser. Each direction is its own QIP component: 657 bytes of WebAssembly to encode and 513 bytes to decode.

Text decoded from Base64 is shown as UTF-8; binary payloads display as replacement characters, so use Download decoded bytes for those. Both components handle up to 64 KiB.

Download #

CLI equivalent #

qip run components/bytes/base64-encode.wasm < image.png > image.png.b64
qip run components/utf8/base64-decode.wasm < image.png.b64 > image.png

The decoder treats every input byte as Base64 data, so strip newlines first when a file wraps its lines: `tr -d '\n' < wrapped.b64 | qip run components/utf8/base64-decode.wasm`.