URL Encoder / Decoder

Encode or decode URLs instantly. Converts special characters to percent-encoded format and back. All processing happens in your browser.

Mode
Encoded URL will appear here
About URL Encoding

URL encoding (percent-encoding) replaces unsafe ASCII characters with a % followed by two hexadecimal digits. For example, a space becomes %20.

Characters reserved for special URL meaning (: / ? # [ ] @ ! $ & ' ( ) * + , ; =) are also encoded to prevent interpretation as URL syntax.

This tool uses encodeURIComponent and decodeURIComponent under the hood, which encode a full URL component (query parameter values, path segments, etc.).