URL Encoder and Decoder

Encode text so it is safe to use in a URL, or decode percent-encoded links back to readable text. Choose between encoding a single query value, a full URL, or HTML form data where spaces become plus signs.

  • 100% free, no sign-up
  • Runs in your browser: text never uploaded
  • Instant results

How to use the URL Encoder & Decoder

  1. Paste the text or URL to convert.

  2. Choose a mode: URL Component for a single parameter value, Full URL for a complete address, or Form Data.

  3. Click Encode URL or Decode URL.

  4. Copy the result or download it.

Examples

Encode a query value (Component)
Input
rock & roll / 100%
Result
rock%20%26%20roll%20%2F%20100%25
Encode a full URL
Input
https://example.com/search?q=café menu
Result
https://example.com/search?q=caf%C3%A9%20menu

What is URL encoding?

URLs may only contain a limited set of characters. Everything else, including spaces, accented letters, emoji and characters with special meaning such as &, ?, = and #, must be percent-encoded: converted to UTF-8 bytes and written as % followed by two hexadecimal digits. A space becomes %20, "é" becomes %C3%A9, and "&" becomes %26.

Without encoding, a value containing & would be read as the start of a new parameter, and a space could break the link entirely.

Which mode should I use?

ModeUsesLeaves unencoded
URL ComponentOne query parameter value or path segmentLetters, digits and - _ . ! ~ * ' ( )
Full URLA complete address you want to make validAlso : / ? # [ ] @ & = + $ , ; so the URL structure survives
Form Dataapplication/x-www-form-urlencoded bodiesSame as Component, but spaces become +

The most common mistake is encoding a whole URL with Component mode, which also encodes :// and / and breaks the link. Use Component for the values you insert into a URL, and Full URL only to tidy an address that is already structured.

Common characters and their encodings

CharacterEncoded
space%20 (or + in forms)
&%26
=%3D
?%3F
/%2F
#%23
%%25
é%C3%A9

Frequently asked questions

Both can represent a space. %20 works everywhere in a URL; + means a space only in query strings and form data. Use Form Data mode when you need +.

Last reviewed by the WordTools Pro team. How our tools work