Online URL Encoder/Decoder
Small SEO Tools bring you the smartest and fastest online URL Encoder/Decoder tool for free!
This online URL Encoder/Decoder tool is extremely helpful when adding special characters to a URL parameter which is also known often referred to as percent encoding. The process of URL encoding involves replacement of unallowable characters with a % (percent sign) and additional two hexadecimal values. While URL decoding works, if you want to know an email campaign or the newsletter’s source.
How to use this Online URL Encoder/Decoder?
The Small SEO Tools free online URL Encoder/Decoder tool works when you add a string of text on the space provided on this link https://smallseotools.com/online-url-encoder-decoder/. Then, all you have to do is to click on the “Encode” or “Decode” button, and it will show the results instantly.
URLs can only be carried over to the Internet using the ASCII character-set. Since these URLs comes with characters outside the ASCII set, the URL needs to be converted into a useable ASCII format. This URL encoding is used to replace unsafe ASCII characters with a percent sign (%) followed by two hexadecimal digits. URL encoding replaces a space with either a plus sign (+) or with %20.
What is URL Encoding and URL Decoding?
URL encoding is generally used in the query string or also known as the Uniform Resource Identifier (URI). Users only really want to use URL encoding on the special symbols. This free online URL Encoder/Decoder tool will do the job if you want to get your URL encoded or decoded.
What is the Use of URL Encoding?
The URL specification RFC 1738 states that only a small set of characters are allowed to be used in a URL. Those characters are listed below:
|A to Z (ABCDEFGHIJKLMNOPQRSTUVWXYZ)||- (Hyphen or Dash)|
|a to z (abcdefghijklmnopqrstuvwxyz)||_ (Underscore)|
|0 to 9 (0123456789)||. (Period)|
|$ (Dollar Sign)||! (Exclamation or Bang)|
|+ (Plus sign)||* (Asterisk or Star)|
|( (Open Bracket)||' (Single Quote)|
|) (Closing Bracket)|
How does URL Encoding work?
Online URL encoding or Percent-encoding, is a procedure for encoding specific information in a Uniform Resource Identifier (URI) in definite situations. Even though it is widely known as known as URL encoding, in general, it is used within the main Uniform Resource Identifier (URI) set, which contains both Uniform Resource Locator (URL) and Uniform Resource Name (URN).
This online URL encoding is also utilized in the preparation of data and the submission of HTML form data in HTTP requests.
All characters that needs to be changed are replaced by a percent sign (%) and a two-digit hexadecimal value that signifies the character in the appropriate ISO character set. Listed below are some examples:
|$ (Dollar Sign) becomes %24||+ (Plus) becomes %2B|
|& (Ampersand) becomes %26||, (Comma) becomes %2C|
|: (Colon) becomes %3A||; (Semi-Colon) becomes %3B|
|= (Equals) becomes %3D||? (Question Mark) becomes %3F|
|@ (Commercial A / At) becomes %40|
What are the Types of URI characters?
The characters that are acceptable in a URI are either reserved or unreserved (or a percent sign as part of a percent-encoding). Reserved characters refer to characters that could have special meaning. A good example of this is a slash character which is commonly used to separate different parts of a URL. On the other hand, unreserved characters have no special meanings.
In using percent-encoding, the reserved characters are represented using a unique character arrangements. The sets of reserved and unreserved characters and the conditions under which certain reserved characters have special meaning have changed marginally with each modification of specifications that manage URIs and URI schemes.
How does Percent-encoding of unreserved characters work?
When a certain character from the reserved set has special meaning in a certain context, and a URI scheme says that it is important to use that specific character for a different purpose, then the character should be percent-encoded.
Doing percent-encoding of a reserved character usually involves converting the character to its corresponding byte value in ASCII and then representing that value as a pair of hexadecimal digits. The digits before a percent sign (%) are then used in the URI in place of the reserved character. And for the ones that are non-ASCII character, it is normally converted to its byte arrangement in UTF-8, and then each byte value is represented as mentioned above.
The reserved characters that have no reserved purpose in a specific context may also be percent-encoded but are not semantically different from the ones that are not. Let’s have this as an example: "/" is still considered a reserved character but usually it has no reserved purpose, unless a certain URI scheme says otherwise. This is the reason why a character does not need to be percent-encoded when it has no reserved purpose.
Characters from the unreserved set never need to be percent-encoded.
URIs that differ only by whether an unreserved character is percent-encoded or appears literally are equivalent by definition, but URI mainframes may not always distinguish this likeness. For maximum interoperability, URI creators are discouraged from percent-encoding unreserved characters.
Is Percent-encoding the percent character possible?
Since the percent character (%) already serves as the sign for percent-encoded octets, it must be percent-encoded as "%25" for that octet so the user can use as data within a URI.
What is Percent-encoding arbitrary data?
Many URI schemes involve the representation of arbitrary data, like an IP address or a chosen file system path, as components of a URI.
URI scheme specifications should provide a clear mapping among URI characters and all other possible data values that are being represented by those characters.