left-arrow-icon
Encoder Icon

URL Encoder - URL Decoder

Encode URL and Decode URL Online

Home

Developer Tools

URL Encoder and Decoder


Url Encode Decode - You can encode URI component or escape URL in input field OR decode URI component in output box

two-way-icon


URL Encoding of Special and Reserved Characters

Encoding is replacing special, reserved and non-ascii characters in a text or url by an hexadecimal value. The encoded part is suffixed with %

Conversion Table Icon

Character

Encoded Value

Decimal

;

%3B

59

:

%3A

58

@

%40

64

&

%26

38

=

%3D

61

+

%2B

43

$

%24

36

,

%2C

44

/

%2F

47

?

%3F

63

%

%25

37

#

%23

35

[

%5B

91

]

%5D

93

" "

%22

34

<

%3C

60

>

%3E

62

{

%7B

123

}

%7D

125

|

%7C

124

""

%5C

92

^

%5E

94

~

%7E

126

Frequently Asked Questions on URL Encoder Decoder

FAQ icon

  • Encoding means replacing special, reserved and non-ascii characters in a text or url by another set of characters (hexadecimal equivalent to be precise)

  • Decoding means getting back the original form of text or url from encoded text/url. It is reverse of encoding. It puts back the special, reserved characters from the encoded text.

  • A URL as per RFC specification has reserved characters such as / , ? and & which are interpreted in a standard way across browsers and servers. When actual data submitted from a web page (query parameters or form body) contains the same reserved characters like ? or ' or & , it will lead to incorrect behavior. Encoding is useful in such cases to avoid these clashes between reserved chars in actual data and those that are part of URL notation.

  • Reserved or Special characters - ; : @ & = + $ , / ? % # [ ] Unsafe characters such as " < > % | \ ^ ` and space Control characters - not linked to URL encoding. Backspace, Delete, Return / Enter are some of control character These do not need encoding Safe Unreserved

  • Reserved or special characters include ; : @ & = + $ , / ? % # [ ]

  • Unreserved characters are A-Z a-z 0-9 - _ . ! ~ * ' ( ) Unreserved characters also can be encoded though not needed.

  • URL encoding is also called percent encoding. It uses % as main escape character to replace the special or reserved chars that are encoded. For eg, hexadecimal value of $ is 24 and hex encoded value for $ is %24

  • It converts the reserved characters to its equivalent hexadecimal value and then prefixes with a % symbol. For example, the hexadecimal value for ? is 3F and therefore encoded value of ? becomes %3F Similarly encoding value for Space is %20

  • See hexadecimal converter

  • UTF-8 is the most widely used encoding method. It is same as ASCII for the values from 0 to 127

-

  • URI is Uniform Resource Identifier. It contains URN (name) and resource location (URL) URL is Uniform Resource Locator which specifies the resource location Examples of a URI , mailto:hello@mybrowserappstore.com , https://bibliolist.org/urn:ibn:1092 , An example of a URL , https://mybrowserappstore.com?q=encoder

  • Encryption is to exchange data securely using various algorithm and techniques Encoding is to only escape specific chars during transmission via internet. Its purpose is not for secure transmission but to pass data without it getting mis-interpreted.