Encode String to Base64 encoding
Decode Base64 to String
What is Base64 Encoding
Base64 encoding scheme was originally designed to make it possible to reliably transmit eight-bit data through transmission systems constrained to handle seven-bit data.
Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data.
This is to ensure that the data remains intact without modification during transport. Base64 is used commonly in a number of applications including email via MIME, and storing complex data in XML.
This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.
Base64-encoded data takes about 33% more space than the original data.