Hexadecimal equivalent codes of ASCII characters can be used to represent characters of a URL’s path and filename.
Each hex number is preceded by a “%” symbol to identify the following two numbers/letters as a hexadecimal representation of the character
An ASCII chart can be used for the conversion from ASCII to Hex or vice versa
One good source for ASCII to Hex charts is http://en.wikipedia.org/wiki/ASCII (both the tables below have been taken from this URL)
The need for typing in Hex codes into a URL is to make it possible to include special characters in a URL which would otherwise be wrongly interpreted or not allowed. A good example is SPACE which would not be able to fit into a URL in its original form and hence is represented by the Hex code 20 (prefixed by % in a URL making it %20)
For example, if we were to visit the URL www.bing.com , it could be written as
B = %42
I = %49
N = %4e
G = %47
Hence, www.bing.com could be written as www.%42%49%4e%47.com
Note: The “slashes” in the address cannot be represented in hex; nor can the IP address be rendered using this logic (the %XX way) but the rest of the URL can be manipulated
REFERENCES
http://www.zerointellect.com/security/securing-your-url-with-hexadecimal-codes/comment-page-1/