URL encoder & decoder
is a tool for percent encoding conversion used in URLs
This tool performs URL percent encoding, not Punycode. For Punycode, use the Punycode converter.
URL encode and decode text
Text:
example:
hello world & morePercent encoding:
example:
hello%20world%20%26%20moreHow to use the URL encoder?
- Enter text on the left side to URL encode it, or enter percent-encoded text on the right side to decode it
- The tool encodes all special characters, spaces, and non-ASCII characters into their
%XXhex representation - The encoding follows RFC 3986 percent-encoding rules, where unreserved characters (letters, digits,
-,.,_,~) are left as-is
What is percent-encoding?
Percent-encoding, also known as URL encoding, converts bytes into %XX hex triplets so that special characters can travel safely inside URLs. Spaces become %20, ampersands become %26, and non-ASCII characters are first encoded as UTF-8 bytes before each byte gets its own triplet. The rules are defined in RFC 3986, while internationalized URLs use the same mechanism through IRIs and Punycode handles the domain name side.