What is URL encoding?
URL encoding (percent-encoding) replaces characters that are unsafe in a URL — like spaces, &, ?, and non-ASCII characters — with a % followed by hex digits. A space becomes %20. This keeps query strings and links valid. Decoding reverses it.
Build valid links
When you put user text, search terms, or parameters into a URL, special characters can break the link or change its meaning. Encoding makes them safe. This tool uses the same standard your browser does, and runs entirely on your device.