> 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/encode-text.md).

# Encode Text

This activity encodes a given text, based on a user-specified encoding method.

### Input

* **Encoding Method:**\
  Specifies the Encoding 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)
* **Text:** [`String Argument`](/getting-started/rpa-studio/arguments.md#string) <mark style="color:red;">`Required`</mark>\
  Specifies a text that is to be encoded using a specific encoding method.

### Output

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