base64 online decoding tool provides you with base64 encoding, base64 online decoding, base64 encryption decryption, encryption of strings in Base64 format, encrypted Base64 online decoding decryption is displayed as plaintext. base64 is a relatively common online encryption algorithm, in the solution of Chinese garbled Chinese, the Chinese encoding can be carried out in different ways. effectively avoid the Chinese garbled code. This site will not record any of your information, please feel free to use.
Base64 encoding is the use of 64 printable ASCII characters (A-Z, a-z, 0-9, +, /) will be any byte sequence of data encoded into ASCII strings, and another "=" symbol used as a suffix.
Numeric | Characters | Numeric | Numeric | Numeric | Numeric | Numeric | Characters |
0 | A | 16 | Q | 32 | g | 48 | w |
1 | B | 17 | R | 33 | h | 49 | x |
2 | C | 18 | S | 34 | i | 50 | y |
3 | D | 19 | T | 35 | j | 51 | z |
4 | E | 20 | U | 36 | k | 52 | 0 |
5 | F | 21 | V | 37 | l | 53 | 1 |
6 | G | 22 | W | 38 | m | 54 | 2 |
7 | H | 23 | X | 39 | n | 55 | 3 |
8 | I | 24 | Y | 40 | o | 56 | 4 |
9 | J | 25 | Z | 41 | p | 57 | 5 |
10 | K | 26 | a | 42 | q | 58 | 6 |
11 | L | 27 | b | 43 | r | 59 | 7 |
12 | M | 28 | c | 44 | s | 60 | 8 |
13 | N | 29 | d | 45 | t | 61 | 9 |
14 | O | 30 | e | 46 | u | 62 | + |
15 | P | 31 | f | 47 | v | 63 | / |
Base64 slices the input string by byte, obtains the corresponding binary value of each byte (if less than 8 bits, the high bit is complemented by 0), then connects these binary values in series, and then slices them according to a group of 6 bits (because 2^6=64), and the last group is complemented by 0 if less than 6 bits, then converts the binary value of each group into decimal, and then finds the corresponding symbols in the above table and connects them in series. The result is the Base64 encoding result.
Base64 can be used to encode the underlying binary data of any data, in order to be used in applications where only ASCII characters can be transmitted. However, it is most commonly used in the processing and transmission of text data, for example, in the MIME format e-mail, Base64 can be used to encode the content of the e-mail, so that it can be easily transmitted between computers of different languages without being messed up, note that it is the transmission rather than the display, for example, in the Western European region, computers using utf-8 encoding can be normally displayed in Chinese (with the corresponding font installed), but it may not be able to normally transmit Chinese, it will not be necessary to convert to Base64 to transmit Chinese. This is not a concern when converting to Base64.
Base64 encoding, if not specified, usually agreed that non-ASCII characters are encoded according to the UTF-8 character set.