github.com/instill-ai/component@v0.16.0-beta/pkg/operator/base64/v0/README.mdx (about) 1 --- 2 title: "Base64" 3 lang: "en-US" 4 draft: false 5 description: "Learn about how to set up a VDP Base64 operator https://github.com/instill-ai/instill-core" 6 --- 7 8 The Base64 component is an operator that allows users to encode or decode a string in Base64 format. 9 It can carry out the following tasks: 10 11 - [Encode](#encode) 12 - [Decode](#decode) 13 14 ## Release Stage 15 16 `Alpha` 17 18 ## Configuration 19 20 The component configuration is defined and maintained [here](https://github.com/instill-ai/component/blob/main/pkg/operator/base64/v0/config/definition.json). 21 22 ## Supported Tasks 23 24 ### Encode 25 26 Encode data into base64 string 27 28 | Input | ID | Type | Description | 29 | :--- | :--- | :--- | :--- | 30 | Task ID (required) | `task` | string | `TASK_ENCODE` | 31 | Data (required) | `data` | string | Data to be encoded | 32 33 | Output | ID | Type | Description | 34 | :--- | :--- | :--- | :--- | 35 | Data | `data` | string | Data | 36 37 ### Decode 38 39 Decode the base64 string. 40 41 | Input | ID | Type | Description | 42 | :--- | :--- | :--- | :--- | 43 | Task ID (required) | `task` | string | `TASK_DECODE` | 44 | Data (required) | `data` | string | Base64 string to be decoded | 45 46 | Output | ID | Type | Description | 47 | :--- | :--- | :--- | :--- | 48 | Data | `data` | string | Data |