Skip to content

URL Encoder and Decoder

Percent-encode or decode URLs and inspect query string parameters.

urlenc.exe

Query parameters

KeyValue
qhello world
page2

How to use URL Encoder / Decoder

  1. 01Paste a URL or a piece of text into the input box.
  2. 02Switch between encode and decode, and between component and full-URL mode.
  3. 03Read the query parameter table underneath to see each key and value separately.

About URL Encoder / Decoder

URLs may only contain a limited set of characters, so anything else — spaces, accents, ampersands inside a value — has to be percent-encoded as a % followed by its hexadecimal byte value. A space becomes %20, and an ampersand inside a value becomes %26 so it is not mistaken for a parameter separator.

The distinction between component and full-URL encoding matters. Component encoding escapes the reserved characters such as / ? : & =, which is correct for a single parameter value. Full-URL encoding leaves them intact so the address itself keeps working.

Frequently asked questions

When should I use component encoding?
Whenever you are putting a value inside a query parameter, so characters like & and = do not break the URL structure.
Why does my decoded text show strange characters?
The input was probably encoded twice, or in a different character set. Decode again to check.
Is my URL sent anywhere?
No, encoding and decoding happen entirely in your browser.

Related tools and tools