Convert bytes or integers to and from a case-sensitive Base62 token.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Values are repeatedly divided by 62 and reassembled from a fixed 62-character alphabet; decoding multiplies an accumulator by 62 for each character. A separate convention is needed to preserve leading zero bytes.
Hello
5TP3P3v
Short URLs, compact identifiers, and storage tokens use Base62.