Base64 Online Decoder Tool

Base64 Online Decoder provides Base64 encoding, online Base64 decoding, Base64 encryption and decryption. It encrypts strings into Base64 format and decodes encrypted Base64 strings to display plaintext. Base64 is a common online encryption algorithm. When addressing Chinese character garbling issues, encoding Chinese text using different methods can effectively prevent such garbling. No information is stored—use with confidence.

Base64 Index Table

Base64 encoding converts any byte sequence into an ASCII string using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /), with the “=” symbol serving as a suffix.

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

  Base64 splits the input string into bytes, obtains the binary value corresponding to each byte (padding with leading zeros if less than 8 bits), concatenates these binary values, then splits them into groups of 6 bits (since 2^6 = 64). If the last group has fewer than 6 bits, trailing zeros are added. Each group of binary values is converted to decimal, and the corresponding symbol from the table above is found and concatenated to produce the Base64 encoded result.

  Base64 can be used for encoding the underlying binary data of any type, enabling transmission in scenarios where only ASCII characters can be sent. However, it is most commonly used for processing and transmitting text data. For example, in MIME-formatted emails, Base64 can encode email content to facilitate transmission between computers with different languages without garbling. Note that this refers to transmission, not display. For instance, Chinese characters can be displayed normally on Western European computers using UTF-8 encoding (provided the corresponding font library is installed), but they may not transmit correctly. Converting to Base64 eliminates this concern.

Unless otherwise specified, Base64 encoding typically treats non-ASCII characters as UTF-8 encoded.

Footprints:

Links: Developer Tools