Enter or paste your text in the first text box and click Encode button.
The text will be encoded for base 64 and appears in the second box below.
Base64 encoding is one among the
In base64 encoding, the 8-bit characters are converted to binary data and then the binary values are combined together. then it’s divided in to 6-bit groups starting from left to right. these 6-bit groups are then coded with their individual values. i.e. one among the 64 possible values. the base64 values could be from “a” to “z”, “a” to “z”, “0” to “9”, “+” and “/”. To make sure the last group of 6-bit data has 4 base64 values, the ‘=’ character will be added to the end.
The best practical example of base64 encoding is MIME email content. Another example is the ViewState in ASP.NET web forms. The ViewState data is encrypted with base64 so as it can be safely transmitted through http post.
For example, "www.mytecbits.com" will be Base64 encoded as "d3d3Lm15dGVjYml0cy5jb20=".
The details of Base64 specifications is available here.
Page Last Modified On: Jul 23, 2021
Disclaimer: We took every effort to provide higher level of accuracy in the calculators, converters and tools we have added to www.MyTecBits.com Tools section. But, we cannot give any guarantee or can be held responsible for any errors, defects, faults or mistakes in any of the calculators, converters or tools. Please see detailed terms of use and liability disclaimer in Terms of Use Page.