rawurldecode

Returns a string where a sequence of percent signs (%) followed by two hexadecimal digits is replaced with literal characters.
Produces results similar to the PHP function rawurldecode().