Base62

{{Short description|Positional notation using 0-9, A-Z, and a-z}}

The base62 encoding scheme uses 62 characters. The characters consist of the capital letters A-Z, the lower case letters a-z and the numbers 0–9. It is a binary-to-text encoding scheme that represents binary data in an ASCII string format.{{cite book |title= 2008 11th IEEE Singapore International Conference on Communication Systems|url=https://ieeexplore.ieee.org/document/4737287 |archive-url= |publisher=Institute of Electrical and Electronics Engineers |archive-date= |date=November 19, 2008 |doi=10.1109/ICCS.2008.4737287 |accessdate=12 August 2020 |quote="This base62 compressed encoding has been tested & The 62 alphanumeric characters (A-Z, a-z, 0–9)"|last1=Kejing He |last2=Xiancheng Xu |last3=Qiang Yue |chapter=A secure, lossless, and compressed Base62 encoding |pages=761–765 |isbn=978-1-4244-2423-8 |s2cid=10831128 }}{{cite journal |title=A base62 transformation format of ISO 10646 for multilingual identifiers |url=https://onlinelibrary.wiley.com/doi/pdf/10.1002/spe.408 |archive-url= |journal= Software: Practice and Experience|archive-date= |date=June 18, 2001 |doi=10.1002/spe.408 |accessdate=August 13, 2020 |quote="within a [0–9][A–Z][a–z] range, a total of 62 base characters"|last1=Wu |first1=Pei-Chi |volume=31 |issue=12 |pages=1125–1130 |s2cid=32472727 |url-access=subscription }}

123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

= 58 characters = base58

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

= 62 characters = base62

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/

= 64 characters = base64

Base62 table

The Base62 index table:

class="wikitable" style="text-align:center"
scope="col"| Decimalscope="col" | Binaryscope="col"| Base62

|rowspan="17"|

!scope="col"| Decimal

scope="col" | Binaryscope="col"| Base62

|rowspan="17"|

!scope="col"| Decimal

scope="col" | Binaryscope="col"| Base62

|rowspan="17"|

!scope="col"| Decimal

scope="col" | Binaryscope="col"| Base62
0000000016010000G32100000W48110000m
1000001117010001H33100001X49110001n
2000010218010010I34100010Y50110010o
3000011319010011J35100011Z51110011p
4000100420010100K36100100a52110100q
5000101521010101L37100101b53110101r
6000110622010110M38100110c54110110s
7000111723010111N39100111d55110111t
8001000824011000O40101000e56111000u
9001001925011001P41101001f57111001v
10001010A26011010Q42101010g58111010w
11001011B27011011R43101011h59111011x
12001100C28011100S44101100i60111100y
13001101D29011101T45101101j61111101z
14001110E30011110U46101110k
15001111F31011111V47101111l

See also

References