URL Encoding

Ever wonder what those weird %20 things were doing in your URL bar? Having trouble getting a link to work? Are you really bored? If you answered yes to any of these questions, this page is for you.


Certain characters are reserved for special purposes and could potentially confuse a browser if included in a URL. One way around this problem is just to not use any of those characters. But people don't like limitations and so these codes were created:

Character Code
Space ( )%20
At ( @ )%40
Pound ( # )%23
Dollar ( $ )%24
Percent ( % )%25
Caret ( ^ )%5E
Ampersand ( & )%26
Character Code
Euro ( € )%80
Tilde ( ~ )%7E
Accent ( ` )%60
Pipe ( | )%7C
Backslash ( \ )%5C
Quotes ( " )%3A
Semicolon ( ; )%3B
Character Code
Left Brace ( { )%7B
Right Brace ( } )%7D
Left Bracket ( [ )%5B
Right Bracket ( ] )%5D
Less Than ( < )%3C
Greater Than ( > )%3E

How To Use It

All you have to do is replace the restricted characters with the codes and then copy that link into your browser. Want to test it out? Copy the following address into your browser and then add on some of the codes: https://inkplant.com/tools/url-encoding?test=

Easy Converter

Simply enter the string you want to encode and then click the Convert button.


If you're working in PHP, there are two very handy functions that you can use: urlencode() and urldecode(). Those links will take you to the official documentation.