URL Encoder / Decoder

Enter the text that you wish to encode or decode:

URL Encoder / Decoder is used to encode and decode the text and URL. URLs can transmit over the internet only when the URL contains ASCII Characters, and if the URL contains characters other than the ASCII, URL needs to be converted into ASCII. For this reason, this precious tool is used.

The encoder converts non-ASCII characters into an ASCII format so that they can be sent over the internet. Encoding involves converting unreserved characters (in certain conditions) and reserved characters into non-ASCII characters with "%" and 2 digit hexadecimal.

What is URL encoding?

In this, certain characters in URL are replaced by "%" followed by 2 digits hexadecimal. The encoding process is not limited to URLs, this technique can also be applied to other Uniform Resource Identifiers (URIs) such as Uniform Resource Names (URNs), that's why it is also called percent-encoding.

The standard for URL encoding is RFC 3986, in this standard, all the rules and protocols are defined for encoding and decoding of any URIs. The characters which are allowed on URIs are can be reserved and unreserved, reserved characters are special characters such as! * @ ' ( ) / ; :  & = + $ , ? % # [ ] and must have to be encoded while unreserved characters such as A to Z a to z 0 to 9 and - _ . ~ is encoded under certain conditions.

What is the Process of URL Encoding?

There are many encoding and decoding tools are available on the internet, but before using the tool, you should know how this tool work. The conversion process consists of two stages listed below:

The tool uses UTF-8 encoding to convert strings into a sequence of bytes, alternately some tools use windows-1252 encoding for this purpose.
Then, it converts each non-ASCII letter byte into % followed by two-digit hexadecimal such as 6E.

Let's take an example, "Hey Günter". In this the result will be "Hey+G%C3%BCnter", you can see the encoding process clearly, the space between Hey and Günter is denoted by +, and ü is represented by %C3%B. In this example, the ü is converted into two sequences of bytes as you can see clearly.

What are the Types of URI Characters?

There are two types of URI characters defined by RFC 3986. They are either reserved characters or unreserved characters.

Reserved characters are those which sometimes have some special meaning such as forward slash is used to separate the different parts of the URL. The reserved characters are defined in RFC 3986 section 2.2 (January 2005) are listed below:

Reserved Characters
! * ' ( ) ; : @ & = + $ , / ? % # [ ]

While the unreserved characters do not have any such meaning. unreserved characters are defined in RFC 3986 section 2.3 (January 2005) are listed below:

Unreserved Characters
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 - _ . ~

How to Use URL Encoder / Decoder?

In order to use this tool, follow the steps below:

  • Visit our tool by clicking on URL Encoder / Decoder or navigate SeoToolsCloud's site and locate the tool by its name.

  • Enter any URI (Any Text), or URL for encoding, or enter any encoded text for decoding.

  • Hit enter or click on the "Submit" button.

  • Wait for a second, and you will get the result.

Related Tools