Developer Playground
URL Encode/Decode
URL encoding means replacing certain characters in a URL with a percent sign (%) followed by two hexadecimal digits.
What is URL Encoding?
URL encoding, also known as Percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI). Since URLs can only be sent over the Internet using the ASCII character-set, any characters outside this set must be converted. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
Why is it necessary?
URLs often contain characters that have special meanings (like ?, &, =, or spaces). If you want to include these characters as data rather than structural parts of the URL, they must be encoded. For example, a space is encoded as %20.
How to use this tool
Paste your URL or text into the Input area. Click Encode to convert special characters into their percent-encoded equivalents. Click Decode to revert a percent-encoded string back into readable text. The result will be displayed in the Output area.