URL-Encode a Query String Value
Special characters in query strings must be percent-encoded.
Input
hello world & friends?
Output
hello%20world%20%26%20friends%3F
How it works
Spaces become %20, & becomes %26, ? becomes %3F. Decoders reverse the process.
Try it yourself
Open the full URL Encoder / Decoder to run this example on your own data.
Open URL Encoder / Decoder