encode_base64
Encode UTF-8 text as standard Base64 (padded, A-Z a-z 0-9 + /), for embedding binary-unsafe content in JSON, data URIs, HTTP headers or Basic auth. Returns JSON { encoded }. The output uses the standard alphabet, so it is NOT URL-safe: '+' and '/' must still be percent-escaped before they go in a query string or path segment, and this tool does not do that. It is an encoding, not encryption — anyone can reverse it with decode_base64. Runs locally, no size limit beyond the request body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The plain text to encode, interpreted as UTF-8. Must be a string; raw binary cannot be passed through this parameter. |