A to Z Free SEO Tools

Home› Content & text› URL Encoder / Decoder

URL Encoder / Decoder

Percent-encode or decode any string.

Output

Result appears here.

About the URL Encoder / Decoder

Percent-encodes and decodes URLs and query strings in your browser, with separate handling for full URLs and for individual parameter values.

The distinction matters more than it looks. Encoding a whole URL leaves the structural characters — the colon, the slashes, the question mark and ampersands — intact, because they have meaning. Encoding a single value escapes them, because inside a parameter an ampersand would otherwise end the value and start a new one.

Double encoding is the usual bug. A string that has been encoded twice shows %2520 where it should show %20, and decoding it once looks like it worked. If a link keeps breaking in a way that seems to fix itself halfway, this is why.

Common questions

What's the difference between encoding a whole URL and encoding a value?

Encoding a whole URL leaves structural characters like : / ? & intact because they carry meaning. Encoding a single parameter value escapes them, because inside a value an unescaped & would end that value early.

Why does my URL show %2520 instead of %20?

That's double encoding — the string was percent-encoded twice. Decoding it once will look correct but still leave one layer of encoding behind; decode it a second time to fully resolve it.

Is this safe to use on URLs containing sensitive data?

Encoding and decoding happen entirely in your browser, so nothing is transmitted to a server — but percent-encoding itself provides no privacy or security; it's a format transformation, not protection.