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-2024 Albion Research Ltd.
708bc0
Need Better Web Hosting?

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


Virtual private servers from only $5/month. Good for serious web apps as well as simple sites. You can also rent a server for cents an hour to test your ideas.


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