How to use this tool?
Add your URI encoding/decoding text in the Input filed and click URL Encode/Decode button appropriately to get the result.
About URL Encoding
URL Encoding which is as also called as Percentage(%) encoding is used to encode data in a
URI format. When HTML form data is transmitted through URL it is first URL encoded.
There are two types of URI characters
1. Reserved Characters
These are 18 characters which have a special meaning in the url, e.g. forward slash is used in a url that signifies dir separator, equal-to sign is used to assign value to a url parameter, where as , ampersand sign is used as a parameter separator.
List of Reserved Characters : ! * ' ) ( [ ] ; : = + $ # , / ? SPACE and NEWLINE
These above 18 characters get URI encoded into a 3-digit number with 1st digit as % sign , second and third place has a Hexadecimal number.
URI Reserved Characters Encoded List
Character | URL encoded Value |
! | %21 |
# | %23 |
$ | %24 |
& | %26 |
' | %27 |
( | %28 |
) | %29 |
* | %2A |
+ | %2B |
, | %2C |
/ | %2F |
/ | %3A |
; | %3B |
= | %3D |
? | %3F |
@ | %40 |
[ | %5B |
] | %5D |
space | %20 |
newline | %0A/%0D or %0D%0A |
2. Unreserved Characters
These characters have no special meaning in a URL hence no encoding is needed to be done to these kind of characters. Unreserved Characters set includes alphabets lowercase a-z and uppercase : A-Z and numbers : 0-9 and has just 4 special characters : - _ . ~
List of Reserved Characters (66 charterers):
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
1 2 3 4 5 6 7 8 9 0
- _ . ~