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::

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

Can we suggest you look at some of the companies we've used?


Simple web hosting with the best incoming spam filtering we've ever experienced.


Virtual private servers from only $5/month. Good for serious web apps. Can also be rented by the hour to test out your ideas.


Note: the above are affiliate links to companies we've used. Signing up using these links helps pay for the cost of this page.