URL encoder / decoder

Encode or decode your links and parameters in an instant.

Why encode a URL?

A web address can only contain a limited set of characters. Spaces, accented letters and certain symbols must be encoded to be transmitted correctly. Percent-encoding replaces each problematic character with a % followed by its code: a space becomes %20, é becomes %C3%A9.

Using the tool

  1. Choose Encode or Decode.
  2. Paste your text or URL, then click "Convert".
  3. Copy the result, or "Use the result" to chain another operation.

The most common characters

CharacterEncodedWhy
space%20Not allowed in a URL
&%26Separates parameters
=%3DSeparates a parameter's name and value
?%3FMarks the start of the parameters
#%23Marks an anchor in the page
/%2FSeparates folders in the path
é%C3%A9Outside the basic character set, encoded as UTF-8

Encode a value, not the whole address

The tool uses encodeURIComponent, the standard method for encoding a value to be placed in a URL, such as a search term. It therefore also encodes /, ? and &. If you pass a complete address, it will no longer work as a link: encode only the variable part.

Example: to build a search link for "fish & chips", encode only the value, which gives fish%20%26%20chips, then place it after ?q=.

Decoding to understand a link

Tracking, redirect and sharing links often contain another address encoded as a parameter. Decoding them shows where they really lead, a good habit before clicking a link received by email or message.

The "+" case

In classic web forms, a space is sometimes encoded as + instead of %20. If decoded text contains + signs where spaces should be, simply replace them.

Frequently asked questions

Does it also encode special characters?

Yes, it handles accents and symbols with encodeURIComponent, the browsers' standard method, in UTF-8.

Is my data sent anywhere?

No. Encoding and decoding are done in your browser.

Why does my URL stop working after encoding?

Because the address's "/", "?" and ":" were encoded too. Encode only the value of a parameter, not the whole URL.

What does a decoding error mean?

The string contains a "%" not followed by a valid code. Check that it was not truncated or encoded twice.

Related tools

Our other sites:NetCheck - network and DNS toolsVolt - internet speed testBoxo - disposable email address