Encode and Decode in Base64 Format

Simply Enter your data then Click the Encode & Decode button.




Encode and Decode in one click as you type o paste your Text, String !







Online Base64 Encode Tool

Base64 Encode Online Tool is such a tool online that easily encodes your string in the format of Base64 without taking any extra time. You do not need to download any heavy software to use this tool, it is loaded online on your system browser, and takes place in the storage of your browser memory to encoding Base64 formate.


Online Base64 Decode Tool

Base64 Decode Online Tool is such a tool online that easily Decode your string in the format of Base64 without taking any extra time, just type or paste your string and click on button, and the good thing about this tool is that You do not need to download any heavy software to use this tool, it is loaded online on your system browser, and takes place in the storage of your browser memory to Decoding Base64 formate.


Base64 Decode Online Tool

Base64 Decode Online Tool, its mean www.base64decodeonline.com is a very secure website, If you convert any of your text or string on this website, then it remains limited to your browser only. This tool does not save any kind of data or transfer it to the server. So you can do all your work on this tool by rest assured.


Base64

Base64 is a encoding algorithm that allows you to transform any characters into an alphabet which consists of Latin letters, digits, plus, and slash. Thanks to it, you can convert characters, emoji, and even images into a “readable” string, which can be saved or transferred anywhere.


Why use Base64

Consider sending a message in binary. This transmission can be considered as composed by 8 bit characters so it is base256: each byte is a symbol from 0 to 255.

The problem with this coding is that it cannot be attached to emails and similar channels as some characters have special meaning.

Therefore instead of using 8 bit digits, the Base64 code uses 6 bit words, i.e. 64 combinations, but maps these 64 digits to ASCII characters from ‘A’ (meaning 0) to ‘/’ meaning 63.

The advantage is that to use only legal ASCII characters, that are perfectly compatible with any channel, but to minimize the waste. In fact on 7 bit per byte channels, only one bit is lost, on 8 bit per byte only two bits are lost.

base64-decode-online

Example of Base64 Encode & Decode

Suppose we want to code Base64 a 16 bit word, in hex 0xAB34.

First of all let us transform this in binary: 0xA = 1010, 0xB= 1011, 0x3=0011 0x4=0100 so this number is 1010_1011_0011_0100.

Now reorganize these bits in 6 bits chunks, starting from the MSB (Most Significant Bit, the leftmost bit): you get 101010_110011_010000 (I have left aligned the last digit, so I had to add two 0 bits to the right).

Each of these 6 bit digits have the following decimal representation:

To get the Base64 code, we must use the aforementioned table so

therefore the aforementioned hex word is transformed into the Base64 string “qzQ” .