Enter the text that you wish to encode or decode:
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).
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 |
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:
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: