encode_base64
Convert text to Base64 encoding or decode Base64 back to text. Use for safe data transport in JSON, URLs, or email.
Instructions
Encode or decode text using Base64.
Use this when you need to encode binary data for text-safe transport
(e.g., in JSON, URLs, or email) or decode previously encoded Base64 data.
Parameters:
text — The string to encode or decode (required).
mode — Operation: "encode" (text → Base64) or "decode" (Base64 → text)
(default: "encode").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| mode | No | encode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |