Base64 encode
base64_encodeEncode UTF-8 text as base64. Set url_safe for the URL-safe alphabet (- and _ in place of + and /, no padding), as used in JSON Web Tokens. Runs locally. Returns the encoded string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode. | |
| url_safe | No | Use the URL-safe alphabet without padding. Default false. |