url_decode()
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
The function converts an encoded URL into a regular URL representation.
For more information about URL encoding and decoding, see Percent-encoding.
Syntax
url_decode(
encoded_url)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
encoded_url | string |
✔️ | The encoded URL to decode. |
Returns
URL (string) in a regular representation.
Example
let url = @'https%3a%2f%2fwww.bing.com%2f';
print original = url, decoded = url_decode(url)
Output
original | decoded |
---|---|
https%3a%2f%2fwww.bing.com%2f | https://www.bing.com/ |