> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/file/common/decode-text.md).

# Decode Text

Decodes a given encoded text.

This activity decodes a given encoded text based on a user-specified decoding method.

### Configure

* **Decoding Method:**\
  Specifies the Decoding Method to be used. These are the available options.
  * [`Base64`](https://en.wikipedia.org/wiki/Base64)
  * [`Base64Url`](https://en.wikipedia.org/wiki/Base64#URL_applications)
* **Output Type:**\
  Specifies the output type of the activity. These are the available options.
  * `Byte` - Generates the Decoded data in bytes.
  * `String` - Generates the Decoded data as a string.

### Input

* **Encoded Text:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string) <mark style="color:red;">`Required`</mark>\
  Specifies an encoded text that is to be decoded using a specific decoding method.

### Output

* **Result:** [`String Variable`](/getting-started/rpa-studio/variables.md#string)\
  Stores the decoded data of the user-specified encoded text in the specified [String ](/getting-started/rpa-studio/variables.md#string)variable.

###
