URL Encoder Tool is a Free SEO Tool allows to Encode a string that will be part of a url. This is useful when you want to add special characters to a URL parameter.
This is a simple tool that will help you encode a URL that can be safely used for links. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.
URL Encoding replaces “unsafe” characters with ‘%’ followed by their hex equivalent. Characters which need not be escaped are defined in RFC3986. 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.
When encoding a String, the following rules apply:
a" through "
A" through "
Z" and "
0" through "
9" remain the same.
*", and "
_" remain the same.
" is converted into a plus sign "
%xy", where xy is the two-digit hexadecimal representation of the byte. The recommended encoding scheme to use is UTF-8..
For example using UTF-8 as the encoding scheme the string "The string ü@foo-bar" would get converted to "The+string+%C3%BC%40foo-bar" because in UTF-8 the character ü is encoded as two bytes C3 (hex) and BC (hex), and the character @ is encoded as one byte 40 (hex).
The encodeURI() function encodes a URI by replacing each instance of certain characters by 1 to 4 escape sequences representing the UTF-8 encoding of the character.
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI() or by a similar routine.
Programming can be fun, so can cryptography; however they should not be combined.Kreitzberg and Shneiderman