URL Encode "q=hello world&lang=en"
Original
q=hello world&lang=en
URL Encoded
q%3Dhello%20world%26lang%3Den
"q=hello world&lang=en" URL encoded is: q%3Dhello%20world%26lang%3Den
Common URL-encoded characters
| Character | Encoded | Name |
|---|---|---|
| %20 | space | |
| / | %2F | slash |
| ? | %3F | question mark |
| = | %3D | equals |
| & | %26 | ampersand |
| @ | %40 | at sign |
| # | %23 | hash |
| + | %2B | plus |
| % | %25 | percent |
How URL encoding works
URL encoding (percent-encoding) replaces unsafe characters with % followed by two hex digits. "q=hello world&lang=en" becomes "q%3Dhello%20world%26lang%3Den" because special characters like spaces, @, and / must be encoded in URLs.
Try the URL encoder
Loading tool...