Base65536
Encode bytes to Base65536 characters and back, entirely in your browser.
Base65536
Base65536 packs two bytes of data into a single Unicode character instead of Base64's one character per six bits, so an encoded payload runs at roughly half the length of the equivalent Base64 string. Paste text, hex bytes or raw byte values and this tool converts them to Base65536 characters, or decodes a Base65536 string back to the original bytes. The alphabet here is one contiguous private-use block, picked so every value is a printable non-surrogate code point: it round-trips perfectly with itself, but is not interchangeable with other Base65536 implementations.
Choose a direction with Encode or decode, and pick the byte format that matches what you're working with: Text (UTF-8) treats the input as a normal string, Hex bytes reads pairs of hex digits such as "48 65 6c 6c 6f", and Byte values reads whole numbers from 0 to 255 separated by spaces or commas. The same setting decides how a decoded result is rendered back to you. Wrap every N characters if you need the output split into fixed-width lines, for example to fit a form field or a fixed-width terminal.
Because each character here carries a full 16 bits, an input with an odd number of bytes needs one character to represent a lone trailing byte. Keep padding on to have the tool mark that character so the exact byte count survives a round trip; turn it off and the output is one character shorter, at the cost of an extra zero byte reappearing when it's decoded again. Validate input controls what happens when a character outside the Base65536 range turns up while decoding: on, it stops and reports the exact character and position; off, it skips anything unrecognized and decodes the rest.
Everything runs locally in your browser — no bytes are uploaded anywhere, which matters for tokens, keys or other sensitive payloads passed through an encoder. Copy the result, download it as a .txt file, or send it straight back into the input to decode what you just encoded.