Base64 is an algorithm that converts binary to text and vise versa used for sending binary data over a text-based protocol such as HTTP. It ensures that text does not gets corrupted during the transfer.
Base64 index table
base64.png50.1 KB
Example:
Consider the following example using only ASCII text:
Code Beautify has a set of online tools that helps you to decode and encode data in Base64 format.
If we encode the above quote we will get the following result:
Now if we look up each group in the index table we will get the following result:
010000 = Q 110110 = 2 111101 = 9 100100 = k 011001 = Z 01 = part of the next group of 6 bits since we are only converting the word Code
As you see, we got Q29kZ which is the same first 5 characters in the above example. Feel free to play with both base64 decoder / encoder tools by that we have on our site.