About this endpoint
What it does
Encodes text to Base64, or decodes Base64 back to text, chosen with action. Unicode text such as non-English letters and emoji is supported. Use it to embed data in JSON, URLs, headers or config files.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The text to encode or decode. Decoding invalid Base64 returns an empty result. |
| action | ENUM | Yes | Operation to perform: encode or decode. |
Response
A successful call returns a JSON object with these fields:
| Parameter | Type | Description |
|---|---|---|
| tool | String | Name of the tool that produced the response. |
| action | String | The action that was performed (echoes the request). |
| result | String | The Base64-encoded or decoded text. |



