All tools/Encoding

URL Encoder & Decoder

Percent-encode or decode URLs and query strings. Runs entirely in your browser.

How this works & FAQ

Switch between Encode and Decode. In Encode mode, "Encode reserved characters too" uses encodeURIComponent (safe for a single query parameter value); unchecked uses encodeURI, which leaves URL structure characters like : / ? & = untouched.

What's percent-encoding?

It replaces unsafe or reserved characters in a URL with a % followed by their hex code, e.g. a space becomes %20.

Which mode should I use for a query parameter?

Use "Encode reserved characters too" — it's the correct choice for encoding a single value that will be placed inside a query string.