About the URL Encode / Decode
Characters such as spaces, &, ? and non-ASCII letters must be percent-encoded in URLs. Use component mode for query string values and path segments, and full URL mode to keep the URL structure (://, /, ?) intact.
How to use
- Choose Encode or Decode and the mode (component or full URL).
- Paste your text; the result updates instantly.
Frequently asked questions
What is the difference between the two modes?
Component mode (encodeURIComponent) also encodes / ? & = and #, which is what you want for a single query value. Full URL mode (encodeURI) leaves those characters alone so the URL still works.