URL Encode / Decode
Encode text to URL-safe format (percent-encoding) or decode URL-encoded text. All processing is done in your browser for security.
Encode / Decode Text
Output
What is URL Encoding?
URL encoding (percent-encoding) converts text into a format that is safe to use in URLs. Unsafe characters are replaced with a percent sign (%) followed by two hexadecimal digits.
Why it's needed: URLs can only safely contain certain US-ASCII characters. Special characters, spaces, and non-English characters need encoding to ensure correct interpretation by browsers and servers.
Examples:
- Space → %20
- ^ → %5E
- < → %3C
- Ω (Greek letter) → %CE%A9
Safe characters: Letters (A–Z, a–z), digits (0–9), and: - _ . ~
Reserved characters: ! # $ & ' ( ) * + , / : ; = ? @ [ ]