data_codec
Encode or decode strings between Base64, Hex, ASCII/UTF-8, and URL formats to prepare data for transport, storage, or system interoperability.
Instructions
Encodes and decodes data between Base64, Hex, ASCII/UTF-8 string, and URL formats. For several operations or chained steps in one call, use batch_calc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input string to process | |
| action | Yes | Codec operation | |
| format | No | Format of input (for to_base64) or output (for from_base64) | text |
| urlSafe | No | Use URL-safe Base64 alphabet without padding |