URL Encoder / Decoder
Safely escape characters in URLs and query strings, or decode percent-encoded text back to a readable form. Pick component mode for query parameters or full URL mode for href values.
runtime
Browser-local execution
Inputs stay inside the current tab unless you copy, download or explicitly export.
memory
Session handoff
Magic Paste can pass input to a target tool through sessionStorage, never through the URL.
control
User-owned state
Favorites, recent tools and workflow history are local browser data you can clear from the browser.
smart handoff graph
session handoff readySuggested next moves
01
How to use
- 01Paste your URL or string on the left.
- 02Choose Encode or Decode.
- 03Toggle Component to encode reserved characters such as / ? & =.
02
FAQ
- What is the difference between encodeURI and encodeURIComponent?
- encodeURI preserves URL syntax characters (such as / ? &) so it is safe for full URLs. encodeURIComponent escapes everything that is not a literal value, which is what you want for individual query parameters.
- Why are spaces sometimes shown as %20 and sometimes as +?
- Both are valid in different contexts. application/x-www-form-urlencoded uses +, while URL paths use %20. This tool defaults to %20.
03