Convert between plain text and Base64
RGV2VG9vbHMgVG9vbGJveA==
Encode text to and decode from Base64, with a URL-safe mode.
Convert text into a Base64 string.
Restore Base64 back to the original text.
Replace + and / with - and _, and drop the = padding, suitable for URL parameters.
Base64 is encoding, not encryption—do not treat it as a secret. Decoding a non-standard string raises an error.