URL Encoder and Decoder
Percent-encode text for a URL, or decode an encoded URL to text.
About URL encoding
A URL can hold only a small set of characters. A space, an ampersand, a question mark, and a letter with an accent each have a special meaning or are not allowed. Percent encoding writes each byte of such a character as a percent sign and two hex digits. A space becomes %20.
Use this tool to encode a value before you put it in a query string. Use it to decode a URL that you copy from a log or from a browser. The tool follows the rules of encodeURIComponent, so it also encodes the characters that separate a query, such as & and =.
Paste text, then select Encode or Decode. Select Swap to send the result back to the input. Every operation runs in your browser.
To see the parts of a full URL, such as the host, the path, and each query parameter, use the URL Inspector.