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 spaces with "+" signs, and unsafe ASCII characters with "%" followed by their hex equivalent. Safe characters are defined in RFC2396. They are the 7-bit ASCII alphanumerics and the mark characters "-_.!~*'()". Note that the standard JavaScript escape and unescape functions operate slightly differently: they encode space as "%20", and treat "+" as a safe character.

Plain:
Encoded:
(Requires JavaScript to be Enabled)
Other pages of interest on this site:
  • If you need to include an email on your site, you need the The Email Address Obfuscator.
  • Problems with a Repetitive Strain Injury? Albion StopNow! helps you take necessary breaks.
  • Albion BookLink (Free) lets you choose where a link to a book points to.
  • Some recommended books on algorithms, programming languages, etc.

Sort of an Ad


We can only make pages like this available because we have a reliable, reasonably-priced, web hosting service.

If you need a better hosting company, can we suggest you check out two companies we use:

Powweb.com
Good if their One Plan meets your requirements and with the best incoming spam filtering we've been able to find.

HostGator.com
Good if you have multiple websites, need to set up a website for a client (they have reseller accounts), or have more complex requirements.

We've had good experiences with both these companies.


© Albion Research Ltd. 2010