Base91 Encoder / Decoder
Convert text or bytes to basE91, Joachim Henke’s binary-to-text encoding that spends 13 or 14 bits of every 8-bit byte stream on two printable characters, and decode basE91 back to UTF-8 text or hexadecimal.
Choose Encode to Base91 for the sample text.
basE91 uses 91 printable characters. Each pair of output characters carries a 13- or 14-bit value, so a 13-bit value that would read back above 88 is widened to 14 bits; the last one or two characters hold whatever bits remain. Decoding reverses the queue and ignores characters outside the alphabet, so line breaks and stray punctuation do not break a copied payload. Only the 91 alphabet characters are ever emitted, and the encoding is not encryption. All processing stays in your browser.