Base45 Encoder And Decoder

Encode plain text to RFC 9285 Base45, or decode Base45 text back to UTF-8 text.



Question

What is Base45?

Base45 is a binary-to-text encoding defined by RFC 9285. It represents bytes with 45 printable characters: digits, uppercase letters, space, dollar sign, percent sign, asterisk, plus, hyphen, dot, slash, and colon.

This tool encodes the UTF-8 bytes of text into Base45 and decodes Base45 text back to UTF-8. Base45 space characters are meaningful input, so keep any spaces that are part of the encoded value. The decoder rejects lowercase letters, unsupported punctuation, invalid group values, malformed trailing groups, and byte sequences that are not valid UTF-8 instead of silently correcting input.

Base45 is often associated with compact data in QR-code workflows, including some health certificate formats. This page only performs the Base45 text conversion step. It does not scan QR codes, decompress payloads, parse CBOR, validate COSE signatures, or verify health certificate data.


Code

Supported Alphabet

The RFC 9285 alphabet is, including the space between Z and $:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:

Example values include AB encoding to BB8, and Hello!! encoding to %69 VD92EX0.


Books

References