What is Base64 and what is it used for?
Base64 represents every 3 bytes of data with 4 characters from a set of 64 that are safe to send as text. As a result, the output is about one third larger than the original data. Common uses are embedding small images directly in HTML or CSS (Data URIs), email attachments, and JSON payloads or tokens.
Base64 is only an encoding, not encryption or security. Anyone can decode it, so don’t use it to hide passwords or secret data.