About this tool
The Base62 tool encodes numbers and byte strings into the compact 62-symbol alphabet 0-9A-Za-z and decodes them back. Base62 is popular for short IDs, URL slugs, and shortened links because it stays URL-safe without the +, / or = characters that Base64 uses. All conversion runs locally in your browser with JavaScript BigInt, so arbitrarily large values are exact and nothing is uploaded.
Integer mode treats the input as an arbitrary-precision integer (decimal, or 0x-prefixed hex): encoding repeatedly divides by 62 and prepends alphabet[remainder], and decoding computes Σ alphabet.indexOf(ch)·62^position. Byte mode treats the input bytes (UTF-8 text or hex) as one big-endian bignum and applies the same base-62 conversion, but it also preserves leading zero bytes Bitcoin-Base58 style: each leading 0x00 byte becomes one leading '0' character so round-trips are lossless.
The standard alphabet orders digits, then uppercase, then lowercase (0-9A-Za-z). Some libraries — notably ones built on GMP — order digits, lowercase, then uppercase (0-9a-zA-Z), which produces different output for the same value; the alphabet toggle lets you match whichever your system uses. Pick the direction, the integer or bytes mode, the input format for bytes, and the alphabet variant.