About the URL Encoder / Decoder
URLs can only contain a limited set of characters. Spaces, accented letters, emoji and symbols such as &, ? and # must be written as percent codes — a space becomes %20 and “é” becomes %C3%A9. This tool does that conversion for you, and turns encoded links back into readable text.
Use it to build query strings, debug redirect links, read tracking parameters or fix a link that shows %20 everywhere. When you decode a full URL, the tool also lists its parts and every query parameter. Everything happens in your browser, so private links are never sent anywhere.
How to use the URL Encoder / Decoder
- Choose Encode or Decode.
- Paste your text or URL into the Input box — the result appears instantly.
- Tick Keep URL structure when encoding a complete link, so characters like : / ? & stay as they are.
- Copy the result, or click Use result as input to move it into the Input box and switch direction.
Common percent-encoded characters
| Character | Encoded | Character | Encoded |
|---|---|---|---|
| space | %20 (or + in forms) | & | %26 |
| ! | %21 | + | %2B |
| # | %23 | / | %2F |
| $ | %24 | : | %3A |
| % | %25 | = | %3D |
| @ | %40 | ? | %3F |
| é | %C3%A9 | € | %E2%82%AC |
Worked example
Encoding the search value fish & chips gives fish%20%26%20chips, so the full link becomes https://example.com/search?q=fish%20%26%20chips. Without encoding, the & would start a new parameter and the search would only see “fish ”.
Frequently asked questions
What is URL encoding?
URL encoding, also called percent-encoding, replaces characters that are not allowed or have a special meaning in a URL with a % sign followed by two hex digits for each byte of the character in UTF-8. For example, a space becomes %20.
Should a space be %20 or +?
Both are common. %20 works everywhere in a URL. The + sign means a space only in query strings sent by HTML forms (application/x-www-form-urlencoded). Tick “Spaces as +” if the system you’re using expects form encoding.
What is the difference between encoding a value and a whole URL?
When you encode a single value, characters like / ? & = are encoded too, so they can’t break the link. When you encode a whole URL, those characters are kept because they give the URL its structure; only spaces and other unsafe characters are encoded.
Why do I get a “malformed” error when decoding?
A % sign must be followed by two hex digits that form valid UTF-8. Text like “100%” or a code cut in half can’t be decoded. Replace a lone % with %25 and try again.