Online URL Encoder / Decoder

Encode or decode URLs and query strings instantly, with component-level breakdown and a reference table of reserved characters.

Encoded URL

Input length

0

Output length

0

Difference

0

Mode

encode

Reserved character reference

␣

%20

!

%21

#

%23

$

%24

&

%26

'

%27

(

%28

)

%29

*

%2A

+

%2B

,

%2C

/

%2F

:

%3A

;

%3B

=

%3D

?

%3F

@

%40

[

%5B

]

%5D

Website Management Tools

About the URL Encoder / Decoder

This tool encodes text so it is safe to use in a web address, or decodes it back to normal. For instance, a space becomes %20 and & becomes %26. It also shows the parts of a URL, such as the host, path and query, along with a reference table of reserved characters.

Encoding matters because certain characters have a special meaning in an address. If you put an unencoded & inside a search value, the server will treat it as the start of a new parameter. Decoding is just as useful for reading long tracking links that are full of % codes.

By default, the tool encodes a full address and keeps its structure working. Tick the option for all reserved characters when you are encoding one value to go inside a URL. Encoding is not encryption, because anyone can decode the text.

How to use this tool

  1. 1Choose Encode or Decode.
  2. 2Paste your URL or text.
  3. 3Tick the reserved characters option if you are encoding a single value.
  4. 4Copy the result and check the breakdown of URL components.

Best-practice tips

  • Encode each value separately, not the whole address, when building links with parameters.
  • If you see %2520, the text has been encoded twice.
  • Decode a tracking link to see where it really leads before you click on it.

Answers

URL Encoder / Decoder FAQs

It replaces unsafe characters with a % sign and a code, so they can travel safely in a web address.

Related tools

Continue with these related website management tools.