Encode or decode text as Base64, with proper UTF-8 and URL-safe options.
Base64 is an encoding, not encryption. Anyone can decode it, so do not use it to hide secrets.