Advertisement
URL Encode / Decode
Percent-encode or decode URLs and query parameters — component-safe and full-URI modes.
Loading URL Encode / Decode… If nothing happens, please enable JavaScript.
About URL Encode / Decode
Convert text to and from URL-encoded (percent-encoded) form. Pick component mode for query values, or full-URI mode to preserve reserved characters like ':' and '/'.
Frequently asked questions
What is the difference between the two modes?
Component mode (encodeURIComponent) escapes everything except A–Z, 0–9 and -_.~. Full-URI mode (encodeURI) preserves reserved URL characters like : / ? # & = so a complete URL stays valid.
Are my values sent anywhere?
No. Encoding/decoding happens locally in your browser.
Advertisement