URL encoding also known as Percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI).
Online URL encode and URL decode tool
Encode & Decoder
You can use our Best tool from above to both Online URL encode or decode a string of text. For global interoperability, URIs have to be encoded uniformly. simply To map the broad range of characters used globally into the 60 or so allowed characters in a URI, a main 2-step process is used:
1) First step To Convert the character string into a sequence of bytes by the UTF-8 encoding
2) Second step To Convert each byte that is no longer an ASCII letter or digit to %HH, where HH is the hexadecimal value of the byte.
Example, the string: Pakainfoçom Website,would be encoded as: Pakainfo%C3%A7om%20Website
What is the purpose of reserved characters?
Here is a best list of reserved characters, their purpose and encoding:
Character | Purpose in URL | Character encode |
---|---|---|
/ | Used to separate domains & directories | %2F |
# | Separates anchors | %23 |
+ | Indicates a space | %2B |
% | Indicates an encoded character | %25 |
@ | Separate user & pass details from domain | %40 |
: | Separate protocol from address | %3B |
<space> | Space, not recommended in URLs | + or %20 |
? | Separate query string | %3F |