URL Encoder

Escape a value for a query string, or decode one you were handed. Choose component-level encoding for parameters or a lighter pass for a whole URI.

How it works

Component mode uses the equivalent of encodeURIComponent, escaping everything that isn't safe inside a single query value, including &, = and /. Full-URI mode is gentler, using encodeURI to leave the structural characters of a complete address (: / ? # & =) intact so the link still works, which is why plain URLs look almost unchanged. Tick Every character to percent-encode absolutely everything, including letters and digits, for when a value must pass through a strict parser untouched. Decoding turns any %XX sequences back into their original characters.