# URL Query Unescape

> Decode a string used as a URL parameter.

- ID: `url_param_decode`
- Type: Block
- Category: [Strings](https://inventor.bot/docs/reference/blocks/strings.md)

- Value block: it can be used directly inside expressions, e.g. `"Result: " + url_param_decode(Args{...})`.

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `encoded_string` | yes | URL encoded string. | e.g. `"hello+world"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `decoded_string` | Decoded value. | e.g. `"hello world"` |

**Example**

```go
urlParamDecode := url_param_decode(Args{encoded_string: "hello+world"})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Decoded String: " + urlParamDecode,
})
```