Decode Component

Decode a URL-encoded component, such as the value of a query parameter.  This function decodes all URL-encoded characters and outputs the decoded text.  For more details on URL encoding see this Wikipedia article.

For example, this input: Sherlock%20Holmes%3A%20Detective

Would decode to: Sherlock Holmes: Detective

This function is the inverse of Encode Component. Note that in many cases, it may be easier to use Decode Component followed by Decode Query if you are starting with a complete URL.  

Input Fields

  • text: the URL-encoded text

Output Fields

  • output: the decoded text

See Also

Functions in Workflows

About the elements of Okta Workflows