← All nodes
Unstructured Text

URL Encoder

Convert text into percent-encoded form so it can be used safely inside a web address.

When to use it

Typical uses: Building query strings for links and API requests; Adding search terms or email subjects to URLs; Sharing links that contain spaces or non-English characters.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Text columnselect—Text
Encode asselect—component
Generate New Columncheckbox—false
New Column Nametext—Default: <column> Result
Insert Afterselect—After the column
When a value cannot be convertedselect—stop

Example

URL Encoder: an example

    Text arriving
    Text
    coffee & tea: café/bar?
    The text after this node
    Text
    coffee%20%26%20tea%3A%20caf%C3%A9%2Fbar%3F

    In URL component mode:

    Worth knowing

    • What is the difference between the two modes? Component mode encodes reserved characters such as / ? & = because they would change the meaning of a URL. Full URL mode leaves them alone so the address still works.
    • Why is a space shown as %20 and not +? %20 is valid everywhere in a URL. The plus sign only means a space in HTML form data.
    • How do I decode a URL? Use the URL Decoder.
    • Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.

    Others in Unstructured Text