URL Encode and Decode

Percent-encode text for URLs, or decode it. Results appear as you type.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the url encode and decode

  1. Choose the direction with the buttons above the result.
  2. Type or paste your text in the top box.
  3. Copy the converted result.

What is URL encoding?

A web address may only contain a limited set of characters. Anything else, including spaces, accented letters and symbols with a special meaning such as &, ?, = and #, must be written as a percent sign followed by two hexadecimal digits. A space becomes %20, an ampersand %26, and é becomes %C3%A9. This is called percent-encoding or URL encoding.

Common codes

CharacterEncodedCharacterEncoded
space%20&%26
!%21/%2F
#%23:%3A
$%24=%3D
%%25?%3F
+%2B@%40

Encode everything, or just the unsafe parts?

With the option ticked, every special character is encoded. Use this for a single value you are putting into a URL, such as a search term or a redirect address, so that its & and = do not get confused with the URL's own. Untick it to encode a whole URL: the structure (:, /, ?, &) is kept and only spaces and unusual characters are converted.

When decoding, + is treated as a space, which is how web forms encode it.

Frequently asked questions

What is %20?

The URL-encoded form of a space.

Why does my link have %25 in it?

It was encoded twice: % itself encodes as %25. Decode it once here to repair it.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools