URL Escape Codes

Posted on

Below we list the most common escape codes to be used in URLs. This is useful to know if you are passing special characters in JavaScript or if you wish to generate a URL that passes special characters.

Character Code
space %20
# %23
$ %24
% %25
& %26
/ %2F
: %3A
; %3B
< %3C
= %3D
> %3E
? %3F
@ %40
[ %5B
\ %5C
] %5D
^ %5E
` %60
{ %7B
| %7C
} %7D
~ %7E
This entry was posted in Web Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *