URL Encoder / Decoder

Enter the text that you wish to encode or decode:




About URL Encoder / Decoder

If you want to encode or decode a line or paragraph of text, you can use this free online tool. In the first step, you can convert the specified data strings to string to bytes using UTF-8 encoding. And in the second step, convert all bytes to% HH except ASCII letters and numbers that are used in your date. With this free utility, you can encode or decode a string to conform to the Uniform Resource Locator (URL) specification (RFC 1738).


Why use a url encoding / decoding tool:

URL encoding and decoding can easily change the string to conform to the convention established by the uniform resource locator requirement. The RFC 1738 URL specification states that only a small set of characters can be used when constructing a URL.
Uppercase letters (A to Z), lowercase letters (a to z), numbers / numbers (0 to 9), and numerous "reserved" signs / symbols (period, close / open parenthesis, dollar sign, underscore, single quote, plus sign, asterisk, exclamation mark, (-) hyphen) can be included in this conversion system.

List of characters, their purpose with encoding:

Character

Target in URL

Character encoding

/

Used to separate domains and directories

% 2F

#

Separates anchors

% 23

+

Indicates a space

% 2B

%

Indicates an encoded character

% 25

@

Separate user and password data from domain

% 40

:

Separate protocol from address

% 3B

<space>

Space, deprecated in URLs

+ or% 20

?

Separate query line

% 3F

Url Encoding simple understanding:

The RFC 1738 URL Specification System makes it clear that only a small number of specific characters can be used in URL encoding. These symbols are listed here:

  • A to Z (ABCDEFGHIJKLMNOPQRSTUVWXYZ)
  • from a to z (abcdefghijklmnopqrstuvwxyz)
  • 0 to 9 (0123456789)
  • $ (Dollar sign)
  • - (Hyphen / Dash)
  • _ (Underline)
  • ... (Period)
  • + (Plus sign)
  • (Exclamation / explosion)
  • * (Asterisk / Star)
  • '(Single quote)
  • ((Open bracket)
  • ) (Closing parenthesis)

 URL encoding mechanism:

Any invalid characters are replaced with% and a two-digit hexadecimal value that represents the character in the correct ISO character set. Here are a couple of examples:

  • $ (Dollar Sign) changed to% 24
  • & (Ampersand) changed to% 26
  • + (Plus) changed to% 2B
  • , (Comma) replaced with% 2C
  • : (Colon) changed to% 3A
  • (Semicolon) changed to% 3B
  • = (Equal to) changed to% 3D
  • (Question mark) changed to% 3F
  • @ (Commercial A / At) changed to% 40

Other tools :