Encode Decode Base 64

Base64 encoding is a method of converting binary data into a text format, using a set of 64 ASCII characters (A-Z, a-z, 0-9, +, and /) to represent the data. It is often used to encode data for safe transmission over text-based protocols like email and JSON, where binary data may not be supported.
Decoding reverses the process, converting the Base64-encoded string back to its original binary form. While Base64 encoding is not a form of encryption and offers no security, it ensures data remains intact when shared across systems that may not handle raw binary properly.