# Url encode
> Supported in: Batch, Faster, Streaming
Percent-encodes a string to be sent in a url.
**Expression categories:** String
## Declared arguments
* **Expression:** The expression to url encode.
*Expression\*
**Output type:** *String*
## Examples
### Example 1: Base case
**Argument values:**
* **Expression:** `string`
| string | **Output** |
| ----- | ----- |
| raw\_string\_with\_no\_special\_characters | raw\_string\_with\_no\_special\_characters |
| test/api?string=3 | test%2Fapi%3Fstring%3D3 |
***
### Example 2: Null case
**Argument values:**
* **Expression:** *null*
**Output:** *null*
***