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

Original

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

URL编码结果

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

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

常见URL编码字符

CharacterEncodedName
%20空格
/%2F斜杠
?%3F问号
=%3D等号
&%26与号
@%40@符号
#%23井号
+%2B加号
%%25百分号

URL编码工作原理

URL编码(百分号编码)将不安全字符替换为%加两位十六进制数。"https://example.com/path?a=1&b=2"变为"https%3A%2F%2Fexample.com%2Fpath%3Fa%3D1%26b%3D2"。

使用URL编码器

Loading tool...