URL Encode & Decode
Encode and decode URL components and full URLs
Encode & Decode
URL Encoder & Decoder
Encode and decode URLs and query parameters. Everything runs in your browser.
Encoding Mode
Component mode: encodes all special characters including :, /, ?, # (encodeURIComponent)
Decoded Length
0 characters
Encoded Length
0 characters
How it works
URL encoding (also called percent-encoding) replaces unsafe or reserved characters in URLs with a % followed by their hexadecimal value. For example, a space becomes %20 and an ampersand becomes %26. This tool offers two modes: Component mode uses encodeURIComponent() which encodes all special characters (best for query parameters), and Full URL mode uses encodeURI() which preserves URL-safe characters like : / ? # @ (best for complete URLs). Everything runs entirely in your browser — no data is sent to any server.