It would be awesome if you could share this page :)

Base64 encode/decode

Related Tools

Base64

The term Base64 encoded string is coming from a certain MIME content transfer. Base64 string is a collection of related encoding designs which represent the binary information in ASCII format by converting it into a base64 encoded representation.

Base64 encoding schemes are basically used when there is a need to store or transfer encoded binary information or media files that are developed to deal with textual information. This guarantees that the data stays unchanged without modification during transfer. Base64 is generally used in a number of applications including electronic mail via MIME, and keeping complex information in XML.

The special 64 characters chosen for the base can vary among implementations. The popular theory is to select a set of 64 characters that is both part of a subset typical to most encodings. This combination leaves the data impossible to make alternation in transportation through information systems, such as electronic mail, that were typically not 8-bit clean. The Base64 implementation in MIME uses a-z, A-Z and 0-9 for the first 62 values. Other Base64 modifications share the same property but they use different symbols in the last two values.

Base64 index table:
 

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

Source: Base64 on Wikipedia