URL Encoder / Decoder

Results

URLs can only contain certain characters. Spaces, accents, & and = must be percent-encoded (like %20) to survive in a link. This tool encodes and decodes them for you.

How to use it

  1. Choose encode or decode.
  2. Paste your text.
  3. Choose a single value for a query parameter or path part, or a whole URL to keep characters like / ? & : intact.

Example: encoding the value a b&c gives a%20b%26c.

Questions and answers

What's the difference between the two options?

A single value also encodes characters that have a meaning in URLs, such as / ? & = and #, so the value can’t break the link. A whole URL leaves them alone and only encodes spaces and other unsafe characters.

Why is a + turned into a space when decoding?

In query strings from HTML forms, + stands for a space. When decoding a single value, + is read as a space; encoded plus signs appear as %2B.

How are accents and emoji encoded?

As their UTF-8 bytes: é becomes %C3%A9.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textText to encode or decode
modeencode or decode
kindcomponent (a single value) or full (a whole URL)

Example: https://toolabelle.com/url-encoder/#text=a+b%26c&mode=encode&kind=component

Related tools