If your converter is case-insensitive, normalize to uppercase first: ^[0-9A-Z]+$ .
On platforms like Quora , math enthusiasts discuss how 3-digit numbers can have mystical properties, but in Base-36, even a simple number can suddenly become a name or a joke. 🛠️ How Base-36 Works base-36 converter
return result;
Base-36 is mathematically case-insensitive (A=10, a=10). However, many converters output uppercase letters, while some output lowercase. If you store a hash as F4A and later search for f4a , your converter must normalize the case before conversion. many converters output uppercase letters
| Feature | Base-36 | Base-64 | | :--- | :--- | :--- | | Character Set | 0-9, A-Z | A-Z, a-z, 0-9, +, / | | Case Sensitivity | No | Yes | | URL Safe | Yes (no encoding needed) | No (requires URL encoding for + and /) | | Human Typing | Easy | Difficult (mix of cases) | | Compression | Good | Excellent | A-Z | A-Z