URL Encoder and Decoder
Percent-encode text and URLs (%D8%A7), or decode them back to readable text. Encode one part of a URL or a complete URL.
Runs on your device.
Every special character, such as / ? & = #, is encoded. Use it for a query value or a path segment.
How to Use It
- Choose Encode or Decode.
- Choose whether the input is one part of a URL (such as a query value) or a full URL.
- Paste the text or the URL, then copy the output.
Questions and Answers
What is the difference between “URL part” and “Full URL”?
“URL part” encodes every special character, like encodeURIComponent in JavaScript. Use it for a query value, so a & or = inside it does not break the URL. “Full URL” keeps the structure of the address, like encodeURI, and does not encode valid % escapes a second time.
Why does a Persian link turn into % signs when I copy it?
A URL can hold only a limited set of ASCII characters, so the browser converts each Persian letter to UTF-8 bytes and writes them as %XX. Decode the link to read it again.
When do I need “+ as space”?
HTML forms send a space as + (application/x-www-form-urlencoded). Everywhere else, a space is %20 and + stays +.
Good to Know
A Persian domain name is not converted to Punycode (xn--): it stays as it is. Only UTF-8 is supported, so old URLs encoded as Windows-1256 do not decode.