Mode
Scope
Input
Result
Results appear as you typeShortcut: Ctrl + Enter to run

How to use the URL Encode & Decode

  1. Choose "Encode" or "Decode".
  2. When encoding, choose the scope: "Parameter" for a query value, "Full URL" to keep / ? & = intact.
  3. Paste your content; the result appears instantly.

Examples

Encode a query parameter value

Input
cats & dogs
Output
cats%20%26%20dogs

Decode an encoded URL

Input
https://example.com/search?q=caf%C3%A9%20au%20lait
Output
https://example.com/search?q=café au lait

Parameter vs. full URL

Parameter (encodeURIComponent) encodes every reserved character, including / ? & = #, so it is right for a value after ?q=. Full URL (encodeURI) keeps those structural characters and only encodes things like spaces and non-ASCII text.

Encoding a whole URL in Parameter mode turns https:// into https%3A%2F%2F, which breaks the link.

Specs & key facts

StandardRFC 3986 percent-encoding, UTF-8 text
ScopesParameter (encodeURIComponent), Full URL (encodeURI)
Decoding+ treated as a space (form encoding)
Multi-lineEach line processed separately
ProcessingIn your browser (nothing is uploaded)
PriceFree, no sign-up

FAQ

Why do copied URLs turn into %E5... strings?

URLs only allow a limited set of ASCII characters, so other characters are converted to UTF-8 bytes written as %XX. The address bar shows them decoded, but copying gives the encoded form.

Should spaces be %20 or +?

Use %20 in URL paths; + is a convention for form-submitted query strings. This tool encodes spaces as %20 and decodes both.

Why does decoding fail?

The input contains an incomplete % sequence (for example %E5%B was cut off). Make sure you copied the whole URL.