Encode text to base64url, as per RFC-4648. The result is a URL-safe base64url encoded UTF-8 string.
and also base16, base32 and base32hex encoding.