Kastavo

URL Encoder/Decoder

Pick encode or decode, choose the mode, paste the text, and see the result in real time.

Encodes everything, including / ? & = # — use for a single value (e.g. a query parameter).

Processed locally in your browser.

How it works

URL encoding replaces special characters (spaces, accents, symbols like &, =, ?) with %XX sequences so they can safely travel inside a URL. This tool offers JavaScript's two standard modes: "Component" (for a single value, like a query parameter) and "Full URI" (for an entire URL, which already contains slashes and other structural symbols). Using the wrong mode is a common mistake: encoding a whole URL in "Component" mode turns its slashes (/) into %2F, breaking the URL.

Frequently asked questions

Related tools