# DECODE_BASE64_STRING function

## `DECODE_BASE64_STRING` function

| Function Name | Description | Usage | Input parameter | Return value |
|---|---|---|---|---|
| `DECODE_BASE64_STRING` | Decodes a base64 string to UTF-8 charset. | `DECODE_BASE64_STRING()` | N/A | A decoded UTF-8 string. |

## Supported data type


The `DECODE_BASE64_STRING` function supports the following data type:

- String

## Example: Decode a base64 string


**Sample data** : `$var1$ = "SGVsbG8gSW50ZWdyYXRpb24h"`


**Usage** : `$var1$.DECODE_BASE64_STRING()`
Decode var1 from base64 format.


**Output** : `Hello Integration!`

## Recommendation

- Learn how to add and configure a [Data Mapping task](https://docs.cloud.google.com/application-integration/docs/configure-data-mapping-task.md.txt)