Skip to content
Toolbox

URL Encoder and Decoder

Percent-encode or decode URLs and query parameters. Choose component or full-URI encoding and inspect query strings.

Component mode escapes : / ? & = too — use it for a single parameter value.

About URL Encoder

URLs may only contain a limited set of characters. Anything else — spaces, ampersands, accented letters, emoji — has to be percent-encoded before it can travel safely in a link. This tool encodes and decodes in both the component and full-URI modes, and breaks a pasted URL into its parts so you can see exactly what each parameter contains.

How to use it

  1. Paste a URL or a single parameter value.
  2. Choose Component mode for one value, or Full URI to preserve the structure.
  3. Encode or decode, then copy the result.

Frequently asked questions

What is the difference between the two modes?

Component mode escapes everything including : / ? & = and is right for a single parameter value. Full URI mode leaves those structural characters alone so a complete URL stays usable.

Why is a space sometimes %20 and sometimes +?

%20 is correct everywhere in a URL. The + form is only valid inside a query string encoded as application/x-www-form-urlencoded, which is how HTML forms submit.

Do I need to encode the whole URL?

No — encoding a whole URL in component mode breaks it. Encode only the individual values you are inserting into it.

In-depth reads that go beyond the calculator.