URL Encode/Decode

Percent-encode or decode URL/query strings.

Frequently asked questions

What is URL encoding?

URL (percent) encoding replaces characters that are unsafe in a URL — spaces, ampersands, slashes and non-ASCII — with a percent sign and hex code, so the URL stays valid.

When do I need to URL-encode?

When putting arbitrary text into a query string, a path segment or a form value, so special characters are not misinterpreted.