Enter URL To Encode

Enter URL To Decode

URL Encode and Decode Online Tool

Above free online tool helps to encode or decode the string. Basically, it is used for URL Encoding where characters outside the ASCII set is converted into a valid ASCII format. This URL Encoding process does two things at the time of encoding.

  • Replaces all unsafe ASCII characters with a “%” followed by two hexadecimal digits.
  • Replaces a space with a plus (+) sign or with %20.

For example given string: @codex world, would be encoded as: %40codex+world

What is URL Encoding?

URL Encoding also known as Percent-encoding, convert characters into a format that can be transmitted over the internet. URL Encoding basically used within the main Uniform Resource Identifier (URI) which include both Uniform Resource Locator (URL) and Uniform Resource Name (URN).

In URL Encoding, all non-alphanumeric character except -_. have been replaced with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) sign.

Why and when would you use URL Encoding?

When the URL contain a character from the Reserved Character, then the character must be encoded. It is necessary and you should always encode any special characters found in URL.

Reserved Characters and Encoded Values

The reserved characters and after encoding value is given below.

  • ! (Exclamation mark) becomes %21
  • # (Number sign) becomes %23
  • $ (Dollar sign) becomes %24
  • & (Ampersand) becomes %26
  • ' (Apostrophe) becomes %27
  • ( (Parentheses) becomes %28
  • ) (Parentheses) becomes %29
  • * (Asterisk) becomes %2A
  • + (Plus sign) becomes %2B
  • , (Comma) becomes %2C
  • / (Slash) becomes %2F
  • : (Colon) becomes %3A
  • ; (Semicolon) becomes %3B
  • = (Equals sign) becomes %3D
  • ? (Question mark) becomes %3F
  • @ (At sign) becomes %40
  • [ (Square brackets) becomes %5B
  • ] (Square brackets) becomes %5D