Back to Tools
URL & Punycode Encoder/Decoder
Encode a URL to safely transmit special characters, decode a percent-encoded URL, and convert internationalized domain names (IDN) to/from punycode format.
URL Encoder/Decoder
Punycode Converter
When Sysadmins Use URL Encoding
URL encoding (percent-encoding) converts characters that are not allowed in URLs into %XX format where XX is the hexadecimal ASCII code. Spaces become %20, ampersands become %26, and non-ASCII characters are encoded as UTF-8 byte sequences. Common use: encoding query parameters with special characters, constructing API requests with dynamic values, and debugging redirect chains where unencoded characters cause parse errors.
CLI Equivalent
python3 -c "import urllib.parse; print(urllib.parse.quote('hello world'))"