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.
 

© Albion Research Ltd. 2010