URL Encoder

Online URL Encoder


                                                        

What is URL Encoder ?

URL specification RFC 1738 only allow small set of characters that can be used in a URL. Those characters are:

  • A - Z (ABCDEFGHIJKLMNOPQRSTUVWXYZ)
  • a - z (abcdefghijklmnopqrstuvwxyz)
  • 0 - 9 (0123456789)
  • $
  • -
  • _
  • .
  • +
  • !
  • *
  • '
  • (
  • )

In order to use other characters (other than above) in URL we need to encode them to a % and a two digit hexadecimal value. Our Online Url Encoder service allow you to encode URL on the fly.


How URL Encoder Works ?

URL Encoder works by replacing all restriced character to a % and two digit hexadecimal value. Following are some examples:

  • + (converted to) %2B
  • & (converted to) %26
  • $ (converted to) %24
  • @ (converted to) %40
  • : (converted to) %3A
  • , (converted to) %2C
  • ; (converted to) %3B
  • = (converted to) %3D
  • ? (converted to) %3F

What are the advantages of URL Encoding ?

  • Character that are not allowed in URL can be used after URL Encding

URL Encoding Example

Before :

https://pasteio.com/url-encoder

After :

https%3A%2F%2Fpasteio.com%2Furl-encoder