Search for a tool
Base62 Encoding

Tool for encoding / decoding with the Base62 encoding system, using all alphanumeric characters (upper and lower case) forming a base 62.

Results

Base62 Encoding -

Tag(s) : Character Encoding

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Feedback and suggestions are welcome so that dCode offers the best 'Base62 Encoding' tool for free! Thank you!

# Base62 Encoding

## Base-62 Decoder

 Results format ASCII (printable) characters Hexadecimal 00-7F-FF Decimal 0-127-255 Octal 000-177-377 Binary 00000000-11111111 Integer number File to download

## Base-62 Encoder

### What is Base-62? (Definition)

The base62 is an encoding method with 62 characters (ie all alphanumeric characters: digits 0-9, upper case letters A-Z and lower case a-z) allowing the encoding of binary strings. The 62 symbols used in this base 62 are (in this order): 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.

Example: Base62 is encoded KixpUr22

Example: Base62 is decoded 169958929504 or the binary data 00100111,10010010,01010111,01110100,01100000

### How to encrypt using Base62 cipher?

The binary data string is converted to base 62 (by a classical change of arithmetic base), the indexes of the 62 symbols are:

 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z

Example: The string dCode, encoded in ASCII (01100100,01000011,01101111,01100100,01100101) is equivalent to the decimal number $430628103269_{(10)}$, which can be converted to base 62 in ${7, 36, 3, 5, 39, 26, 53}_{62}$ or the characters 7a35dQr.

### How to decrypt Base62 cipher?

Take the base62 string and note the indexes of each character to obtain a base 62 number. Convert this number into binary or directly encode it in ASCII (or Unicode) to obtain the plain message.

Example: Decode R0Ow, R is 27, 0 is 0, O is 24 and w is 58 either the number ${27,0,24,58}_{62}$ or in decimal $6436402_{(10)}$ or in binary $11000100011011000110010_{(2)}$ or b62 in ASCII code.

### How to recognize a Base62 ciphertext? (Identification)

Base-62 encoded strings contain only alphanumeric characters: numbers, uppercase and lowercase letters.

## Source code

dCode retains ownership of the "Base62 Encoding" source code. Except explicit open source licence (indicated Creative Commons / free), the "Base62 Encoding" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Base62 Encoding" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Base62 Encoding" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Base62 Encoding" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography):
Base62 Encoding on dCode.fr [online website], retrieved on 2022-12-09, https://www.dcode.fr/base62-encoding

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!