If This Website Was Helpful, Share It With Your Friends.
This Encode/Decode online tool used to either encode or decode a string of text. For worldwide interoperability, URIs (Uniform Resource Identifiers) have to be encoded uniformly. For example : https://www.exmaple.com/ will be encoded to : https%3A%2F%2Fwww.exmaple.com%2F and vice versa for decoding.
Paste or type your URL that you want to decode/encode in the first Text area, then click on "Decode" or "Encode" button to show the results in the second text area.
URL encoding also known as Percent-encoding, is normally performed to convert data passed via HTML forms, because such data may contain special character(s), such as "space", "/", ".", "#", etc.
URL encoding, stands for encoding certain characters in a URL by replacing them with one or more character triplets that consist of the percent character "%" followed by two hexadecimal digits. The two hexadecimal digits of the triplet(s) represent the numeric value of the replaced character.
URL encoding makes sure that the characters in the URL that are not allowed to be put into the URL directly can still be used. For example a "space" or " : " is not allowed, but replacing it with %20 or %3A encodes them (Note that most browsers will display a space in the browser bar.
The other purpose is to prevent from XSS attacks through script and html text. Some of characters are not allowed to use directly as url so once you encode those are allowed.
According to Google
Paste or type your URL that you want to decode/encode in the first Text area, then click on "Decode" or "Encode" button to show the results in the second text area.
Unsafe character | Encoded value |
---|---|
Space | %20 |
" | %22 |
< | %3C |
> | %3E |
# | %23 |
% | %25 |
| | %7C |