When encoding a URL, a character may not be available on the keyboard. Other times, the character of a URL might not be usable in contexts where it may conflict with a reserved character. In either case, the character can be encoded with a
% followed by its
ASCII hexadecimal equivalent code.
| Character | Escape Code |
| SPACE |
%20 |
| < |
%3C |
| > |
%3E |
| # |
%23 |
| % |
%25 |
| { |
%7B |
| } |
%7D |
| | |
%7C |
| \ |
%5C |
| ^ |
%5E |
| ~ |
%7E |
|
| Character | Escape Code |
| [ |
%5B |
| ] |
%5D |
| ` |
%60 |
| ; |
%3B |
| / |
%2F |
| ? |
%3F |
| : |
%3A |
| @ |
%40 |
| = |
%3D |
| & |
%26 |
| $ |
%24 |
|