Copy

Online Base64 Decoder Tool

The Base64 online decoding tool provides Base64 encoding and decoding, allowing for the encryption and decryption of strings in Base64 format. This tool is effective in avoiding Chinese character garbling by encoding Chinese in various ways. We do not record any of your information, so please feel free to use it.

Base64 Index Table

Base64 encoding uses 64 printable ASCII characters (A-Z, a-z, 0-9, +, /) to encode any byte sequence into an ASCII string, with the "=" symbol used for padding.

Value Character Value Character Value Character Value Character
0A16Q32g48w
1B17R33h49x
2C18S34i50y
3D19T35j51z
4E20U36k520
5F21V37l531
6G22W38m542
7H23X39n553
8I24Y40o564
9J25Z41p575
10K26a42q586
11L27b43r597
12M28c44s608
13N29d45t619
14O30e46u62+
15P31f47v63/

Base64 splits the input string into bytes, retrieves the binary value of each byte (padding with zeros for any bits less than 8), concatenates these binary values, then splits them into groups of 6 bits (since 2^6=64). If the last group has less than 6 bits, it is padded with zeros. Each group of binary values is then converted into decimal, and the corresponding symbols are found in the table above, resulting in the Base64 encoded output.

Base64 can be used for encoding any data at the binary level, particularly in situations where only ASCII characters can be transmitted. However, it is most commonly used for processing and transmitting text data. For example, in MIME format emails, Base64 can be used to encode email content to facilitate transmission without garbling across different language computers. It is important to note that it is for transmission rather than display; for instance, a computer in Western Europe can display Chinese characters normally using UTF-8 encoding (with the appropriate font installed), but it may not transmit Chinese correctly. In such cases, converting to Base64 resolves this issue.

Unless otherwise specified, Base64 encoding usually assumes non-ASCII characters are encoded using the UTF-8 character set.

Your Footprints:

Friendly Links: PM EVE PM EVE