Use this base62 encoder to convert plain text into Base62, or use the base62 decoder to turn values back to text. What is base62 encoding? It is a binary-to-text format often used for compact IDs, short links, and tokens because it stays strictly alphanumeric and is URL-safe.
Base62 alphabets
Because base62 encoding is not as rigidly standardized as Base64, the character order can vary between systems. This tool supports the two most common variants:
- Standard: Digits first, then uppercase, then lowercase (
0-9 A-Z a-z). - Lower-first: Digits first, then lowercase, then uppercase (
0-9 a-z A-Z).
If an encoded value looks valid but the base62 decode produces the wrong text, the alphabet variant is usually the culprit.
Line wrapping and batch mode
When using the base62 encode online tool, you can enable Wrap @ 76 to break long encoded strings into readable 76-character lines. The decoder safely ignores whitespace, so wrapped strings decode perfectly without editing.
For bulk testing, turn on Batch by newline. This evaluates each line independently instead of treating the whole input as one string. You can also use Trim lines to strip leading and trailing spaces from each line before it gets processed.