URL Encode "https://example.com/path?a=1&b=2"

Original

https://example.com/path?a=1&b=2

URL Encoded

https%3A%2F%2Fexample.com%2Fpath%3Fa%3D1%26b%3D2

"https://example.com/path?a=1&b=2" URL encoded is: https%3A%2F%2Fexample.com%2Fpath%3Fa%3D1%26b%3D2

Common URL-encoded characters

CharacterEncodedName
%20space
/%2Fslash
?%3Fquestion mark
=%3Dequals
&%26ampersand
@%40at sign
#%23hash
+%2Bplus
%%25percent

How URL encoding works

URL encoding (percent-encoding) replaces unsafe characters with % followed by two hex digits. "https://example.com/path?a=1&b=2" becomes "https%3A%2F%2Fexample.com%2Fpath%3Fa%3D1%26b%3D2" because special characters like spaces, @, and / must be encoded in URLs.

Try the URL encoder

Loading tool...