What is URL Encoding?

URL encoding (percent-encoding) replaces characters that are unsafe or reserved in URLs with a percent sign followed by their hex code — for example a space becomes %20. It ensures URLs remain valid and unambiguous.

It is essential for query string values, which may contain spaces, ampersands, or non-ASCII characters that would otherwise break the URL.

Work with URL Encoding directly in your browser.

Open the URL Encoder/Decoder

More terms