/codec
Encode and decode text formats.
| Attribute | Details |
|---|---|
| Access Tier | All Users |
| Provider | Local V8 Runtime |
| Data Stored | Ephemeral |
Subcommands
/codec base64 encode
Encode text as Base64.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | Text to encode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec base64 decode
Decode Base64 as text.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | Base64 text to decode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec url encode
Encode text as URL.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | Text to encode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec url decode
Decode URL as text.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | URL text to decode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec hex encode
Encode text as hexadecimal.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | Text to encode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec hex decode
Decode hexadecimal as text.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | hexadecimal text to decode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec binary encode
Encode text as binary.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | Text to encode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
/codec binary decode
Decode binary as text.
Options:
| Option | Description | Type | Required |
|---|---|---|---|
text | binary text to decode. | String | Yes |
ephemeral | Hide this response. | Boolean | No |
Examples
text
/codec base64 encode text:"hello world"
/codec hex decode text:"68656c6c6f"