URL Encoder / Decoder
Encode or decode text for safe use in URLs.
Input
Output
Why URL Encoding is Necessary
How Percent-Encoding Works
URL Encoding (or percent-encoding) takes unsafe characters and replaces them with a % followed by their two-digit hexadecimal equivalent. For example, a blank space becomes %20, and an exclamation mark becomes %21. This guarantees the web server receives the exact intended string without breaking the HTTP request.