Base64 encoding is a simple, yet powerful, way to encode binary data into ASCII characters. It is a very popular encoding scheme for transmitting binary data over text-based protocols like HTTPS. Converting between URL encoding, Base64 encoding, and Base64 encoding is a common operation when working on web applications.
With this Encoder/Decoder utility or the free encoder API, you can quickly and easily convert text using these encoding schemes. Enter any UTF-8 character, even emoji like 😁 and 😎, to encode them.
Try encoding this example to see what you get:
Try decoding this example to see what you get:
Base64 encoding works by taking the input string ("plaintext") and applying an algorithm, getting an encoded string as output. The algorithm for Base64 encoding uses ASCII formatting for each of the input characters, then divides binary data into 6-bit chunks, which are then converted to decimal numbers and converted back to strings according to the Base64 Index Table.
The entire process for Base64 encoding can be visualized with helpful tools like Kevin Litchfield's Base64 Visualizer.