Skip to main content

URL Encode

The URL encode function transforms regular characters into a URL-encoded format so they can be safely transmitted within URLs.
This process converts special characters (such as spaces, symbols, or reserved URL characters) into their encoded equivalents.

The mapping takes a regular string as input and outputs the URL-encoded value, ensuring it can be safely used in query parameters, paths, or HTTP requests.


Attributes for URL Encode Mapping

AttributeRequiredDescription
FromYesDefines the field name before mapping.
ToYesDefines the field name after mapping.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function typeYesDefines the function type of the mapping. Must be "String function".
FunctionYesDefines the type of mapping. Must be "URL encode".

Example

In this example, a string containing special characters is encoded before being used in a URL parameter.

URL Encode Example 1

URL Encode Example 2