Skip to content
URL Escape Code
- URL escape codes are sequences of ASCII characters which represent either non-ASCII characters or URL reserved characters.
- A URL escape code is a 3 character sequence. The first character is always %, and it is followed by a 2 character hexadecimal number.
- To prevent URL reserved characters from being treated as such in URLs, they must manifest as URL escape codes.
- For non-ASCII characters to be included in URLs they must manifest as URL escape codes.
- The table below shows the complete set of URL reserved characters & their URL escape codes.
Character | : | / | ? | # | [ | ] | @ | ! | $ | & | ‘ | ( | ) | * | + | , | ; | = |
---|
URL escape code | %3A | %2F | %3F | %23 | %5B | %5D | %40 | %21 | %24 | %26 | %27 | %28 | %29 | %2A | %2B | %2C | %3B | %3D |
---|