~ / labs/encode

encode.

multi-codec encoder / decoder — base64, base64url, url, html, hex, binary, rot13, json. utf-8 throughout. when encoding, the bottom panel shows every codec at once for quick comparison.

── input · plain text16 bytes
── output · base6424 chars · 16 utf-8
aGVsbG8gd29ybGQg8J+Mjg==
── all encodings
base64
aGVsbG8gd29ybGQg8J+Mjg==
base64url
aGVsbG8gd29ybGQg8J-Mjg
url
hello%20world%20%F0%9F%8C%8E
html
hello world ��
hex
68656c6c6f20776f726c6420f09f8c8e
binary
01101000 01100101 01101100 01101100 01101111 00100000 01110111 01101111 01110010 01101100 01100100 00100000 11110000 10011111 10001100 10001110
rot13
uryyb jbeyq 🌎
json escape
"hello world 🌎"