Safely encode text for URLs and query strings — every reserved character is percent-encoded.
Percent-encode text for safe use in URLs and query strings. Free online URL encoder. Reserved and unsafe characters are percent-encoded: a space becomes.
| Input | Output |
|---|---|
| hello world & more | hello%20world%20%26%20more |
| café/münster | caf%C3%A9%2Fm%C3%BCnster |
%20 is correct in a path and valid in a query string. The + form is only valid for application/x-www-form-urlencoded form bodies.
You encoded the full URL rather than a single parameter value, so the separators were escaped too. Encode the value, then paste it into the URL.