The URLEncode and URLDecode Page

This web page encodes or decodes a string using URL Encoding. URL Encoding is used when placing text in a query string to avoid it being confused with the URL itself. It is normally used when the browser sends form data to a web server.

URL Encoding replaces “unsafe” characters with ‘%’ followed by their hex equivalent. Characters which need not be escaped are defined in RFC3986 (which replaced RFC2396). They are the 7-bit ASCII alphanumerics and the characters “-._~”. Unicode characters and 8-bit ASCII characters are normally first encoded using UTF-8, as defined in RFC2279.




Other pages you may find of interest::

© 1993-2025 Albion Research Ltd.
c104ca
Need Better Web Hosting?

Can we suggest you look at some of the companies we use?


Virtual private servers from as little as $4 per month. We use them for serious apps as well as simple web sites.

$200 credit for first 60 days if you use the above link.*

You can also rent a server by the hour just to test an idea.


Note: the above are affiliate links to companies we use. Using these links helps pay for this page.


*January 2025. Not sure how long this offer will last.