URL Encode / Decode
Encode text for safe use in a URL, or decode a percent-encoded URL string back to plain text.
About this calculator
Percent-encode text so it's safe to use inside a URL, or decode a percent-encoded URL string back to plain text.
URLs can only contain a limited set of characters safely — spaces, &, ?, #, and many others have special meaning or aren't allowed at all. URL encoding replaces each unsafe character with a "%" followed by its hex code (a space becomes %20, for example) so the text can be passed as a query parameter or path segment without breaking the URL.
How to use
- Choose Encode or Decode.
- Paste or type your text.
- Press Convert to see the result.
Tips
- Decoding an already-plain string is safe and simply returns it unchanged; decoding a malformed percent-encoded string will show an error instead of a wrong result.