Url Encode


Enter URL to Encode





What is URL Encoding?

Uniform Resource Locator(URL) used by Web browsers to request pages from web servers. URL encoding converts characters into a valid format so that it can be transmitted over the Internet.

Only ASCII character-set can be sent as a part of URLs over the Internet. Many times URL can contain characters outside the ASCII set, the URL string has to be converted into a valid ASCII format which can be transmitted over internet.

The encoding of URL replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. As URLs cannot contain spaces, it has to be replaed by some valid ASCII characters, it normally replaces a space with a plus (+) sign or with %20.

Some of ASCII Characters Encoding Reference

Character Windows-1252 UTF-8
space %20 %20
! %21 %21
" %22 %22
# %23 %23
$ %24 %24
% %25 %25
& %26 %26
' %27 %27
( %28 %28
) %29 %29
* %2A %2A
+ %2B %2B
, %2C %2C
- %2D %2D
. %2E %2E
/ %2F %2F

Some sample :
http://www.abc.com?name=Don Bosco
will be converted to
http%3a%2f%2fwww.abc.com%3fname%3dDon+Bosco