What is Base64?
Base64 represents binary data using 64 safe characters (A–Z, a–z, 0–9, + and /). It is used in email attachments, data URLs, JSON Web Tokens and HTTP Basic authentication. Base64 output is about 33% larger than the input.
Base64 is not encryption
Anyone can decode Base64. Never use it to protect passwords or secrets.
URL-safe Base64
URL-safe Base64 replaces + with - and / with _ and usually removes the = padding, so the value can be used in URLs and file names. The decoder accepts both variants automatically.