Convert numbers using your own custom character set or alphabet with step-by-step derivation
Custom Alphabet (0, 1, 2...)
Input Number (using custom alphabet)
Result
Decimal Result
Step-by-Step Derivation
Custom Alphabet Conversion Principle
① Custom alphabet: define your own character set (e.g., "ABC")
② Each character maps to a value (A=0, B=1, C=2)
③ Expand by place value using base = length of alphabet
Custom alphabets let you use any characters for number representation, perfect for URL shortening, obfuscation, or creative encoding.
⚠All characters in your custom alphabet must be unique. Duplicate characters will cause errors. The base is equal to the length of your custom alphabet.
What Is Custom Alphabet Encoding?
Custom alphabet encoding uses a user-defined set of characters instead of standard digits. Each character maps to a numeric value based on its position in the alphabet.
Character Mapping
Alphabet "XYZ" means X=0, Y=1, Z=2. Base = 3. Number "ZY" = 2×3¹ + 1×3⁰ = 7.
Place Value
Rightmost character is position 0 (base⁰), next is position 1 (base¹), then position 2 (base²), etc. Sum all values.
URL Shorteners
Services like bit.ly use custom alphabets (0-9, a-z, A-Z) to create compact, human-readable short URLs from numeric IDs.
Obfuscation
Custom alphabets can hide numeric data by using unexpected characters, making it non-obvious at first glance.
A custom alphabet base converter lets you define your own set of characters (digits) to use for number representation. Instead of 0-9 and A-Z, you can use any symbols, emojis, or characters you want!
How do I use a custom alphabet?▼
Enter your custom alphabet in order from least significant to most (left to right: first character = 0, second = 1, etc.). Then enter your number using only those characters, and the converter will translate it to decimal.
What are some uses for custom alphabets?▼
Custom alphabets are used in URL shorteners, obfuscation, encoding data as text, creating unique identifiers, cryptography, and specialized data representation systems.
Can I use emojis or special characters?▼
Yes! You can use any Unicode characters including emojis, symbols, foreign scripts, etc. Just make sure each character is unique and appears only once in your custom alphabet.
Free online calculators and tools covering mathematics, unit conversion, text processing, and daily life. Accurate, fast, mobile-friendly, and completely free to use.