What Base64 is for
Base64 turns any data into plain letters and numbers so it can travel through systems built for text: email attachments, data URLs, API tokens and config files. It isn't encryption; anyone can decode it.
URL-safe Base64
Standard Base64 uses + and /, which mean something in URLs. URL-safe Base64 uses - and _ instead and drops the = padding. For other special characters in URLs, use the URL encoder.