# README
title: "Base64" lang: "en-US" draft: false description: "Learn about how to set up a VDP Base64 component https://github.com/instill-ai/instill-core"
The Base64 component is an operator component that allows users to encode or decode a string in Base64 format. It can carry out the following tasks:
Release Stage
Alpha
Configuration
The component definition and tasks are defined in the definition.json and tasks.json files respectively.
Supported Tasks
Encode
Encode data into base64 string
Input | ID | Type | Description |
---|---|---|---|
Task ID (required) | task | string | TASK_ENCODE |
Data (required) | data | string | Data to be encoded |
Output | ID | Type | Description |
---|---|---|---|
Data | data | string | Data |
Decode
Decode the base64 string.
Input | ID | Type | Description |
---|---|---|---|
Task ID (required) | task | string | TASK_DECODE |
Data (required) | data | string | Base64 string to be decoded |
Output | ID | Type | Description |
---|---|---|---|
Data | data | string | Data |