URL Encoder & Decoder

Encode or decode URLs and query string values with percent-encoding. Choose component or full-URL mode. Free and runs in your browser.

Mode

When to encode a URL

URLs can only contain a limited set of characters. Spaces, accented letters and symbols such as & or ? must be percent-encoded when they appear inside a query value, or they will break the link.

Use "Component" mode for a single value such as a search term or redirect parameter. Use "Full URL" mode to encode a whole address while keeping its structure characters such as :/?&= intact.

Frequently asked questions

Why does a space become %20 and not +?

%20 is the standard encoding. The + form is only used in HTML form submissions; the decoder accepts both if you tick "Treat + as space".

What does "URI malformed" mean?

The text contains a % that is not followed by two valid hexadecimal digits.

Is my input logged?

No. Encoding and decoding happen in your browser.

All tools