docs/en/sql-reference/sql-functions/string-functions/url_decode.md
Translates a string back from the application/x-www-form-urlencoded format. This function is an inverse of url_encode.
This functions is supported from v3.2.
VARCHAR url_decode(VARCHAR str)
str: the string to decode. If str is not a string, the system will try implicit cast first.Returns a decoded string.
mysql> select url_decode('https%3A%2F%2Fdocs.starrocks.io%2Fdocs%2Fintroduction%2FStarRocks_intro%2F');
+------------------------------------------------------------------------------------------+
| url_decode('https%3A%2F%2Fdocs.starrocks.io%2Fdocs%2Fintroduction%2FStarRocks_intro%2F') |
+------------------------------------------------------------------------------------------+
| https://docs.starrocks.io/docs/introduction/StarRocks_intro/ |
+------------------------------------------------------------------------------------------+