Codificador e decodificador Base64

Codifique texto em Base64 ou decodifique Base64 em conteúdo legível. Inspecione payloads de API, data URLs, conteúdo MIME e valores codificados.

Base64 Encode & Decode

Encode plain text as Base64 or decode Base64 back to readable text. This browser-based tool is useful for API payloads, data URLs, MIME content, and debugging encoded values.

Base64 Index Table

Base64 encoding is the encoded ASCII data into ASCII strings using 64 printable ASCII characters (A-Z, a-z, 0-9, +,/), plus “ = ” symbols for suffixing.

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

& nbsp; Base64 takes input string by bytes to obtain the corresponding binary value for each byte (higher than 0 if less than 8 bits), then links these binary values to a 6bit group (because 2^6=64) and adds zero at the end of the last group if less than 6 bits. Converts each set of binary values into decimals, and then finds the corresponding symbol in the above table and links it to the Base64 coding result.

& nbsp; Base64 can be used for bottom binary data encodings of any data to be used in situations where only ASCII characters can be transmitted. However, the most frequently used for text data processing transmissions, e.g. in MIME format, Base64 can be used to cod e-mail content, facilitate transmission between computers in different languages without confusion, be aware of transmissions rather than displays, e.g. use of utf-8 codes on computers in Western Europe would allow normal display of Chinese (with corresponding libraries installed), but it may not be normal for Chinese transmissions, and there is no concern to convert to Base64.

In the absence of a special description of the Base64 code, it is usually agreed that non-ASCII characters are coded according to the UTF-8 character set.

Ferramentas recentes: