How to Change URLs with percent signs back to their original language?

In this article we will learn to change URLs with percent signs back to their original language.

The URLs which contain percentage signs have some special meaning. When there is a need to encode the special characters these percentage signs are used. The percent signs replace the special characters and this process means
“percent-encoding”. Let’s take ‘&’ as a special character in the URL.

If we cannot put it directly in the URL then instead of ‘&’ we will put %26 in the place of this character. Now %26 is itself a special character so, we will also need to encode it to put this character in the URL. To encode this character, we have to put %25 in place of this because %25 is used to encode %26. The URL encoding is also another name for “percent- encoding”.

We can only use percent-encoding to encode the characters which are of 8 bit and has a special meaning in the
URL. Therefore, we understood that we use URL encoding for substitution. When the special character is replaced in place of that a hexadecimal ASCII value after the % is placed.

Now, in case we want to change URLs with percent signs back to their original language we can easily do this. How? Just read further lines given in the article:

how to change URL with percentage sign

  • For example, we have a URL that also consists of “space” now space is a special character and due to URL
    encoding the “space” is replaced by % followed by its hexadecimal character 20.
  • This percent-encoding happened because space is not allowed directly in the URL. whatever our URL will be in
    place of space we will see %20.
  • This percent sign (%20) can only be replaced when we will remove the space from our URL.
  • So, by removing space from the URL. we will able to change URLs with percent signs back to their original language.
  • We can do this for all URLs by just removing any of the special characters.