// Base36 - Alphanumeric encoding using digits 0-9 and letters A-Z
Uses only letters A-Z and digits 0-9, safe for any system.
More compact than decimal, less than hex for large numbers.
No special characters, perfect for URLs and identifiers.
Base36 encoding uses 36 distinct characters (0-9 and A-Z) to represent data. It's commonly used for generating short, alphanumeric identifiers from large numbers. Each digit position represents a power of 36, making it more compact than decimal but still human-readable. Case-insensitive by default, making it ideal for systems where case sensitivity might be an issue.
Numbers to Base36:
123 → 3F
1000 → RS
999999 → LFLR
Text to Base36 (via bytes):
Hi → 1Q5
ABC → 3O0AF
Common Uses:
- YouTube video IDs
- Short URL identifiers
- Session tokens
- Product codes
- License keys
Base36 is a positional numeral system that uses 36 distinct symbols: the digits 0-9 and letters A-Z. It provides a compact way to represent numbers using alphanumeric characters only.
Base36 is widely used for generating short identifiers like YouTube video IDs, URL shorteners, session tokens, and product codes. It's popular because it creates human-readable, URL-safe strings without special characters.
Base36 is typically case-insensitive, using either uppercase (A-Z) or lowercase (a-z) letters. This makes it robust for systems where case might be normalized or ignored.
Base36 is more compact than decimal (base10) but less compact than hexadecimal (base16) or base64. It strikes a balance between compactness and readability, using only alphanumeric characters which makes it universally compatible.