Skip to main content

URL decode

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Decode a URL-encoded string (e.g., encoded with '%'). This command converts URL-encoded characters back to their original form, making encoded URLs human-readable and usable for further processing.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

URL to decode

Enter the URL needs to be decoded

Any URL-encoded string

Yes

Accepts variables

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

Store processed URL into a new variable. The output variable will contain the decoded URL string.


Using Variables in Conditions

You can use variables in this command by clicking on the {x} icon next to the input fields. This allows you to use previously defined variables as input for the URL to decode. Similarly, the decoded output can be stored in a variable for later use in your workflow.


Notes

  • This command is especially useful when working with URLs that contain special characters or spaces that have been encoded for web transmission.

  • Common URL encodings include '%20' for spaces, '%3F' for question marks, and '%26' for ampersands.

  • If the input string is not properly URL-encoded, the command will still attempt to decode it but may not produce the expected results.

  • The command will fail if it encounters severely malformed URL encoding that cannot be properly interpreted.

Did this answer your question?