URL Encoder / Decoder

How to use this URL encoder/decoder

  1. Paste text, a URL, or a query string into the input box.
  2. Choose "Encode" to percent-encode special characters, or "Decode" to reverse it.
  3. The result updates instantly on the right.

What is URL encoding?

URL (percent) encoding replaces unsafe or reserved characters — spaces, ampersands, question marks — with a "%" followed by their hex code, so they can be safely included in a URL's query string without breaking its structure.

Why does a space become %20 or +?

%20 is the standard percent-encoding for a space. The "+" convention comes from an older form-encoding standard (application/x-www-form-urlencoded) and is only valid in that specific context, not general URLs.

Should I encode an entire URL at once?

No — encode only individual parameter values, not the full URL, or you'll accidentally encode structural characters like "://" and "?" that need to stay as-is.