Convert text to Base64 and back with URL-safe options and utf-8 support.
URL-safe Base64 replaces "+" with "-" and "/" with "_", making the string safe for URL query strings without requiring percent encoding.