工具

URL 编码/解码

对 URL 与 URI 组件进行编码和解码

URL 编码

对整个 URL 编码,保留 :、/、?、# 等特殊字符

https://example.com/path with spaces

编码组件

除 A-Z a-z 0-9 - _ . ! ~ * ' ( ) 外,其余字符都会被编码

name=John Doe&email=test@example.com

示例

原始
https://example.com/search?q=hello world&lang=en
已编码
https://example.com/search?q=hello%20world&lang=en

如果您觉得这些工具有用,请考虑支持开发!

谢谢! ☕

请我喝杯咖啡