Decode Component

Decode a URL-encoded component such as the value of a query parameter.

This function card decodes all URL-encoded characters and outputs the decoded text. This function is the inverse of Encode Component.

For more information on percent encoding, see What is URL Encoding and How does it work?

Note

If you are starting with a complete URL, it may be easier to use the Decode Component followed by the Decode Query function cards. See Decode Query.

Input

Field Definition Type Required
text URL-encoded text. String TRUE

Output

Field Definition Type
output Decoded text. String

Example

The input Sherlock%20Holmes%3A%20Detective decodes to Sherlock Holmes: Detective.

Related topics

Functions in Workflows

About the elements of Okta Workflows