URL Encoder & Decoder

Percent-encode text so it can travel safely inside a URL, and decode it back. Everything runs in your browser.

Component vs. full URL

Component mode (encodeURIComponent) encodes every reserved character, including / ? & = and # — use it for a single value like a query parameter. With it off (encodeURI), URL structure characters are kept, so you can encode a whole URL without breaking it. "Treat + as space" matches how HTML forms encode spaces.

Everything runs in your browser — nothing is uploaded and nothing is tracked. Your last input is remembered only in this browser.