Base92 Encoder And Decoder
Encode a string of text, or decode a string of Base92 text into standard text.
What is Base92?
Base92 is a binary-to-text encoding from Nathan Hwang's thenoviceoof/base92 project. It represents bytes with a printable keyboard-oriented ASCII alphabet: !, characters # through _, and characters a through }. The characters ~, backtick, and double quote are excluded from normal encoded data, while ~ is reserved as the empty-string marker.
This tool converts UTF-8 text to Nathan Hwang's Base92 alphabet. Decoding trims surrounding whitespace from pasted Base92, checks the alphabet and symbol grouping, and returns text only when the decoded data is valid UTF-8.
Base92 is separate from basE91, ASCII85, Z85, and ad hoc libraries that use different alphabets or grouping behavior. Exact compatibility matters: changing the alphabet order or treating ~ as a normal digit will produce different output.
Base92 is an encoding, not encryption, compression, signing, authentication, or a privacy feature. The encoded text is printable and punctuation-heavy, so it may need escaping in shell commands, URLs, Markdown, JSON, email, social networks, databases, source code, and systems that filter or normalize punctuation.