URL encoder and decoder

Percent-encode or decode text for URLs, and see every part of an address, including each query parameter.

FreeNo sign-upRuns in your browser

URL parts

Query parameters

NameValue

Questions

What is URL encoding?

URLs may only contain a limited set of characters. Everything else, like spaces, Cyrillic letters or &, is written as % followed by hexadecimal bytes. A space becomes %20 and "ї" becomes %D1%97.

Component or full URL: which should I use?

Encode a component when you put one value into a URL, such as a search term or a redirect address in a query parameter: it also encodes / ? & and =. Encode a full URL when you have a whole address with spaces or non-Latin characters and want to keep its structure.

Why do I see + instead of %20?

HTML forms encode spaces as + in query strings. Both mean a space inside query parameters. Tick "Treat + as space" when decoding form data.

More developers tools