Text and encoding

URL encoder

Paste an address or a parameter value. The tool encodes it or turns it back into readable text.

How to use it

  1. Choose encode or decode.
  2. Choose a parameter value or a whole address.
  3. Copy the result into the link.

In a link, a space, accented letters and the characters &, ? and = have a special meaning. If a parameter value contains & and is not encoded, the rest is read as a new parameter. For a single value, the whole text is encoded. For a full address, /, ? and & stay in place.

A % sign in text that is already encoded must not be encoded a second time, or %20 becomes %2520 and the space does not come back correctly. If you are not sure, decode first, then change the text and encode it again.

Questions

Why does a space become %20?

That is the standard way to write a space in a URL. %20 is the space byte in hexadecimal.

What is %C5%A1?

The UTF-8 form of the letter š. After decoding you see š again.

What should I choose for a search term?

Parameter value. Choose the whole address only when you are pasting a finished link with a path and a question mark.