URL Encode & Decode
Percent-encode text for URLs or decode it back to plain text.
Result appears here.
Encode text so it's safe to put in a URL or query string (spaces become %20, and so on), or decode a percent-encoded URL back to readable text. Runs entirely in your browser.
How to use the URL Encoder / Decoder
- Paste your text or encoded URL.
- Click Encode or Decode.
- Copy the result.
Frequently asked questions
When do I need URL encoding?
Whenever a value in a URL contains spaces or special characters like &, ?, = or /. Encoding prevents them from breaking the URL structure.
What's the difference from Base64?
URL encoding keeps text mostly readable and only escapes unsafe characters; Base64 turns everything into an opaque ASCII blob. They solve different problems.