WebTools

URL encode and decode

Percent-encoding, for whole addresses or for a single parameter.

Encode and decode the percent-encoding of web addresses, which is what turns a space into “%20” and a “ç” into “%C3%A7”.

The difference between the two scopes matters. For a single value you must also escape “/”, “?”, “&” and “=”, because inside a parameter they are text; for a whole address they have to be left alone or you break it.

How to use it

  1. Choose the direction and the scope.
  2. Paste the address or the value.
  3. Copy the result.

Frequently asked questions

Which scope should I choose?
If what you are encoding is the contents of a parameter, “a single value”. If it is a whole address and you only want to fix its spaces and accents, “a whole address”.
Spaces as “+” or as “%20”?
“+” is the convention for GET form submissions, and many servers understand it. Outside the query string, “%20” is the only correct form.
It says it cannot decode.
That means there is a “%” not followed by two valid hex digits. It usually happens when the text was already decoded and contained a literal percent sign.

Related tools